Skip to content

Commit

Permalink
Install qhull from source in macOS
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Heitzmann Gabrielli <[email protected]>
  • Loading branch information
heitzmann committed Dec 29, 2023
1 parent c189796 commit 3b04750
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pypi-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@ jobs:
env:
CIBW_SKIP: "cp36-* cp37-* pp* *_ppc64le *_s390x"
CIBW_ARCHS_MACOS: "x86_64 universal2"
CIBW_BEFORE_ALL_LINUX: >
yum install -y wget || apk add qhull-dev;
CIBW_BEFORE_ALL: >
brew install wget || yum install -y wget || apk add qhull-dev;
wget https://github.com/qhull/qhull/archive/refs/tags/v8.0.2.tar.gz &&
tar -xf v8.0.2.tar.gz &&
cd qhull-8.0.2 &&
cmake -S . -B build &&
cmake -DCMAKE_OSX_ARCHITECTURES='x86_64;arm64' -S . -B build &&
cmake --build build --target install
CIBW_BEFORE_ALL_MACOS: brew install qhull
- uses: actions/upload-artifact@v3
with:
path: ./wheelhouse/gdstk*.whl
Expand Down

0 comments on commit 3b04750

Please sign in to comment.