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
ebd6904c
Unverified
Commit
ebd6904c
authored
Aug 23, 2018
by
Robert Kimball
Committed by
GitHub
Aug 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert exclude from all on directory to get codegen library to install (#1482)
parent
bc2138d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
CMakeLists.txt
src/ngraph/CMakeLists.txt
+1
-1
CMakeLists.txt
src/ngraph/codegen/CMakeLists.txt
+8
-6
No files found.
src/ngraph/CMakeLists.txt
View file @
ebd6904c
...
...
@@ -186,7 +186,7 @@ endif()
include_directories
(
"
${
NGRAPH_INCLUDE_PATH
}
"
)
add_subdirectory
(
codegen
EXCLUDE_FROM_ALL
)
add_subdirectory
(
codegen
)
add_subdirectory
(
runtime
)
add_library
(
ngraph SHARED
${
SRC
}
)
...
...
src/ngraph/codegen/CMakeLists.txt
View file @
ebd6904c
...
...
@@ -69,9 +69,11 @@ add_custom_target(header_resource
BYPRODUCTS
)
add_library
(
codegen SHARED
${
SRC
}
)
set_target_properties
(
codegen PROPERTIES VERSION
${
NGRAPH_VERSION
}
SOVERSION
${
NGRAPH_API_VERSION
}
)
add_dependencies
(
codegen header_resource libmkldnn libeigen
)
target_include_directories
(
codegen SYSTEM PUBLIC
${
CMAKE_BINARY_DIR
}
)
target_link_libraries
(
codegen PRIVATE libllvm ngraph
)
install
(
TARGETS codegen DESTINATION
${
NGRAPH_INSTALL_LIB
}
)
if
(
NGRAPH_GPU_ENABLE
OR
(
NGRAPH_CPU_ENABLE AND NOT NGRAPH_DEX_ONLY
))
add_library
(
codegen SHARED
${
SRC
}
)
set_target_properties
(
codegen PROPERTIES VERSION
${
NGRAPH_VERSION
}
SOVERSION
${
NGRAPH_API_VERSION
}
)
add_dependencies
(
codegen header_resource libmkldnn libeigen
)
target_include_directories
(
codegen SYSTEM PUBLIC
${
CMAKE_BINARY_DIR
}
)
target_link_libraries
(
codegen PRIVATE libllvm ngraph
)
install
(
TARGETS codegen 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