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
28228857
Commit
28228857
authored
Sep 19, 2018
by
Jayaram Bobba
Committed by
Scott Cyphers
Sep 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer local versions over code available externally (#1639)
parent
b0f4c16e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
CMakeLists.txt
src/ngraph/runtime/cpu/CMakeLists.txt
+8
-0
No files found.
src/ngraph/runtime/cpu/CMakeLists.txt
View file @
28228857
...
...
@@ -166,6 +166,14 @@ if (NGRAPH_CPU_ENABLE)
endif
()
target_include_directories
(
cpu_backend SYSTEM PUBLIC libmkldnn
)
set_target_properties
(
cpu_backend PROPERTIES LIBRARY_OUTPUT_DIRECTORY
${
NGRAPH_BUILD_DIR
}
)
if
(
NOT APPLE
)
# CPU backend uses third-party libraries like Eigen that might be linked in and
# exported by other DSOs as well. In the absence of versioning, this could lead to the
# CPU backend picking up the wrong version or even multiple versions of the
# third-party library. -Bsymbolic-functions tells the linker to prefer the internal
# version inside cpu_backend over what is available through the global symbol table
set_property
(
TARGET cpu_backend APPEND PROPERTY LINK_FLAGS
"-Wl,-Bsymbolic-functions"
)
endif
()
install
(
TARGETS cpu_backend LIBRARY DESTINATION
${
NGRAPH_INSTALL_LIB
}
)
endif
()
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