Skip to content

Commit 625033f

Browse files
committed
Fix build installation on mac to make platform-specific wheel rather than universal one
1 parent d4b837e commit 625033f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,8 @@ jobs:
283283
- name: Install package
284284
if: matrix.os == 'macos-latest'
285285
run: |
286-
python -m pip install -v .
286+
# Everything --platform etc. necessary to make sure to make a non-universal wheel (universal binary wheel doesn't work, because the GSL isn't universal)
287+
python -m pip install -v . --platform=`uname -m` --no-deps --target=`python -m site --user-site`
287288
- name: Special config
288289
env:
289290
TEST_FILES: ${{ matrix.TEST_FILES }}

0 commit comments

Comments
 (0)