Commit f78575ea authored by yan.yan's avatar yan.yan
Browse files

Merge branch 'master' of https://github.com/traveller59/spconv

parents bab09b63 85d77474
# Changelog # Changelog
## [2.1.22] - 2022-6-11
### Fixed
- Fix thrust problem by adding -fvisibility=hidden
## [2.1.22] - 2022-4-14 ## [2.1.22] - 2022-4-14
### Added ### Added
......
...@@ -34,7 +34,7 @@ class CustomThrustLib(pccm.Class): ...@@ -34,7 +34,7 @@ class CustomThrustLib(pccm.Class):
self.add_dependency(ThrustLib) self.add_dependency(ThrustLib)
# https://github.com/NVIDIA/thrust/issues/1401#issuecomment-806403746 # https://github.com/NVIDIA/thrust/issues/1401#issuecomment-806403746
if compat.InLinux: if compat.InLinux:
self.build_meta.add_public_cflags("nvcc", "-Xcompiler", "-fno-gnu-unique") self.build_meta.add_public_cflags("nvcc", "-Xcompiler", "-fno-gnu-unique", "-Xcompiler", "-fvisibility=hidden")
class ThrustCustomAllocatorV2(pccm.Class, pccm.pybind.PybindClassMixin): class ThrustCustomAllocatorV2(pccm.Class, pccm.pybind.PybindClassMixin):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment