1 function(_TensorFlowEigenSource_import)
3 set(TensorFlowEigenSource_FOUND FALSE PARENT_SCOPE)
5 endif(NOT DOWNLOAD_EIGEN)
7 nnas_include(ExternalSourceTools)
8 nnas_include(OptionTools)
10 # Exact version used by TensorFlow v2.1.0.
11 # See tensorflow/tensorflow/workspace.bzl.
12 envoption(TENSORFLOW_2_1_0_EIGEN_URL https://gitlab.com/libeigen/eigen/-/archive/4e696901f873a2347f76d931cf2f701e31e15d05/eigen-4e696901f873a2347f76d931cf2f701e31e15d05.tar.gz)
14 ExternalSource_Download(EIGEN DIRNAME TENSORFLOW-2.1.0-EIGEN ${TENSORFLOW_2_1_0_EIGEN_URL})
16 set(TensorFlowEigenSource_DIR ${EIGEN_SOURCE_DIR} PARENT_SCOPE)
17 set(TensorFlowEigenSource_FOUND TRUE PARENT_SCOPE)
18 endfunction(_TensorFlowEigenSource_import)
20 _TensorFlowEigenSource_import()