Commit 7ba8f533 authored by Avijit's avatar Avijit Committed by Scott Cyphers

Fixed the build forOsX. (#242)

parent 0ef1c2f9
...@@ -130,11 +130,13 @@ endif() ...@@ -130,11 +130,13 @@ endif()
add_library(ngraph SHARED ${SRC}) add_library(ngraph SHARED ${SRC})
# NGraph links against one or more libraries (ex. LLVM) but we don't want to if (NOT APPLE)
# export these symbols as part of the DSO. This is a GNU ld (and derivatives) specific # NGraph links against one or more libraries (ex. LLVM) but we don't want to
# option so making this portable is still an open issue. As a note for the future, # export these symbols as part of the DSO. This is a GNU ld (and derivatives) specific
# this is not an issue on Windows and LLVM's lld does support --exclude-libs. # option so making this portable is still an open issue. As a note for the future,
set_target_properties(ngraph PROPERTIES LINK_FLAGS "-Wl,--exclude-libs,ALL") # 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 # 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- # plugin is specified at compile time but the corresponding library could not be resolved at run-
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment