Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
6fa2469b
Commit
6fa2469b
authored
Aug 30, 2023
by
Andrey Talman
Committed by
Huy Do
Aug 30, 2023
Browse files
Try to turn off DEBUG mode when building for release (#7914)
parent
ab6f1ede
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
setup.py
setup.py
+3
-0
No files found.
setup.py
View file @
6fa2469b
...
...
@@ -223,6 +223,9 @@ def get_extensions():
extra_compile_args
[
"nvcc"
]
=
[
f
for
f
in
nvcc_flags
if
not
(
"-O"
in
f
or
"-g"
in
f
)]
extra_compile_args
[
"nvcc"
].
append
(
"-O0"
)
extra_compile_args
[
"nvcc"
].
append
(
"-g"
)
else
:
print
(
"Compiling with debug mode OFF"
)
extra_compile_args
[
"cxx"
].
append
(
"-g0"
)
sources
=
[
os
.
path
.
join
(
extensions_dir
,
s
)
for
s
in
sources
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment