Skip to content

Commit

Permalink
Fixes for cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
davidt0x committed Jun 10, 2024
1 parent f37a0d4 commit 51c3fd9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,15 @@ skip = ["*-win32", "pp*"]
[tool.cibuildwheel.linux]
before-all = [
"yum -y install mpich",
"export MPICC=$(which mpicc)"
]

[tool.cibuildwheel.macos]
before-all = [
"brew install libomp mpi4py",
"export MPICC=$(which mpicc)"
"brew install libomp mpi4py llvm",
"export MPICC=$(which mpicc)",
"export CC=$(brew --prefix llvm)/bin/clang",
"export CXX=$(brew --prefix llvm)/bin/clang++"
]
environment = {CC='/usr/bin/clang', CXX='/usr/bin/clang++' }

Expand Down

0 comments on commit 51c3fd9

Please sign in to comment.