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
3a8e94cb
Commit
3a8e94cb
authored
Oct 25, 2017
by
Robert Kimball
Committed by
GitHub
Oct 25, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #202 from NervanaSystems/yixing/cmake_install
NGRAPH_INSTALL_PREFIX instead of CMAKE_INSTALL_PREFIX
parents
b1857212
d1f14ed8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
CMakeLists.txt
src/ngraph/CMakeLists.txt
+6
-2
No files found.
src/ngraph/CMakeLists.txt
View file @
3a8e94cb
...
...
@@ -121,9 +121,13 @@ endif()
# won't override artifacts generated by other users.
#
# The user can always override this by using the cmake command listed below.
set
(
CMAKE_INSTALL_PREFIX
"$ENV{HOME}/ngraph_dist"
CACHE PATH
"Install directory"
FORCE
)
if
(
NGRAPH_INSTALL_PREFIX
)
set
(
CMAKE_INSTALL_PREFIX
${
NGRAPH_INSTALL_PREFIX
}
)
else
()
set
(
CMAKE_INSTALL_PREFIX
"$ENV{HOME}/ngraph_dist"
)
endif
()
message
(
STATUS
"Installation directory:
${
CMAKE_INSTALL_PREFIX
}
"
)
message
(
STATUS
"To Override use: cmake -D
CMAKE_INSTALL_PREFIX=/foo -P cmake_install.cmake
"
)
message
(
STATUS
"To Override use: cmake -D
NGRAPH_INSTALL_PREFIX=/foo
"
)
# Destinations
set
(
CMAKE_INSTALL_LIB
"
${
CMAKE_INSTALL_PREFIX
}
/lib"
)
...
...
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