We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1337557 + aac5bf5 commit a181fd6Copy full SHA for a181fd6
1 file changed
cuda_core/build_hooks.py
@@ -168,15 +168,17 @@ def get_sources(mod_name):
168
extra_link_args = []
169
extra_cythonize_kwargs = {}
170
if sys.platform == "win32":
171
+ extra_compile_args += ["/std:c++17"]
172
if debug:
173
raise RuntimeError("Debuggable builds are not supported on Windows.")
174
else:
175
+ extra_compile_args += ["-std=c++17"]
176
177
extra_cythonize_kwargs["gdb_debug"] = True
178
extra_compile_args += ["-g", "-O0"]
179
extra_compile_args += ["-D _GLIBCXX_ASSERTIONS"]
180
- extra_compile_args += ["-O3"]
181
+ extra_compile_args += ["-O2"]
182
extra_link_args += ["-Wl,--strip-all"]
183
if COMPILE_FOR_COVERAGE:
184
# CYTHON_TRACE_NOGIL indicates to trace nogil functions. It is not
0 commit comments