File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,11 @@ if [[ "$(uname)" == "Darwin" ]]; then
2525 eval " $( conda shell.bash hook) "
2626 ${CONDA_RUN} --no-capture-output pip install awscli==1.37.21
2727 CONDA_PREFIX=" ${CONDA_RUN} --no-capture-output"
28- SETUP_SCRIPT=.ci/scripts/setup-macos.sh
2928else
3029 IS_MACOS=0
3130 CONDA_PREFIX=" "
32- SETUP_SCRIPT=.ci/scripts/setup-linux.sh
3331fi
3432
35- CMAKE_ARGS=" $EXTRA_BUILD_ARGS " ${CONDA_PREFIX} $SETUP_SCRIPT --build-tool cmake --build-mode Release --editable true
36-
3733export PYTHON_EXECUTABLE=python
3834
3935# CMake options to use, in addition to the defaults.
@@ -59,6 +55,13 @@ if [[ "$FLOW" == *vulkan* ]]; then
5955 EXTRA_BUILD_ARGS+=" -DEXECUTORCH_BUILD_VULKAN=ON"
6056fi
6157
58+ if [[ $IS_MACOS -eq 1 ]]; then
59+ SETUP_SCRIPT=.ci/scripts/setup-macos.sh
60+ else
61+ SETUP_SCRIPT=.ci/scripts/setup-linux.sh
62+ fi
63+ CMAKE_ARGS=" $EXTRA_BUILD_ARGS " ${CONDA_PREFIX} $SETUP_SCRIPT --build-tool cmake --build-mode Release --editable true
64+
6265if [[ " $FLOW " == * arm* ]]; then
6366 # Setup ARM deps.
6467 .ci/scripts/setup-arm-baremetal-tools.sh
You can’t perform that action at this time.
0 commit comments