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
7ba8f533
Commit
7ba8f533
authored
Nov 17, 2017
by
Avijit
Committed by
Scott Cyphers
Nov 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the build forOsX. (#242)
parent
0ef1c2f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
CMakeLists.txt
src/ngraph/CMakeLists.txt
+7
-5
No files found.
src/ngraph/CMakeLists.txt
View file @
7ba8f533
...
...
@@ -130,11 +130,13 @@ endif()
add_library
(
ngraph SHARED
${
SRC
}
)
# NGraph links against one or more libraries (ex. LLVM) but we don't want to
# export these symbols as part of the DSO. This is a GNU ld (and derivatives) specific
# option so making this portable is still an open issue. As a note for the future,
# this is not an issue on Windows and LLVM's lld does support --exclude-libs.
set_target_properties
(
ngraph PROPERTIES LINK_FLAGS
"-Wl,--exclude-libs,ALL"
)
if
(
NOT APPLE
)
# NGraph links against one or more libraries (ex. LLVM) but we don't want to
# export these symbols as part of the DSO. This is a GNU ld (and derivatives) specific
# option so making this portable is still an open issue. As a note for the future,
# this is not an issue on Windows and LLVM's lld does support --exclude-libs.
set_target_properties
(
ngraph PROPERTIES LINK_FLAGS
"-Wl,--exclude-libs,ALL"
)
endif
()
# Colon separated string for specified runtime plugin loading, this is made explicit s.t. if a
# plugin is specified at compile time but the corresponding library could not be resolved at run-
...
...
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