mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
* Add -Wno-strict-prototypes, to suppress warning
This commit is contained in:
parent
47a4371fea
commit
6102360111
3
setup.py
3
setup.py
|
@ -28,7 +28,6 @@ def my_customize_compiler(compiler):
|
|||
if platform.python_implementation() == 'PyPy':
|
||||
sysconfig.customize_compiler = my_customize_compiler
|
||||
|
||||
|
||||
#def install_headers():
|
||||
# dest_dir = path.join(sys.prefix, 'include', 'murmurhash')
|
||||
# if not path.exists(dest_dir):
|
||||
|
@ -117,7 +116,7 @@ def run_setup(exts):
|
|||
def main(modules, is_pypy):
|
||||
language = "cpp"
|
||||
includes = ['.', path.join(sys.prefix, 'include')]
|
||||
compile_args = ['-O3']
|
||||
compile_args = ['-O3', '-Wno-strict-prototypes']
|
||||
link_args = []
|
||||
if sys.prefix == 'darwin':
|
||||
compile_args.append(['-mmacosx-version-min=10.8', '-stdlib=libc++'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user