Home
last modified time | relevance | path

Searched +full:- +full:dcmake_prefix_path (Results 1 – 25 of 58) sorted by relevance

123

/external/tinyxml2/.github/workflows/
Dtest.yml7 fail-fast: false
9 os: [ windows-2019, macos-latest, ubuntu-20.04 ]
12 - os: windows-2019
17 - os: ubuntu-20.04
20 - os: macos-latest
23 - cmake: 3.15
25 - cmake: 3.x
31 runs-on: ${{ matrix.os }}
33 # System set-up
34 - uses: actions/checkout@v2
[all …]
/external/parameter-framework/upstream/
Dappveyor.yml1 version: 3.0.0-{build}
13 # See: https://msdn.microsoft.com/en-us/library/bb513638%28VS.85%29.aspx
14 - reg add "HKLM\SYSTEM\CurrentControlSet\Control\Windows" /f /v ErrorMode /d 2
18 # | - Check online for a solution and close the program |
19 # | - Close the program |
20 # See: https://msdn.microsoft.com/en-us/library/bb513638%28VS.85%29.aspx
21 - reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /f /v DontShowUI /d 1
24 - set PREFIX_PATH=%APPVEYOR_BUILD_FOLDER%\asio-1.10.6;%APPVEYOR_BUILD_FOLDER%\catch
26 - set INSTALL=%HOMEPATH%\install
28 - set CTEST_PARAMS=--output-on-failure
[all …]
/external/webp/infra/
Dcompile_android.sh32 set -xe
35 readonly WORKSPACE=${WORKSPACE:-"$(mktemp -d -t webp.android.XXX)"}
45 static-debug
47 shared-debug
49 armeabi-v7a
50 arm64-v8a
62 if [[ ! -d "${WORKSPACE}" ]]; then
79 readonly BUILD_DIR="${WORKSPACE}/build-${BUILD_TYPE}"
82 if [[ ! -x "${ANDROID_NDK_DIR}/ndk-build" ]]; then
83 log_err "unable to find ndk-build in ANDROID_NDK_DIR: ${ANDROID_NDK_DIR}."
[all …]
/external/pytorch/docs/cpp/source/
Dinstalling.rst7 distribution on `our website <https://pytorch.org/get-started/locally/>`_. Below
12 ---------------
17 .. code-block:: sh
19 wget https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip
20 unzip libtorch-shared-with-deps-latest.zip
22 Note that the above link has CPU-only libtorch. If you would like to download a GPU-enabled
34 .. code-block:: cmake
37 project(example-app)
42 add_executable(example-app example-app.cpp)
43 target_link_libraries(example-app "${TORCH_LIBRARIES}")
[all …]
/external/executorch/backends/qualcomm/scripts/
Dbuild.sh4 # This source code is licensed under the BSD-style license found in the
6 set -e
7 set -o xtrace
9 if [[ -z ${QNN_SDK_ROOT} ]]; then
11 exit -1
21 echo "e.g.: executorch$ ./backends/qualcomm/scripts/build.sh --skip_x86_64"
26 [ "$1" = -h ] && usage
29 CMAKE_X86_64="build-x86"
31 CMAKE_AARCH64="build-android"
36 if [ -z PYTHON_EXECUTABLE ]; then
[all …]
/external/pytorch/aten/tools/
Dtest_install.sh2 set -x
3 set -e
6 rm -rf test_build
9 cmake -DCMAKE_PREFIX_PATH=$INSTALL_ROOT $SRC_ROOT/src/ATen/test/test_install
/external/executorch/.ci/scripts/
Dtest_llava.sh5 # This source code is licensed under the BSD-style license found in the
8 set -exu
11 BUILD_TYPE=${1:-Debug}
12 TARGET_OS=${2:-Native}
13 BUILD_DIR=${3:-cmake-out}
17 if [[ -z "${PYTHON_EXECUTABLE:-}" ]]; then
23 if [[ -z "${ANDROID_NDK}" ]]; then
34 -DCMAKE_INSTALL_PREFIX=${BUILD_DIR} \
35 -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
36 -DEXECUTORCH_ENABLE_LOGGING=ON \
[all …]
Dtest_quantized_aot_lib.sh5 # This source code is licensed under the BSD-style license found in the
8 set -exu
15 CMAKE_OUTPUT_DIR=cmake-out
19 …SITE_PACKAGES="$(${PYTHON_EXECUTABLE} -c 'from distutils.sysconfig import get_python_lib; print(ge…
21 (rm -rf ${CMAKE_OUTPUT_DIR} \
24 && retry cmake -DCMAKE_BUILD_TYPE=Release \
25 -DCMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH" \
26 -DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON \
27 -DPYTHON_EXECUTABLE="$PYTHON_EXECUTABLE" ..)
29 cmake --build ${CMAKE_OUTPUT_DIR} -j4
/external/pytorch/aten/conda/
Dbuild.sh3 set -e
5 if [ -z "$PREFIX" ]; then
9 # When conda-build constructs a new working copy to perform a build
11 # source directory, including any pre-existing build products (e.g.,
16 rm -rf build || true
18 mkdir -p build
20 cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_PREFIX_PATH="$PREFIX" -DCMAKE_BUILD_TYPE=Release $CO…
21 make install -j20
/external/pytorch/.ci/pytorch/win-test-helpers/
Dtest_custom_script_ops.bat3 git submodule update --init --recursive third_party/pybind11
13 cmake -DCMAKE_PREFIX_PATH=%TMP_DIR_WIN%\build\torch -DCMAKE_BUILD_TYPE=Release -GNinja ..
18 ninja -v
25 :: Run tests Python-side and export a script module.
26 python test_custom_ops.py -v
29 python model.py --export-script-module="build/model.pt"
32 :: Run tests C++-side and load the exported script module.
Dtest_custom_backend.bat3 git submodule update --init --recursive third_party/pybind11
13 cmake -DCMAKE_PREFIX_PATH=%TMP_DIR_WIN%\build\torch -DCMAKE_BUILD_TYPE=Release -GNinja ..
18 ninja -v
25 :: Run tests Python-side and export a script module.
26 python test_custom_backend.py -v
29 python backend.py --export-module-to="build/model.pt"
32 :: Run tests C++-side and load the exported script module.
/external/vulkan-headers/tests/
DCMakeLists.txt2 # Copyright 2022-2023 The Khronos Group Inc.
3 # Copyright 2022-2023 Valve Corporation
4 # Copyright 2022-2023 LunarG, Inc.
6 # SPDX-License-Identifier: Apache-2.0
12 --build-and-test ${CMAKE_CURRENT_LIST_DIR}/integration
14 --build-generator ${CMAKE_GENERATOR}
15 --build-options -DFIND_PACKAGE_TESTING=OFF -DVULKAN_HEADERS_ENABLE_MODULE=OFF
20 …COMMAND ${CMAKE_COMMAND} --install ${VULKAN_HEADERS_BINARY_DIR} --prefix ${test_install_dir} --con…
26 --build-and-test ${CMAKE_CURRENT_LIST_DIR}/integration
28 --build-generator ${CMAKE_GENERATOR}
[all …]
/external/angle/third_party/vulkan-headers/src/tests/
DCMakeLists.txt2 # Copyright 2022-2023 The Khronos Group Inc.
3 # Copyright 2022-2023 Valve Corporation
4 # Copyright 2022-2023 LunarG, Inc.
6 # SPDX-License-Identifier: Apache-2.0
12 --build-and-test ${CMAKE_CURRENT_LIST_DIR}/integration
14 --build-generator ${CMAKE_GENERATOR}
15 --build-options -DFIND_PACKAGE_TESTING=OFF -DVULKAN_HEADERS_ENABLE_MODULE=OFF
20 …COMMAND ${CMAKE_COMMAND} --install ${VULKAN_HEADERS_BINARY_DIR} --prefix ${test_install_dir} --con…
26 --build-and-test ${CMAKE_CURRENT_LIST_DIR}/integration
28 --build-generator ${CMAKE_GENERATOR}
[all …]
/external/executorch/examples/devtools/
Dtest_example_runner.sh5 # This source code is licensed under the BSD-style license found in the
8 # Test the end-to-end flow of building devtools/example_runner and use it to run
12 set -e
19 rm -rf cmake-out
21 retry cmake -DCMAKE_INSTALL_PREFIX=cmake-out \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DEXECUTORCH_BUILD_DEVTOOLS=ON \
24 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
25 -DPYTHON_EXECUTABLE="$PYTHON_EXECUTABLE" \
26 -Bcmake-out .
[all …]
Dbuild_example_runner.sh5 # This source code is licensed under the BSD-style license found in the
10 set -euo pipefail
12 SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
18 export CMAKE_BUILD_PARALLEL_LEVEL="${CMAKE_BUILD_PARALLEL_LEVEL:-9}"
25 …echo " --coreml Include this flag to enable Core ML backend when building the Develop…
31 -h|--help) usage ;;
32 --coreml) BUILD_COREML=ON ;;
40 rm -rf cmake-out
43 cmake -DCMAKE_INSTALL_PREFIX=cmake-out \
44 -DCMAKE_BUILD_TYPE=Release \
[all …]
/external/executorch/backends/cadence/
Dbuild_cadence_runner.sh5 # This source code is licensed under the BSD-style license found in the
10 set -euo pipefail
12 SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
18 export CMAKE_BUILD_PARALLEL_LEVEL="${CMAKE_BUILD_PARALLEL_LEVEL:-9}"
23 rm -rf cmake-out
24 cmake -DCMAKE_INSTALL_PREFIX=cmake-out \
25 -DCMAKE_BUILD_TYPE=Release \
26 -DEXECUTORCH_BUILD_DEVTOOLS=ON \
27 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
28 -DEXECUTORCH_ENABLE_LOGGING=ON \
[all …]
Dbuild_cadence_xtensa.sh5 # This source code is licensed under the BSD-style license found in the
8 set -euo pipefail
12 git submodule update --init
15 rm -rf cmake-out
21 cmake -DCMAKE_INSTALL_PREFIX=cmake-out \
22 -DCMAKE_TOOLCHAIN_FILE=./backends/cadence/cadence.cmake \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DEXECUTORCH_ENABLE_EVENT_TRACER=OFF \
25 -DEXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL=ON \
26 -DEXECUTORCH_BUILD_EXECUTOR_RUNNER=OFF \
[all …]
/external/executorch/backends/cadence/runtime/
Dexecutor_main.sh5 # This source code is licensed under the BSD-style license found in the
8 # Test the end-to-end flow of building devtools/example_runner and use it to run
12 set -e
19 rm -rf cmake-out
21 retry cmake -DCMAKE_INSTALL_PREFIX=cmake-out \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DEXECUTORCH_BUILD_DEVTOOLS=ON \
24 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
25 -DPYTHON_EXECUTABLE="$PYTHON_EXECUTABLE" \
26 -Bcmake-out .
[all …]
/external/pytorch/.ci/pytorch/
Dbuild.sh3 set -ex
11 # shellcheck source=./common-build.sh
12 source "$(dirname "${BASH_SOURCE[0]}")/common-build.sh"
14 if [[ "$BUILD_ENVIRONMENT" == *-mobile-*build* ]]; then
15 exec "$(dirname "${BASH_SOURCE[0]}")/build-mobile.sh" "$@"
19 python --version
22 gcc --version
25 cmake --version
32 export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
34 nvcc --version
[all …]
/external/executorch/examples/apple/mps/scripts/
Dbuild_mps_executor_runner.sh5 set -e
8 OUTPUT="cmake-out"
16 echo " --output=DIR Output directory. Default: 'cmake-out'"
17 echo " --Debug Use Debug build mode. Default: 'Release'"
19 echo " $0 --output=cmake-out --Debug"
25 -h|--help) usage ;;
26 --output=*) OUTPUT="${arg#*=}" ;;
27 --Debug) MODE="Debug" ;;
29 if [[ -z "$SOURCE_ROOT_DIR" ]]; then
39 rm -rf "$OUTPUT"
[all …]
/external/executorch/examples/apple/mps/
Dtest_mps.sh5 # This source code is licensed under the BSD-style license found in the
8 # Test the end-to-end flow of mps runner.
10 set -e
16 rm -rf cmake-out
18 retry cmake -DBUCK2="$BUCK" \
19 -DCMAKE_INSTALL_PREFIX=cmake-out \
20 -DCMAKE_BUILD_TYPE=Release \
21 -DEXECUTORCH_BUILD_DEVTOOLS=ON \
22 -DEXECUTORCH_BUILD_MPS=ON \
23 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
[all …]
DREADME.md1 This README gives some examples on backend-specific model workflow.
11 - [Setting up ExecuTorch](https://pytorch.org/executorch/stable/getting-started-setup).
12 - [Setting up MPS backend](../../../backends/apple/mps/setup.md).
20 python3 -m examples.apple.mps.scripts.mps_example --model_name="mv2" --bundled
24 python3 -m examples.apple.mps.scripts.mps_example --help
31 cmake -DCMAKE_INSTALL_PREFIX=cmake-out \
32 -DCMAKE_BUILD_TYPE=Release \
33 -DEXECUTORCH_BUILD_DEVTOOLS=ON \
34 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
35 -DEXECUTORCH_BUILD_MPS=ON \
[all …]
/external/executorch/examples/qualcomm/
Dtest_qualcomm.sh5 # This source code is licensed under the BSD-style license found in the
8 # Test the end-to-end flow of qualcomm runner.
10 set -e
16 rm -rf cmake-out
18 retry cmake -DBUCK2="$BUCK" \
19 -DCMAKE_INSTALL_PREFIX=cmake-out \
20 -DCMAKE_BUILD_TYPE=Release \
21 -DEXECUTORCH_BUILD_QNN=ON \
22 -DPYTHON_EXECUTABLE="$PYTHON_EXECUTABLE" \
23 -Bcmake-out .
[all …]
/external/eigen/doc/
DTopicCMakeGuide.dox28 $ cmake path-to-example-directory
31 which requires at least version 3.3 of %Eigen. Here, `path-to-example-directory`
37 $ cmake path-to-example-directory -DCMAKE_PREFIX_PATH=$HOME/mypackages
41 $ cmake path-to-example-directory -DEigen3_DIR=$HOME/mypackages/share/eigen3/cmake/
/external/executorch/examples/mediatek/
Dmtk_build_examples.sh3 # Exit immediately if a command exits with a non-zero status.
4 set -e
11 BUCK_PATH=${BUCK2:-buck2}
12 if [ -z "$BUCK2" ]; then
17 if [ -z "$ANDROID_NDK" ]; then
23 if [ -z "$NEURON_BUFFER_ALLOCATOR_LIB" ]; then
30 local build_dir="cmake-android-out"
34 rm -rf "${build_dir}"
38 cmake -DCMAKE_INSTALL_PREFIX="${build_dir}" \
39 -DBUCK2="$BUCK_PATH" \
[all …]

123