From eb2c89ab875cc90c7ed9e62b1d5e786cb42493a1 Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Wed, 28 Sep 2011 17:21:08 +0000 Subject: OSX: change omp default True gor gcc-4.6.1 only atm --- build_files/scons/config/darwin-config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_files/scons') 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 -- cgit v1.2.3