@@ -19,25 +19,21 @@ export TMP_DIR=$(mktemp -d)
1919export PATH=" ${TMP_DIR} :$PATH "
2020trap ' rm -rfv ${TMP_DIR}' EXIT
2121
22- if [[ " $BUILD_TOOL " == " cmake" ]]; then
23- # Setup MacOS dependencies as there is no Docker support on MacOS atm
24- PYTHON_EXECUTABLE=python \
25- EXECUTORCH_BUILD_PYBIND=ON \
26- CMAKE_ARGS=" -DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON -DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON" \
27- ${CONDA_RUN} --no-capture-output \
28- .ci/scripts/setup-macos.sh " $@ "
22+ # Setup MacOS dependencies as there is no Docker support on MacOS atm
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" \
26+ ${CONDA_RUN} --no-capture-output \
27+ .ci/scripts/setup-macos.sh " $@ "
2928
29+ if [[ " $BUILD_TOOL " == " cmake" ]]; then
3030 # Install llama3_2_vision dependencies.
3131 PYTHON_EXECUTABLE=python \
3232 ${CONDA_RUN} --no-capture-output \
3333 ./examples/models/llama3_2_vision/install_requirements.sh
3434
3535 .ci/scripts/unittest-macos-cmake.sh
3636elif [[ " $BUILD_TOOL " == " buck2" ]]; then
37- (
38- source .ci/scripts/utils.sh
39- install_pytorch_and_domains
40- )
4137 .ci/scripts/unittest-buck2.sh
4238 # .ci/scripts/unittest-macos-buck2.sh
4339else
0 commit comments