Skip to content

Commit ae74733

Browse files
authored
Merge branch 'main' into rparolin/cuda.core.hashable
2 parents 786cf01 + 3dcdd6d commit ae74733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_bindings/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def initialize_options(self):
390390
self.parallel = nthreads
391391

392392
def build_extension(self, ext):
393-
if building_wheel and sys.platform == "linux":
393+
if building_wheel and sys.platform == "linux" and "--debug" not in sys.argv:
394394
# Strip binaries to remove debug symbols
395395
ext.extra_link_args.append("-Wl,--strip-all")
396396
super().build_extension(ext)

0 commit comments

Comments
 (0)