Skip to content

Commit e28a853

Browse files
committed
fixup! Use new GitHub native aarch64 macOS runners
Set -arch instead of -target, and unconditionally set LZ4_INSTALL_DIR
1 parent 002b5e7 commit e28a853

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build_wheels.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,13 @@ jobs:
115115
run: |
116116
tar zxvf dist/*.tar.gz --strip-components=1
117117
- name: Sets env vars for compilation
118+
run: |
119+
echo "LZ4_INSTALL_DIR=/tmp/lz4_install/usr/local/" >> $GITHUB_ENV
120+
echo "CFLAGS=-arch ${{matrix.arch}}" >> $GITHUB_ENV
121+
- name: Set arm64-specific environment variables
118122
if: matrix.arch == 'arm64'
119123
run: |
120-
echo "CFLAGS=-target aarch64-apple-darwin" >> $GITHUB_ENV
121124
echo "MEMRAY_LIBBACKTRACE_TARGET=aarch64-apple-darwin" >> $GITHUB_ENV
122-
echo "LZ4_INSTALL_DIR=/tmp/lz4_install/usr/local/" >> $GITHUB_ENV
123125
- name: Build wheels
124126
uses: pypa/cibuildwheel@v2.16.5
125127
env:

0 commit comments

Comments
 (0)