mirror of https://github.com/explosion/spaCy.git
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
|
# 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
|
# http://stackoverflow.com/questions/724664/python-distutils-how-to-get-a-compiler-that-is-going-to-be-used
|
||||||
compile_options = {
|
compile_options = {
|
||||||
'msvc': ['/Ox', '/EHsc'],
|
'msvc': ['/Ox', '/EHsc', '/openmp'],
|
||||||
'mingw32' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function'],
|
'mingw32' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function'],
|
||||||
'other' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function']
|
'other' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function']
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue