diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2011-09-28 21:21:08 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2011-09-28 21:21:08 +0400 |
commit | eb2c89ab875cc90c7ed9e62b1d5e786cb42493a1 (patch) | |
tree | 68433c69f286be5adf7d4e291b25adfd35371e11 /build_files/scons | |
parent | 416885aad44b0b0e3577f8f8f28c75ee5f669263 (diff) |
OSX: change omp default True gor gcc-4.6.1 only atm
Diffstat (limited to 'build_files/scons')
-rw-r--r-- | build_files/scons/config/darwin-config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/scons/config/darwin-config.py b/build_files/scons/config/darwin-config.py index 29d2b39323e..5d0c046ed05 100644 --- a/build_files/scons/config/darwin-config.py +++ b/build_files/scons/config/darwin-config.py @@ -91,7 +91,7 @@ LIBDIR = '${LCGDIR}' ############################################################################# #Defaults openMP to true if compiler handles it -if CC == 'gcc-4.2' or CC == 'llvm-gcc-4.2': +if CC.endswith('4.6.1'): WITH_BF_OPENMP = True # multithreading for fluids, cloth and smoke else: WITH_BF_OPENMP = False |