SCons: cudakernels now depends on some configuration tests

This commit is contained in:
Sergey Sharybin
2015-03-30 13:11:08 +05:00
parent 23c0e46a00
commit 59740a6c98

View File

@@ -871,8 +871,7 @@ B.init_lib_dict()
##### END SETUP ##########
if B.targets != ['cudakernels']:
# Put all auto configuration run-time tests here
## Auto-configuration run-time tests
from FindSharedPtr import FindSharedPtr
from FindUnorderedMap import FindUnorderedMap
@@ -880,8 +879,11 @@ if B.targets != ['cudakernels']:
conf = Configure(env)
old_linkflags = conf.env['LINKFLAGS']
conf.env.Append(LINKFLAGS=env['PLATFORM_LINKFLAGS'])
# Put all tests here
FindSharedPtr(conf)
FindUnorderedMap(conf)
conf.env['LINKFLAGS'] = old_linkflags
env = conf.Finish()