diff --git a/tensorflow/tools/lib_package/BUILD b/tensorflow/tools/lib_package/BUILD index 89ec2a0c7c3..8749c511340 100644 --- a/tensorflow/tools/lib_package/BUILD +++ b/tensorflow/tools/lib_package/BUILD @@ -147,7 +147,7 @@ genrule( "@double_conversion//:LICENSE", "@eigen_archive//:COPYING.MPL2", "@farmhash_archive//:COPYING", - "@fft2d//:fft2d/readme2d.txt", + "@fft2d//:readme2d.txt", "@gemmlowp//:LICENSE", "@gif//:COPYING", "@highwayhash//:LICENSE", @@ -226,7 +226,7 @@ genrule( "@double_conversion//:LICENSE", "@eigen_archive//:COPYING.MPL2", "@farmhash_archive//:COPYING", - "@fft2d//:fft2d/readme2d.txt", + "@fft2d//:readme2d.txt", "@gemmlowp//:LICENSE", "@gif//:COPYING", "@com_github_grpc_grpc//:LICENSE", diff --git a/tensorflow/tools/pip_package/BUILD b/tensorflow/tools/pip_package/BUILD index 5e7cf143bba..b2dd7e21cd2 100644 --- a/tensorflow/tools/pip_package/BUILD +++ b/tensorflow/tools/pip_package/BUILD @@ -189,7 +189,7 @@ filegroup( "@eigen_archive//:COPYING.MPL2", "@enum34_archive//:LICENSE", "@farmhash_archive//:COPYING", - "@fft2d//:fft2d/readme2d.txt", + "@fft2d//:readme2d.txt", "@flatbuffers//:LICENSE.txt", "@functools32_archive//:LICENSE", "@gast_archive//:PKG-INFO", diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index b32309321ce..7699975bc01 100755 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -768,10 +768,11 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""): tf_http_archive( name = "fft2d", build_file = clean_dep("//third_party/fft2d:fft2d.BUILD"), - sha256 = "ada7e99087c4ed477bfdf11413f2ba8db8a840ba9bbf8ac94f4f3972e2a7cec9", + sha256 = "5f4dabc2ae21e1f537425d58a49cdca1c49ea11db0d6271e2a4b27e9697548eb", + strip_prefix = "OouraFFT-1.0", urls = [ - "https://storage.googleapis.com/mirror.tensorflow.org/www.kurims.kyoto-u.ac.jp/~ooura/fft2d.tgz", - "https://www.kurims.kyoto-u.ac.jp/~ooura/fft2d.tgz", + "https://storage.googleapis.com/mirror.tensorflow.org/github.com/petewarden/OouraFFT/archive/v1.0.tar.gz", + "https://github.com/petewarden/OouraFFT/archive/v1.0.tar.gz", ], ) diff --git a/third_party/fft2d/fft2d.BUILD b/third_party/fft2d/fft2d.BUILD index a6a455d8523..9fa5097f362 100644 --- a/third_party/fft2d/fft2d.BUILD +++ b/third_party/fft2d/fft2d.BUILD @@ -8,11 +8,11 @@ package( # Unrestricted use; can only distribute original package. licenses(["notice"]) -exports_files(["fft2d/readme2d.txt"]) +exports_files(["readme2d.txt"]) FFT2D_SRCS = [ - "fft2d/fftsg.c", - "fft2d/fftsg2d.c", + "fftsg.c", + "fftsg2d.c", ] config_setting(