mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Merge pull request #329 from sjjpo2002/patch-1
Enable OpenMP compiler option for MSVC
This commit is contained in:
commit
13a6899fc6
2
setup.py
2
setup.py
|
@ -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']
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user