Searched +full:- +full:dcmake_prefix_path (Results 1 – 25 of 58) sorted by relevance
123
7 fail-fast: false9 os: [ windows-2019, macos-latest, ubuntu-20.04 ]12 - os: windows-201917 - os: ubuntu-20.0420 - os: macos-latest23 - cmake: 3.1525 - cmake: 3.x31 runs-on: ${{ matrix.os }}33 # System set-up34 - uses: actions/checkout@v2[all …]
1 version: 3.0.0-{build}13 # See: https://msdn.microsoft.com/en-us/library/bb513638%28VS.85%29.aspx14 - reg add "HKLM\SYSTEM\CurrentControlSet\Control\Windows" /f /v ErrorMode /d 218 # | - 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.aspx21 - reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /f /v DontShowUI /d 124 - set PREFIX_PATH=%APPVEYOR_BUILD_FOLDER%\asio-1.10.6;%APPVEYOR_BUILD_FOLDER%\catch26 - set INSTALL=%HOMEPATH%\install28 - set CTEST_PARAMS=--output-on-failure[all …]
32 set -xe35 readonly WORKSPACE=${WORKSPACE:-"$(mktemp -d -t webp.android.XXX)"}45 static-debug47 shared-debug49 armeabi-v7a50 arm64-v8a62 if [[ ! -d "${WORKSPACE}" ]]; then79 readonly BUILD_DIR="${WORKSPACE}/build-${BUILD_TYPE}"82 if [[ ! -x "${ANDROID_NDK_DIR}/ndk-build" ]]; then83 log_err "unable to find ndk-build in ANDROID_NDK_DIR: ${ANDROID_NDK_DIR}."[all …]
7 distribution on `our website <https://pytorch.org/get-started/locally/>`_. Below12 ---------------17 .. code-block:: sh19 wget https://download.pytorch.org/libtorch/nightly/cpu/libtorch-shared-with-deps-latest.zip20 unzip libtorch-shared-with-deps-latest.zip22 Note that the above link has CPU-only libtorch. If you would like to download a GPU-enabled34 .. code-block:: cmake37 project(example-app)42 add_executable(example-app example-app.cpp)43 target_link_libraries(example-app "${TORCH_LIBRARIES}")[all …]
4 # This source code is licensed under the BSD-style license found in the6 set -e7 set -o xtrace9 if [[ -z ${QNN_SDK_ROOT} ]]; then11 exit -121 echo "e.g.: executorch$ ./backends/qualcomm/scripts/build.sh --skip_x86_64"26 [ "$1" = -h ] && usage29 CMAKE_X86_64="build-x86"31 CMAKE_AARCH64="build-android"36 if [ -z PYTHON_EXECUTABLE ]; then[all …]
2 set -x3 set -e6 rm -rf test_build9 cmake -DCMAKE_PREFIX_PATH=$INSTALL_ROOT $SRC_ROOT/src/ATen/test/test_install
5 # This source code is licensed under the BSD-style license found in the8 set -exu11 BUILD_TYPE=${1:-Debug}12 TARGET_OS=${2:-Native}13 BUILD_DIR=${3:-cmake-out}17 if [[ -z "${PYTHON_EXECUTABLE:-}" ]]; then23 if [[ -z "${ANDROID_NDK}" ]]; then34 -DCMAKE_INSTALL_PREFIX=${BUILD_DIR} \35 -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \36 -DEXECUTORCH_ENABLE_LOGGING=ON \[all …]
5 # This source code is licensed under the BSD-style license found in the8 set -exu15 CMAKE_OUTPUT_DIR=cmake-out19 …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
3 set -e5 if [ -z "$PREFIX" ]; then9 # When conda-build constructs a new working copy to perform a build11 # source directory, including any pre-existing build products (e.g.,16 rm -rf build || true18 mkdir -p build20 cmake -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_PREFIX_PATH="$PREFIX" -DCMAKE_BUILD_TYPE=Release $CO…21 make install -j20
3 git submodule update --init --recursive third_party/pybind1113 cmake -DCMAKE_PREFIX_PATH=%TMP_DIR_WIN%\build\torch -DCMAKE_BUILD_TYPE=Release -GNinja ..18 ninja -v25 :: Run tests Python-side and export a script module.26 python test_custom_ops.py -v29 python model.py --export-script-module="build/model.pt"32 :: Run tests C++-side and load the exported script module.
3 git submodule update --init --recursive third_party/pybind1113 cmake -DCMAKE_PREFIX_PATH=%TMP_DIR_WIN%\build\torch -DCMAKE_BUILD_TYPE=Release -GNinja ..18 ninja -v25 :: Run tests Python-side and export a script module.26 python test_custom_backend.py -v29 python backend.py --export-module-to="build/model.pt"32 :: Run tests C++-side and load the exported script module.
2 # Copyright 2022-2023 The Khronos Group Inc.3 # Copyright 2022-2023 Valve Corporation4 # Copyright 2022-2023 LunarG, Inc.6 # SPDX-License-Identifier: Apache-2.012 --build-and-test ${CMAKE_CURRENT_LIST_DIR}/integration14 --build-generator ${CMAKE_GENERATOR}15 --build-options -DFIND_PACKAGE_TESTING=OFF -DVULKAN_HEADERS_ENABLE_MODULE=OFF20 …COMMAND ${CMAKE_COMMAND} --install ${VULKAN_HEADERS_BINARY_DIR} --prefix ${test_install_dir} --con…26 --build-and-test ${CMAKE_CURRENT_LIST_DIR}/integration28 --build-generator ${CMAKE_GENERATOR}[all …]
5 # This source code is licensed under the BSD-style license found in the8 # Test the end-to-end flow of building devtools/example_runner and use it to run12 set -e19 rm -rf cmake-out21 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 …]
5 # This source code is licensed under the BSD-style license found in the10 set -euo pipefail12 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-out43 cmake -DCMAKE_INSTALL_PREFIX=cmake-out \44 -DCMAKE_BUILD_TYPE=Release \[all …]
5 # This source code is licensed under the BSD-style license found in the10 set -euo pipefail12 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-out24 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 …]
5 # This source code is licensed under the BSD-style license found in the8 set -euo pipefail12 git submodule update --init15 rm -rf cmake-out21 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 …]
3 set -ex11 # shellcheck source=./common-build.sh12 source "$(dirname "${BASH_SOURCE[0]}")/common-build.sh"14 if [[ "$BUILD_ENVIRONMENT" == *-mobile-*build* ]]; then15 exec "$(dirname "${BASH_SOURCE[0]}")/build-mobile.sh" "$@"19 python --version22 gcc --version25 cmake --version32 export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.234 nvcc --version[all …]
5 set -e8 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" ]]; then39 rm -rf "$OUTPUT"[all …]
5 # This source code is licensed under the BSD-style license found in the8 # Test the end-to-end flow of mps runner.10 set -e16 rm -rf cmake-out18 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 …]
1 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" --bundled24 python3 -m examples.apple.mps.scripts.mps_example --help31 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 …]
5 # This source code is licensed under the BSD-style license found in the8 # Test the end-to-end flow of qualcomm runner.10 set -e16 rm -rf cmake-out18 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 …]
28 $ cmake path-to-example-directory31 which requires at least version 3.3 of %Eigen. Here, `path-to-example-directory`37 $ cmake path-to-example-directory -DCMAKE_PREFIX_PATH=$HOME/mypackages41 $ cmake path-to-example-directory -DEigen3_DIR=$HOME/mypackages/share/eigen3/cmake/
3 # Exit immediately if a command exits with a non-zero status.4 set -e11 BUCK_PATH=${BUCK2:-buck2}12 if [ -z "$BUCK2" ]; then17 if [ -z "$ANDROID_NDK" ]; then23 if [ -z "$NEURON_BUFFER_ALLOCATOR_LIB" ]; then30 local build_dir="cmake-android-out"34 rm -rf "${build_dir}"38 cmake -DCMAKE_INSTALL_PREFIX="${build_dir}" \39 -DBUCK2="$BUCK_PATH" \[all …]