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
1473058f
Commit
1473058f
authored
Oct 16, 2017
by
Nick Korovaiko
Committed by
GitHub
Oct 16, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into krovatkin/cleanup
parents
10be57e7
5b324aee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
.gitignore
.gitignore
+4
-0
external_eigen.cmake
cmake/external_eigen.cmake
+9
-6
No files found.
.gitignore
View file @
1473058f
...
...
@@ -69,3 +69,7 @@ config_args.txt
.nfs*
venv/
.vscode/
# VisualGDB files
VisualGDB/
toolchain.cmake
cmake/external_eigen.cmake
View file @
1473058f
...
...
@@ -15,6 +15,9 @@
include
(
ExternalProject
)
set
(
EIGEN_INSTALL_DIR
${
EXTERNAL_INSTALL_DIR
}
/eigen
)
set
(
EIGEN_PROJECT eigen
)
set
(
EIGEN_SHA1_HASH dd238ca6c6b5d2ce2e7e2e9ded4c59bad77ce6d0
)
set
(
EIGEN_URL http://bitbucket.org/eigen/eigen/get/3.3.3.zip
)
#----------------------------------------------------------------------------------------------------------
# Download and install GoogleTest ...
...
...
@@ -23,17 +26,17 @@ set(EIGEN_INSTALL_DIR ${EXTERNAL_INSTALL_DIR}/eigen)
# The 'BUILD_BYPRODUCTS' argument was introduced in CMake 3.2.
if
(
${
CMAKE_VERSION
}
VERSION_LESS 3.2
)
ExternalProject_Add
(
eigen
URL
http://bitbucket.org/eigen/eigen/get/3.3.3.zip
# PREFIX ${CMAKE_CURRENT_BINARY_DIR}/eigen
${
EIGEN_PROJECT
}
URL
${
EIGEN_URL
}
URL_HASH SHA1=
${
EIGEN_SHA1_HASH
}
UPDATE_COMMAND
""
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=
${
EIGEN_INSTALL_DIR
}
)
else
()
ExternalProject_Add
(
eigen
URL
http://bitbucket.org/eigen/eigen/get/3.3.3.zip
# PREFIX ${CMAKE_CURRENT_BINARY_DIR}/eigen
${
EIGEN_PROJECT
}
URL
${
EIGEN_URL
}
URL_HASH SHA1=
${
EIGEN_SHA1_HASH
}
UPDATE_COMMAND
""
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=
${
EIGEN_INSTALL_DIR
}
BUILD_BYPRODUCTS
"
${
EIGEN_INSTALL_DIR
}
/include/eigen3"
...
...
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