Skip to content

Commit 88b413a

Browse files
committed
chore: omit generating symbols that will be stripped
1 parent 0bfe303 commit 88b413a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎cuda_bindings/build_hooks.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def _build_cuda_bindings(debug=False):
185185
extra_compile_args += ["-g", "-O0"]
186186
extra_compile_args += ["-D _GLIBCXX_ASSERTIONS"]
187187
else:
188-
extra_compile_args += ["-O3"]
188+
extra_compile_args += ["-g0", "-O3"]
189189
extra_link_args += ["-Wl,--strip-all"]
190190
if compile_for_coverage:
191191
# CYTHON_TRACE_NOGIL indicates to trace nogil functions. It is not

‎cuda_core/build_hooks.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def module_names():
258258
extra_compile_args += ["-g", "-O0"]
259259
extra_compile_args += ["-D _GLIBCXX_ASSERTIONS"]
260260
else:
261-
extra_compile_args += ["-O2"]
261+
extra_compile_args += ["-g0", "-O2"]
262262
extra_link_args += ["-Wl,--strip-all"]
263263
if COMPILE_FOR_COVERAGE:
264264
# CYTHON_TRACE_NOGIL indicates to trace nogil functions. It is not

0 commit comments

Comments
 (0)