Commit 3411625e authored by Sebastian Rettenberger's avatar Sebastian Rettenberger

Merge branch 'master' into coalesced

parents 222121c4 801ce972
......@@ -43,6 +43,8 @@ print 'under certain conditions.'
print 'Details can be found in the file \'gpl.txt\'.'
print ''
import os
#
# set possible variables
#
......@@ -178,8 +180,10 @@ if env['parallelization'] in ['cuda', 'mpi_with_cuda']:
# set the directories for the CudaTool
if 'cudaToolkitDir' in env:
env['CUDA_TOOLKIT_PATH'] = env['cudaToolkitDir']
env.Append(RPATH=[os.path.join(env['cudaToolkitDir'], 'lib64')])
if 'cudaSDKDir' in env:
env['CUDA_SDK_PATH'] = env['cudaSDKDir']
env.Append(RPATH=[os.path.join(env['cudaSDKDir'], 'lib64')])
env.Tool('CudaTool', toolpath = ['.'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment