提交 b39b15d6 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Don't duplicate args.

上级 daab99c6
...@@ -265,8 +265,9 @@ class NVCC_compiler(Compiler): ...@@ -265,8 +265,9 @@ class NVCC_compiler(Compiler):
if pa.startswith(pattern): if pa.startswith(pattern):
preargs1.append(pa) preargs1.append(pa)
else: break
preargs2.append(pa) else:
preargs2.append(pa)
# Don't put -G by default, as it slow things down. # Don't put -G by default, as it slow things down.
# We aren't sure if -g slow things down, so we don't put it by default. # We aren't sure if -g slow things down, so we don't put it by default.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论