1 function(_TensorFlowRuySource_import)
3 set(TensorFlowRuySource_FOUND FALSE PARENT_SCOPE)
5 endif(NOT DOWNLOAD_RUY)
7 nnas_include(ExternalSourceTools)
8 nnas_include(OptionTools)
10 # Exact version used by TensorFlow v2.6.0.
11 # See tensorflow/third_party/ruy/workspace.bzl
12 envoption(TENSORFLOW_2_6_0_RUY_URL https://github.com/google/ruy/archive/e6c1b8dc8a8b00ee74e7268aac8b18d7260ab1ce.zip)
14 ExternalSource_Download(RUY DIRNAME TENSORFLOW-2.6.0-RUY ${TENSORFLOW_2_6_0_RUY_URL})
16 set(TensorFlowRuySource_DIR ${RUY_SOURCE_DIR} PARENT_SCOPE)
17 set(TensorFlowRuySource_FOUND TRUE PARENT_SCOPE)
18 endfunction(_TensorFlowRuySource_import)
20 _TensorFlowRuySource_import()