Bump the ruy repository reference, getting in particular:
- ARM32: @lissyx's fix in google/ruy#69
- ARM64: enabling dotprod instructions outside of Linux.
- x86-64: enabling AVX512 instructions in the general opensource build. A previous version of this CL was rolled back due to lack of support for -march=skylake-avx512 in some toolchains. Hopefully this will fare better thanks to https://github.com/google/ruy/commit/b68dcd87137abe5cef13cc4d15bfa541874cbd96 .
PiperOrigin-RevId: 314597853
Change-Id: Ia64d5aa5bb9e47140e084e0896a5685cac247886
diff --git a/tensorflow/lite/micro/tools/make/third_party_downloads.inc b/tensorflow/lite/micro/tools/make/third_party_downloads.inc
index 1543abc..8d18bb4 100644
--- a/tensorflow/lite/micro/tools/make/third_party_downloads.inc
+++ b/tensorflow/lite/micro/tools/make/third_party_downloads.inc
@@ -56,8 +56,8 @@
KISSFFT_URL="https://github.com/mborgerding/kissfft/archive/v130.zip"
KISSFFT_MD5="438ba1fef5783cc5f5f201395cc477ca"
-RUY_URL="https://github.com/google/ruy/archive/1b313682ef8b8fc8ed08719c610d1c3503b016bf.zip"
-RUY_MD5="2d54f058f8f7120dfc1ecee79dbf259e"
+RUY_URL="https://github.com/google/ruy/archive/b68dcd87137abe5cef13cc4d15bfa541874cbd96.zip"
+RUY_MD5="4952098e615b06844ab8a28f10adf9a0"
CIFAR10_DATASET_URL="https://www.cs.toronto.edu/~kriz/cifar-10-binary.tar.gz"
CIFAR10_DATASET_MD5="c32a1d4ab5d03f1284b67883e8d87530"
diff --git a/tensorflow/lite/tools/make/download_dependencies.sh b/tensorflow/lite/tools/make/download_dependencies.sh
index a7840f6..b71909e 100755
--- a/tensorflow/lite/tools/make/download_dependencies.sh
+++ b/tensorflow/lite/tools/make/download_dependencies.sh
@@ -37,8 +37,8 @@
EIGEN_SHA="$(eval echo $(grep '# SHARED_EIGEN_SHA' "${BZL_FILE_PATH}" | grep -o '\".*\"'))"
GEMMLOWP_URL="$(grep -o 'https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/gemmlowp/.*zip' "${BZL_FILE_PATH}" | head -n1)"
GEMMLOWP_SHA="$(eval echo $(grep '# SHARED_GEMMLOWP_SHA' "${BZL_FILE_PATH}" | grep -o '\".*\"'))"
-RUY_URL="https://github.com/google/ruy/archive/1b313682ef8b8fc8ed08719c610d1c3503b016bf.zip"
-RUY_SHA="b21524de00c63b3d5683b42557f78452e791cf77fddb2e63f9bcba1f7bd99093"
+RUY_URL="https://github.com/google/ruy/archive/b68dcd87137abe5cef13cc4d15bfa541874cbd96.zip"
+RUY_SHA="9177fbb25e3875a82e171e9e9b70d65d8d31ffa41eea3e479b6a27c8767d1f5d"
GOOGLETEST_URL="https://github.com/google/googletest/archive/release-1.8.0.tar.gz"
GOOGLETEST_SHA="58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8"
ABSL_URL="$(grep -o 'https://github.com/abseil/abseil-cpp/.*tar.gz' "${BZL_FILE_PATH}" | head -n1)"
diff --git a/tensorflow/tools/pip_package/BUILD b/tensorflow/tools/pip_package/BUILD
index 43bc04a..36e2040 100644
--- a/tensorflow/tools/pip_package/BUILD
+++ b/tensorflow/tools/pip_package/BUILD
@@ -214,6 +214,8 @@
"@sobol_data//:LICENSE",
"@termcolor_archive//:COPYING.txt",
"@zlib//:zlib.h",
+ "@clog//:LICENSE",
+ "@cpuinfo//:LICENSE",
] + select({
"//tensorflow:android": [],
"//tensorflow:ios": [],
diff --git a/third_party/ruy/workspace.bzl b/third_party/ruy/workspace.bzl
index c4ed692..43d19e8 100644
--- a/third_party/ruy/workspace.bzl
+++ b/third_party/ruy/workspace.bzl
@@ -5,11 +5,11 @@
def repo():
third_party_http_archive(
name = "ruy",
- sha256 = "b21524de00c63b3d5683b42557f78452e791cf77fddb2e63f9bcba1f7bd99093",
- strip_prefix = "ruy-1b313682ef8b8fc8ed08719c610d1c3503b016bf",
+ sha256 = "9177fbb25e3875a82e171e9e9b70d65d8d31ffa41eea3e479b6a27c8767d1f5d",
+ strip_prefix = "ruy-b68dcd87137abe5cef13cc4d15bfa541874cbd96",
urls = [
- "https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/ruy/archive/1b313682ef8b8fc8ed08719c610d1c3503b016bf.zip",
- "https://github.com/google/ruy/archive/1b313682ef8b8fc8ed08719c610d1c3503b016bf.zip",
+ "https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/ruy/archive/b68dcd87137abe5cef13cc4d15bfa541874cbd96.zip",
+ "https://github.com/google/ruy/archive/b68dcd87137abe5cef13cc4d15bfa541874cbd96.zip",
],
build_file = "//third_party/ruy:BUILD",
)