Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2011-12-08 23:16:43 +0400
committerThomas Dinges <blender@dingto.org>2011-12-08 23:16:43 +0400
commit7c630aac80d6326bd5dd569bce343e386123fdac (patch)
treefb8531f617974066376f602ca7f8b244256635ce /SConstruct
parent7797c1dc424b1f772f23a3b8730a8374012d8c8b (diff)
Scons/CUDA
* Added missing bitness info to the nvcc_flags. This makes sure that the nvcc compiler builds the correct cubins.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 6 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index fd99933e976..0bd7dc70446 100644
--- a/SConstruct
+++ b/SConstruct
@@ -119,6 +119,12 @@ tempbitness = int(B.arguments.get('BF_BITNESS', bitness)) # default to bitness f
if tempbitness in (32, 64): # only set if 32 or 64 has been given
bitness = int(tempbitness)
+if bitness:
+ B.bitness = bitness
+else:
+ B.bitness = tempbitness
+
+
# first check cmdline for toolset and we create env to work on
quickie = B.arguments.get('BF_QUICK', None)
quickdebug = B.arguments.get('BF_QUICKDEBUG', None)