Skip to content

Commit

Permalink
mac config
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastroy committed Oct 9, 2024
1 parent b15d6ab commit c7587c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,11 @@ write_to = "fast_pauli/__version__.py"

[tool.cibuildwheel]
# build = ["cp310-manylinux_x86_64", "cp311-manylinux_x86_64", "cp312-manylinux_x86_64", "cp313-manylinux_x86_64"]
build-frontend = "build"
# build-frontend = "build"
test-requires = "pytest"
test-command = "pytest -s -vv --import-mode importlib {project}/tests/fast_pauli"

[tool.cibuildwheel.macos]
environment = "CXX=g++-14"
before-build = "brew install llvm"
build-frontend = { name = "pip", args = ["-C cmake.args=\"-DCMAKE_CXX_COMPILER=$(brew --prefix llvm)/bin/clang++;-DCMAKE_CXX_FLAGS='-stdlib=libc++ -fexperimental-library'\""] }
# -C cmake.args="-DCMAKE_CXX_COMPILER=$(brew --prefix llvm)/bin/clang++;-DCMAKE_CXX_FLAGS='-stdlib=libc++ -fexperimental-library'"

0 comments on commit c7587c9

Please sign in to comment.