allow configure to work with clang and openmp disabled

This commit is contained in:
Dane Springmeyer 2013-05-14 11:42:38 -07:00
parent 42b68fa834
commit ccb7cc40df

View File

@ -150,7 +150,8 @@ if GetOption('buildconfiguration') != 'debug' and sys.platform != 'darwin' and G
env.Append(CCFLAGS = ['-march=native'])
if not conf.CheckHeader('omp.h'):
print "Compiler does not support OpenMP. Exiting"
if "clang" not in env["CXX"]:
print "OpenMP not found, Exiting"
Exit(-1)
if not conf.CheckLibWithHeader('bz2', 'bzlib.h', 'CXX'):
print "bz2 library not found. Exiting"