diff options
author | Chunseok Lee <chunseok.lee@samsung.com> | 2020-03-05 15:10:09 +0900 |
---|---|---|
committer | Chunseok Lee <chunseok.lee@samsung.com> | 2020-03-05 15:22:53 +0900 |
commit | d91a039e0eda6fd70dcd22672b8ce1817c1ca50e (patch) | |
tree | 62668ec548cf31fadbbf4e99522999ad13434a25 /infra/nncc/cmake/packages/EigenSourceConfig.cmake | |
parent | bd11b24234d7d43dfe05a81c520aa01ffad06e42 (diff) | |
download | nnfw-d91a039e0eda6fd70dcd22672b8ce1817c1ca50e.tar.gz nnfw-d91a039e0eda6fd70dcd22672b8ce1817c1ca50e.tar.bz2 nnfw-d91a039e0eda6fd70dcd22672b8ce1817c1ca50e.zip |
catch up to tizen_5.5 and remove unness dir
- update to tizen_5.5
- remove dirs
Diffstat (limited to 'infra/nncc/cmake/packages/EigenSourceConfig.cmake')
-rw-r--r-- | infra/nncc/cmake/packages/EigenSourceConfig.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/infra/nncc/cmake/packages/EigenSourceConfig.cmake b/infra/nncc/cmake/packages/EigenSourceConfig.cmake new file mode 100644 index 000000000..f87f53304 --- /dev/null +++ b/infra/nncc/cmake/packages/EigenSourceConfig.cmake @@ -0,0 +1,19 @@ +function(_EigenSource_import) + if(NOT DOWNLOAD_EIGEN) + set(EigenSource_FOUND FALSE PARENT_SCOPE) + return() + endif(NOT DOWNLOAD_EIGEN) + + nncc_include(ExternalSourceTools) + nncc_include(OptionTools) + + # NOTE The following URL comes from TensorFlow 1.7 + envoption(EIGEN_URL https://bitbucket.org/eigen/eigen/get/2355b229ea4c.tar.gz) + + ExternalSource_Download(EIGEN ${EIGEN_URL}) + + set(EigenSource_DIR ${EIGEN_SOURCE_DIR} PARENT_SCOPE) + set(EigenSource_FOUND TRUE PARENT_SCOPE) +endfunction(_EigenSource_import) + +_EigenSource_import() |