Commit 267743f5 authored by Matthieu Tristram's avatar Matthieu Tristram
Browse files

Correct for icc option

parent f3a3ba3f
......@@ -11,17 +11,24 @@ try:
except AttributeError:
numpy_include = numpy.get_numpy_include()
print( sys.argv)
if '--disable-openmp' in sys.argv:
sys.argv.pop(sys.argv.index('--disable-openmp'))
USE_OPENMP = False
else:
USE_OPENMP = True
if '--icc' in sys.argv:
sys.argv.pop(sys.argv.index('--icc'))
USE_ICC = True
else:
USE_ICC = False
libs = ['m']
use_icc = True if '--icc' in sys.argv else False
extra = ['-std=gnu99']
if use_icc:
if USE_ICC:
if USE_OPENMP:
libs += ['gomp', 'iomp5']
extra += ['-openmp']
......
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