File tree Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Expand file tree Collapse file tree 4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ if [[ "$BUILD_TOOL" == "cmake" ]]; then
21
21
source .ci/scripts/setup-vulkan-linux-deps.sh
22
22
23
23
PYTHON_EXECUTABLE=python \
24
- EXECUTORCH_BUILD_PYBIND=ON \
25
- CMAKE_ARGS=" -DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \
24
+ CMAKE_ARGS=" -DEXECUTORCH_BUILD_PYBIND=ON -DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \
26
25
.ci/scripts/setup-linux.sh " $@ "
27
26
28
27
# Install llama3_2_vision dependencies.
Original file line number Diff line number Diff line change @@ -21,8 +21,7 @@ trap 'rm -rfv ${TMP_DIR}' EXIT
21
21
22
22
# Setup MacOS dependencies as there is no Docker support on MacOS atm
23
23
PYTHON_EXECUTABLE=python \
24
- EXECUTORCH_BUILD_PYBIND=ON \
25
- CMAKE_ARGS=" -DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON -DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \
24
+ CMAKE_ARGS=" -DEXECUTORCH_BUILD_PYBIND=ON -DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON -DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \
26
25
${CONDA_RUN} --no-capture-output \
27
26
.ci/scripts/setup-macos.sh " $@ "
28
27
Original file line number Diff line number Diff line change @@ -365,8 +365,7 @@ jobs:
365
365
# build module for executorch.extension.pybindings.portable_lib
366
366
BUILD_TOOL="cmake"
367
367
PYTHON_EXECUTABLE=python \
368
- EXECUTORCH_BUILD_XNNPACK=ON \
369
- EXECUTORCH_BUILD_PYBIND=ON \
368
+ CMAKE_ARGS="-DEXECUTORCH_BUILD_PYBIND=ON -DEXECUTORCH_BUILD_XNNPACK=ON" \
370
369
bash .ci/scripts/setup-linux.sh --build-tool "${BUILD_TOOL}"
371
370
372
371
# see if we can import the module successfully
@@ -504,8 +503,7 @@ jobs:
504
503
505
504
# Setup MacOS dependencies as there is no Docker support on MacOS atm
506
505
PYTHON_EXECUTABLE=python \
507
- EXECUTORCH_BUILD_PYBIND=ON \
508
- EXECUTORCH_BUILD_ARM_BAREMETAL=ON \
506
+ CMAKE_ARGS="-DEXECUTORCH_BUILD_PYBIND=ON -DEXECUTORCH_BUILD_ARM_BAREMETAL=ON" \
509
507
.ci/scripts/setup-linux.sh --build-tool "${BUILD_TOOL}"
510
508
511
509
# Install Arm dependencies
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ jobs:
261
261
262
262
# build module for executorch.extension.pybindings.portable_lib
263
263
BUILD_TOOL=${{ matrix.build-tool }}
264
- EXECUTORCH_BUILD_PYBIND=ON PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh --build-tool "${BUILD_TOOL}"
264
+ CMAKE_ARGS="-DEXECUTORCH_BUILD_PYBIND=ON" PYTHON_EXECUTABLE=python ${CONDA_RUN} bash .ci/scripts/setup-macos.sh --build-tool "${BUILD_TOOL}"
265
265
266
266
# see if we can import the module successfully
267
267
${CONDA_RUN} python -c "from executorch.extension.pybindings import portable_lib; print('success!')"
You can’t perform that action at this time.
0 commit comments