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.3.0.
11 # See tensorflow/third_party/ruy/workspace.bzl
12 envoption(TENSORFLOW_2_3_0_RUY_URL https://github.com/google/ruy/archive/34ea9f4993955fa1ff4eb58e504421806b7f2e8f.zip)
14 ExternalSource_Download(RUY DIRNAME TENSORFLOW-2.3.0-RUY ${TENSORFLOW_2_3_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()