Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
0a4b3e33
Unverified
Commit
0a4b3e33
authored
Jul 09, 2019
by
Scott Cyphers
Committed by
GitHub
Jul 09, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3190 from NervanaSystems/rearhart/mac-python-rc
Use libc++ for macOS core python wheel
parents
aa41e4ff
f11ccfc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
setup.py
python/setup.py
+3
-0
No files found.
python/setup.py
View file @
0a4b3e33
...
...
@@ -326,6 +326,7 @@ def add_platform_specific_link_args(link_args):
link_args
+=
[
'-z'
,
'now'
]
elif
sys
.
platform
==
'darwin'
:
link_args
+=
[
'-Wl,-rpath,@loader_path/../..'
]
link_args
+=
[
'-stdlib=libc++'
]
class
BuildExt
(
build_ext
):
...
...
@@ -360,6 +361,8 @@ class BuildExt(build_ext):
ext
.
extra_compile_args
+=
[
'-Wformat'
,
'-Wformat-security'
]
ext
.
extra_compile_args
+=
[
'-O2'
,
'-D_FORTIFY_SOURCE=2'
]
if
sys
.
platform
==
'darwin'
:
ext
.
extra_compile_args
+=
[
'-stdlib=libc++'
]
build_ext
.
build_extensions
(
self
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment