From 1bfe02dcd508abd2d0ceb46ebef7e59869ca971f Mon Sep 17 00:00:00 2001 From: Marat Dukhan Date: Fri, 30 Oct 2020 09:38:48 -0700 Subject: [PATCH] Update XNNPACK dependency Pull a work-around for compilation of x86 versions with legacy compilers PiperOrigin-RevId: 339886664 Change-Id: I5035f38cff401564061f092f59d5dea91313f5bf --- tensorflow/lite/tools/cmake/modules/xnnpack.cmake | 2 +- tensorflow/workspace.bzl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tensorflow/lite/tools/cmake/modules/xnnpack.cmake b/tensorflow/lite/tools/cmake/modules/xnnpack.cmake index e5f205c0b0b..4c72e87020a 100644 --- a/tensorflow/lite/tools/cmake/modules/xnnpack.cmake +++ b/tensorflow/lite/tools/cmake/modules/xnnpack.cmake @@ -22,7 +22,7 @@ include(FetchContent) OverridableFetchContent_Declare( xnnpack GIT_REPOSITORY https://github.com/google/xnnpack - GIT_TAG 0af63ab36b899559bd1a92bbc327f8137e53c15c + GIT_TAG 30d4b250aef4ee74271c2254943f062a8356a23e GIT_PROGRESS TRUE PREFIX "${CMAKE_BINARY_DIR}" SOURCE_DIR "${CMAKE_BINARY_DIR}/xnnpack" diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index 1df1fcc352d..a2999d290e4 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -135,11 +135,11 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""): # and update the sha256 with the result. tf_http_archive( name = "XNNPACK", - sha256 = "4b199c96fb2d551450b48eb5549843b41c023ad200aa86760a7c56d0dc0da806", - strip_prefix = "XNNPACK-68447302abcfad0d4b6b19a1efe7d7eef8833f4a", + sha256 = "e803c4acfde4a836e7462bf68275e248f7a2c6ac405d05e15d9f93e3dcdf677d", + strip_prefix = "XNNPACK-30d4b250aef4ee74271c2254943f062a8356a23e", urls = [ - "https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/68447302abcfad0d4b6b19a1efe7d7eef8833f4a.zip", - "https://github.com/google/XNNPACK/archive/68447302abcfad0d4b6b19a1efe7d7eef8833f4a.zip", + "https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/30d4b250aef4ee74271c2254943f062a8356a23e.zip", + "https://github.com/google/XNNPACK/archive/30d4b250aef4ee74271c2254943f062a8356a23e.zip", ], ) -- GitLab