Skip to content

Commit

Permalink
pthreadpool add shared library option
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Oct 4, 2024
1 parent 8c287c8 commit 4a0c229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/pthreadpool/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ def cmake_args(self):
# https://github.com/pytorch/pytorch/blob/main/cmake/Dependencies.cmake
self.define("PTHREADPOOL_BUILD_TESTS", False),
self.define("PTHREADPOOL_BUILD_BENCHMARKS", False),
self.define("PTHREADPOOL_LIBRARY_TYPE", "static"),
self.define("PTHREADPOOL_LIBRARY_TYPE", "shared"),
self.define("PTHREADPOOL_ALLOW_DEPRECATED_API", True),
]

0 comments on commit 4a0c229

Please sign in to comment.