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
8707fba8
Commit
8707fba8
authored
May 29, 2019
by
Ilya Churaev
Committed by
Scott Cyphers
May 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added option in order to build nGraph core static library (#2989)
parent
db34286c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
CMakeLists.txt
CMakeLists.txt
+1
-0
CMakeLists.txt
src/ngraph/CMakeLists.txt
+5
-1
No files found.
CMakeLists.txt
View file @
8707fba8
...
...
@@ -168,6 +168,7 @@ option(NGRAPH_PYTHON_BUILD_ENABLE "Enable build nGraph python package wheel" FAL
option
(
NGRAPH_PLAIDML_ENABLE
"Enable the PlaidML backend"
${
PLAIDML_FOUND
}
)
option
(
NGRAPH_DISTRIBUTED_ENABLE
"Enable distributed training using MLSL/OpenMPI"
OFF
)
option
(
NGRAPH_JSON_ENABLE
"Enable JSON based serialization and tracing features"
TRUE
)
option
(
NGRAPH_STATIC_LIB_ENABLE
"Enable build nGraph static library"
FALSE
)
if
(
NGRAPH_CPU_ENABLE
AND
...
...
src/ngraph/CMakeLists.txt
View file @
8707fba8
...
...
@@ -493,7 +493,11 @@ endif()
configure_file
(
version.in.hpp version.hpp
)
add_library
(
ngraph SHARED
${
SRC
}
)
if
(
NGRAPH_STATIC_LIB_ENABLE
)
add_library
(
ngraph STATIC
${
SRC
}
)
else
()
add_library
(
ngraph SHARED
${
SRC
}
)
endif
()
if
(
NGRAPH_DISTRIBUTED_ENABLE
)
if
(
NGRAPH_DISTRIBUTED_MLSL_ENABLE
)
...
...
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