mirror of https://gitlab.com/ita1024/waf.git
cuda.py: insert a space after -o as by documentation otherwise it will not work
not sure if in very old nvcc version this was working anyway but as far as I can read on the documentation this should be the correct way and I tested it out
This commit is contained in:
parent
23beecebf3
commit
102b85a466
|
@ -11,7 +11,7 @@ from waflib.Tools import ccroot, c_preproc
|
|||
from waflib.Configure import conf
|
||||
|
||||
class cuda(Task.Task):
|
||||
run_str = '${NVCC} ${CUDAFLAGS} ${CXXFLAGS} ${FRAMEWORKPATH_ST:FRAMEWORKPATH} ${CPPPATH_ST:INCPATHS} ${DEFINES_ST:DEFINES} ${CXX_SRC_F}${SRC} ${CXX_TGT_F}${TGT}'
|
||||
run_str = '${NVCC} ${CUDAFLAGS} ${CXXFLAGS} ${FRAMEWORKPATH_ST:FRAMEWORKPATH} ${CPPPATH_ST:INCPATHS} ${DEFINES_ST:DEFINES} ${CXX_SRC_F}${SRC} ${CXX_TGT_F} ${TGT}'
|
||||
color = 'GREEN'
|
||||
ext_in = ['.h']
|
||||
vars = ['CCDEPS']
|
||||
|
|
Loading…
Reference in New Issue