summaryrefslogtreecommitdiff
path: root/infra
diff options
context:
space:
mode:
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>2019-08-21 09:33:24 +0900
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2019-08-21 09:33:24 +0900
commit17f45dd5d35c18a3634225d74b68332e4ed5bb8a (patch)
tree0d774bf306d06ab4ccbbe908dfdb5d1a6813bfdf /infra
parented7cdccde1551420677072624c75fbfa0b92d140 (diff)
downloadnnfw-17f45dd5d35c18a3634225d74b68332e4ed5bb8a.tar.gz
nnfw-17f45dd5d35c18a3634225d74b68332e4ed5bb8a.tar.bz2
nnfw-17f45dd5d35c18a3634225d74b68332e4ed5bb8a.zip
Update EigenSource-fd6845384b86 to read URL from file (#6746)
This commit revises EigenSource-fd6845384b86 CMake package to read URL from file instead of environment variable. Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
Diffstat (limited to 'infra')
-rw-r--r--infra/nncc/3rdparty/Eigen/fd6845384b86/URL.default1
-rw-r--r--infra/nncc/3rdparty/Eigen/fd6845384b86/URL.info3
-rw-r--r--infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake9
3 files changed, 7 insertions, 6 deletions
diff --git a/infra/nncc/3rdparty/Eigen/fd6845384b86/URL.default b/infra/nncc/3rdparty/Eigen/fd6845384b86/URL.default
new file mode 100644
index 000000000..1fff1b4f3
--- /dev/null
+++ b/infra/nncc/3rdparty/Eigen/fd6845384b86/URL.default
@@ -0,0 +1 @@
+https://bitbucket.org/eigen/eigen/get/fd6845384b86.tar.gz
diff --git a/infra/nncc/3rdparty/Eigen/fd6845384b86/URL.info b/infra/nncc/3rdparty/Eigen/fd6845384b86/URL.info
new file mode 100644
index 000000000..8e7a3c2f0
--- /dev/null
+++ b/infra/nncc/3rdparty/Eigen/fd6845384b86/URL.info
@@ -0,0 +1,3 @@
+This URL originates from TensorFlow 1.12
+
+Please check https://github.com/tensorflow/tensorflow/blob/v1.12.0/tensorflow/workspace.bzl#L121
diff --git a/infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake b/infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake
index 28ea48742..bf0f94d29 100644
--- a/infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake
+++ b/infra/nncc/cmake/packages/EigenSource-fd6845384b86Config.cmake
@@ -9,17 +9,14 @@ function(_import)
endif(NOT DOWNLOAD_EIGEN)
nncc_include(ExternalSourceTools)
- nncc_include(OptionTools)
+ nncc_include(ThirdPartyTools)
- # This URL originates from TensorFlow 1.12
- #
- # "tensorflow/workspace.bzl"
- envoption(EIGEN_fd6845384b86_URL https://bitbucket.org/eigen/eigen/get/fd6845384b86.tar.gz)
+ ThirdParty_URL(EIGEN_URL PACKAGE Eigen VERSION fd6845384b86)
ExternalSource_Download(EIGEN
DIRNAME EIGEN-fd6845384b86
CHECKSUM MD5=4c884968ede816a84c70e2cd2c81de8d
- ${EIGEN_fd6845384b86_URL}
+ ${EIGEN_URL}
)
set(EigenSource_DIR ${EIGEN_SOURCE_DIR} PARENT_SCOPE)