mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
* Don't expect openmp in options
This commit is contained in:
parent
9e9d4c8706
commit
c9aa91041d
4
setup.py
4
setup.py
|
@ -71,9 +71,9 @@ if sys.version_info[:2] < (2, 7) or (3, 0) <= sys.version_info[0:2] < (3, 4):
|
||||||
# By subclassing build_extensions we have the actual compiler that will be used which is really known only after finalize_options
|
# By subclassing build_extensions we have the actual compiler that will be used 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 = {'msvc' : ['/Ox', '/EHsc'],
|
compile_options = {'msvc' : ['/Ox', '/EHsc'],
|
||||||
'other' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function', '-fopenmp']}
|
'other' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function']}
|
||||||
link_options = {'msvc' : [],
|
link_options = {'msvc' : [],
|
||||||
'other' : ['-fopenmp']}
|
'other' : []}
|
||||||
|
|
||||||
if sys.platform.startswith('darwin'):
|
if sys.platform.startswith('darwin'):
|
||||||
compile_options['other'].append('-mmacosx-version-min=10.8')
|
compile_options['other'].append('-mmacosx-version-min=10.8')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user