mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Fix wrong compile flag on Windows for pip (packages will now be compiled for AVX2)
This commit is contained in:
parent
9cd533fbac
commit
fb6a34f7c9
2
setup.py
2
setup.py
@ -49,7 +49,7 @@ if 'NETGEN_ARCH' in os.environ and os.environ['NETGEN_ARCH'] == 'avx2':
|
||||
if 'darwin' in sys.platform:
|
||||
flag = "'-Xarch_x86_64;-march=core-avx2'"
|
||||
elif 'win' in sys.platform:
|
||||
flag = '/AVX2'
|
||||
flag = '/arch:AVX2'
|
||||
else:
|
||||
flag = '-march=core-avx2'
|
||||
cmake_args += [f'-DNG_COMPILE_FLAGS={flag}']
|
||||
|
Loading…
Reference in New Issue
Block a user