mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Enable OpenMP compiler option for MSVC
Enable OpenMP compiler option for MSVC to support Multi-Threading for nlp.pipe()
This commit is contained in:
parent
80bea62842
commit
91b3f1c12f
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