Skip to content

Commit 00029c1

Browse files
committed
only do for compilation needed
1 parent 70be107 commit 00029c1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/jit.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,17 @@ jobs:
9797
# also see: rosetta https://github.com/numpy/numpy/pull/29756/files
9898
if: runner.os == 'macOS'
9999
run: |
100-
arch -x86_64 brew update
101-
arch -x86_64 find /usr/local/bin -lname "*/Library/Frameworks/Python.framework/*" -delete
102-
arch -x86_64 brew install llvm@${{ matrix.llvm }}
100+
brew update
101+
find /usr/local/bin -lname "*/Library/Frameworks/Python.framework/*" -delete
102+
brew install llvm@${{ matrix.llvm }}
103103
export SDKROOT="$(xcrun --show-sdk-path)"
104104
# Set MACOSX_DEPLOYMENT_TARGET and -Werror=unguarded-availability to
105105
# make sure we don't break downstream distributors (like uv):
106106
export CFLAGS_JIT='-Werror=unguarded-availability'
107107
export MACOSX_DEPLOYMENT_TARGET=10.15
108-
arch -x86_64 ./configure --enable-experimental-jit --enable-universalsdk --with-universal-archs=universal2 ${{ matrix.debug && '--with-pydebug' || '' }}
108+
./configure --enable-experimental-jit --enable-universalsdk --with-universal-archs=universal2 ${{ matrix.debug && '--with-pydebug' || '' }}
109109
arch -x86_64 make all --jobs 4
110-
arch -x86_64 ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
110+
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
111111
112112
# - name: Linux
113113
# if: runner.os == 'Linux'

0 commit comments

Comments
 (0)