提交 9d456b30 authored 作者: Matt Graham's avatar Matt Graham

Making order of libs consistent with include_dirs and lib_dirs.

上级 b4ff2ff2
...@@ -214,7 +214,7 @@ class NVCC_compiler(Compiler): ...@@ -214,7 +214,7 @@ class NVCC_compiler(Compiler):
if os.path.abspath(os.path.split(__file__)[0]) not in include_dirs: if os.path.abspath(os.path.split(__file__)[0]) not in include_dirs:
include_dirs.append(os.path.abspath(os.path.split(__file__)[0])) include_dirs.append(os.path.abspath(os.path.split(__file__)[0]))
libs = std_libs() + libs libs = libs + std_libs()
if 'cudart' not in libs: if 'cudart' not in libs:
libs.append('cudart') libs.append('cudart')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论