@@ -19,25 +19,21 @@ export TMP_DIR=$(mktemp -d)
19
19
export PATH=" ${TMP_DIR} :$PATH "
20
20
trap ' rm -rfv ${TMP_DIR}' EXIT
21
21
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 " $@ "
29
28
29
+ if [[ " $BUILD_TOOL " == " cmake" ]]; then
30
30
# Install llama3_2_vision dependencies.
31
31
PYTHON_EXECUTABLE=python \
32
32
${CONDA_RUN} --no-capture-output \
33
33
./examples/models/llama3_2_vision/install_requirements.sh
34
34
35
35
.ci/scripts/unittest-macos-cmake.sh
36
36
elif [[ " $BUILD_TOOL " == " buck2" ]]; then
37
- (
38
- source .ci/scripts/utils.sh
39
- install_pytorch_and_domains
40
- )
41
37
.ci/scripts/unittest-buck2.sh
42
38
# .ci/scripts/unittest-macos-buck2.sh
43
39
else
0 commit comments