mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-14 05:37:03 +03:00
* Conditionally link against openmp, on not-darwin
This commit is contained in:
parent
6d58451a4d
commit
add8f07f61
3
setup.py
3
setup.py
|
@ -79,6 +79,9 @@ if sys.platform.startswith('darwin'):
|
||||||
compile_options['other'].append('-mmacosx-version-min=10.8')
|
compile_options['other'].append('-mmacosx-version-min=10.8')
|
||||||
compile_options['other'].append('-stdlib=libc++')
|
compile_options['other'].append('-stdlib=libc++')
|
||||||
link_options['other'].append('-lc++')
|
link_options['other'].append('-lc++')
|
||||||
|
else:
|
||||||
|
compile_options['other'].append('-fopenmp')
|
||||||
|
link_options['other'].append('-fopenmp')
|
||||||
|
|
||||||
|
|
||||||
class build_ext_options:
|
class build_ext_options:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user