Skip to content

Commit

Permalink
disable windows tbb build first
Browse files Browse the repository at this point in the history
  • Loading branch information
pca006132 committed Aug 12, 2023
1 parent c93d944 commit 995105f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def build_extension(self, ext: CMakeExtension) -> None:
f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir}{os.sep}",
f"-DPYTHON_EXECUTABLE={sys.executable}",
f"-DCMAKE_BUILD_TYPE={cfg}", # not used on MSVC, but no harm
"-DMANIFOLD_PAR=TBB",
"-DBUILD_SHARED_LIBS=ON"
]
build_args = []
Expand All @@ -67,6 +66,7 @@ def build_extension(self, ext: CMakeExtension) -> None:
f"-DEXAMPLE_VERSION_INFO={self.distribution.get_version()}"]

if self.compiler.compiler_type != "msvc":
cmake_args += [ "-DMANIFOLD_PAR=TBB" ]
# Using Ninja-build since it a) is available as a wheel and b)
# multithreads automatically. MSVC would require all variables be
# exported for Ninja to pick it up, which is a little tricky to do.
Expand Down

0 comments on commit 995105f

Please sign in to comment.