Skip to content

Commit

Permalink
use build frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
pca006132 committed Aug 24, 2023
1 parent 98fd929 commit 493e2cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ requires = [
build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
build-frontend = "build"
test-requires = ["trimesh"]
test-command = "python {project}/bindings/python/examples/run_all.py"
# Setuptools bug causes collision between pypy and cpython artifacts
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
packages=["manifold3d"],
package_dir={"": "bindings/python"},
cmake_install_dir="bindings/python/manifold3d",
include_package_data=False,
zip_safe=True,
cmake_args=["-DMANIFOLD_PAR=TBB", "-DMANIFOLD_TEST=OFF"],
)
1 change: 1 addition & 0 deletions src/utilities/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ if(MANIFOLD_PAR STREQUAL "TBB")
GIT_PROGRESS TRUE
)
FetchContent_MakeAvailable(TBB)
set_property(DIRECTORY ${TBB_SOURCE_DIR} PROPERTY EXCLUDE_FROM_ALL YES)
endif()
target_compile_options(${PROJECT_NAME} INTERFACE -DMANIFOLD_PAR='T')
if(TARGET TBB::tbb)
Expand Down

0 comments on commit 493e2cd

Please sign in to comment.