Skip to content

Commit 70be107

Browse files
committed
all things rosetta?
1 parent eda51b3 commit 70be107

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/jit.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +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 /bin/bash -c '
101-
brew update
102-
find /usr/local/bin -lname "*/Library/Frameworks/Python.framework/*" -delete
103-
brew install llvm@${{ matrix.llvm }}
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 }}
104103
export SDKROOT="$(xcrun --show-sdk-path)"
105104
# Set MACOSX_DEPLOYMENT_TARGET and -Werror=unguarded-availability to
106105
# make sure we don't break downstream distributors (like uv):
107106
export CFLAGS_JIT='-Werror=unguarded-availability'
108107
export MACOSX_DEPLOYMENT_TARGET=10.15
109-
./configure --enable-experimental-jit --enable-universalsdk --with-universal-archs=universal2 ${{ matrix.debug && '--with-pydebug' || '' }}
110-
make all --jobs 4
111-
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
112-
'
108+
arch -x86_64 ./configure --enable-experimental-jit --enable-universalsdk --with-universal-archs=universal2 ${{ matrix.debug && '--with-pydebug' || '' }}
109+
arch -x86_64 make all --jobs 4
110+
arch -x86_64 ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3
113111
114112
# - name: Linux
115113
# if: runner.os == 'Linux'

0 commit comments

Comments
 (0)