mirror of https://github.com/explosion/spaCy.git
Merge pull request #135 from henningpeters/patch-1
remove compile warning noise
This commit is contained in:
commit
8b8d048385
2
setup.py
2
setup.py
|
@ -138,7 +138,7 @@ VERSION = '0.94'
|
||||||
def main(modules, is_pypy):
|
def main(modules, is_pypy):
|
||||||
language = "cpp"
|
language = "cpp"
|
||||||
includes = ['.', path.join(sys.prefix, 'include')]
|
includes = ['.', path.join(sys.prefix, 'include')]
|
||||||
compile_args = ['-O3', '-Wno-strict-prototypes']
|
compile_args = ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function']
|
||||||
link_args = []
|
link_args = []
|
||||||
if sys.prefix == 'darwin':
|
if sys.prefix == 'darwin':
|
||||||
compile_args.append(['-mmacosx-version-min=10.8', '-stdlib=libc++'])
|
compile_args.append(['-mmacosx-version-min=10.8', '-stdlib=libc++'])
|
||||||
|
|
Loading…
Reference in New Issue