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 691199f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pypi-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ jobs:
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 -DBUILD_APPLICATIONS=OFF -S . -B build &&
cmake --build build --target install
CIBW_BEFORE_ALL_MACOS: >
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 -DCMAKE_OSX_ARCHITECTURES='x86_64;arm64' -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -DBUILD_APPLICATIONS=OFF -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 691199f

Please sign in to comment.