Merge pull request #329 from sjjpo2002/patch-1

Enable OpenMP compiler option for MSVC
This commit is contained in:
Henning Peters 2016-04-10 09:45:08 +02:00
commit 13a6899fc6
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ MOD_NAMES = [
# which is really known only after finalize_options
# http://stackoverflow.com/questions/724664/python-distutils-how-to-get-a-compiler-that-is-going-to-be-used
compile_options = {
'msvc': ['/Ox', '/EHsc'],
'msvc': ['/Ox', '/EHsc', '/openmp'],
'mingw32' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function'],
'other' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function']
}