We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85d57c2 commit 3dcdd6dCopy full SHA for 3dcdd6d
cuda_bindings/setup.py
@@ -390,7 +390,7 @@ def initialize_options(self):
390
self.parallel = nthreads
391
392
def build_extension(self, ext):
393
- if building_wheel and sys.platform == "linux":
+ if building_wheel and sys.platform == "linux" and "--debug" not in sys.argv:
394
# Strip binaries to remove debug symbols
395
ext.extra_link_args.append("-Wl,--strip-all")
396
super().build_extension(ext)
0 commit comments