best cflags arg
mpopt = 'openmp' if v and v < '15' else 'qopenmp'
self.cc_exe = ('icc -fPIC -fp-model strict -O3 '
- '-fomit-frame-pointer -{}').format(mpopt)
-+ + environ.get('CFLAGS', '').strip() + '-fomit-frame-pointer -{}').format(mpopt)
++ '-fomit-frame-pointer -{} {}').format(mpopt, environ.get('CFLAGS', '').strip())
compiler = self.cc_exe
if platform.system() == 'Darwin':
mpopt = 'openmp' if v and v < '15' else 'qopenmp'
self.cc_exe = ('icc -m64 -fPIC -fp-model strict -O3 '
- '-fomit-frame-pointer -{}').format(mpopt)
-+ '-fomit-frame-pointer -{}').format(mpopt) {} {}'.format(environ.get('ARCH_FLAGS', '-xSSE4.2 -axCORE-AVX2,CORE-AVX512'), environ.get('CFLAGS', '').strip()))
++ '-fomit-frame-pointer -{} {} {}').format(mpopt, environ.get('ARCH_FLAGS', '-xSSE4.2 -axCORE-AVX2,CORE-AVX512'), environ.get('CFLAGS', '').strip())
compiler = self.cc_exe
if platform.system() == 'Darwin':
