From 5137f36a1fcfc7ffec51a2c1588b0f90275e7a68 Mon Sep 17 00:00:00 2001 From: Grzegorz Lukasik Date: Mon, 9 Nov 2020 08:07:29 -0800 Subject: [PATCH] Add @com_github_luben_zstd_jni repo to WORKSPACE. Partial import of #11968. PiperOrigin-RevId: 341407243 --- WORKSPACE | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/WORKSPACE b/WORKSPACE index 61ed9ae12f9b70..e1e01e2e1a2221 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -183,6 +183,8 @@ distdir_tar( "aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz", # abseil/abseil-cpp "df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz", + # com_github_luben_zstd_jni + "v1.4.5-11.tar.gz", ], dirname = "derived/distdir", sha256 = { @@ -224,6 +226,8 @@ distdir_tar( "aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz": "9f385e146410a8150b6f4cb1a57eab7ec806ced48d427554b1e754877ff26c3e", # abseil/abseil-cpp "df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz": "f368a8476f4e2e0eccf8a7318b98dafbe30b2600f4e3cf52636e5eb145aba06a", + # com_github_luben_zstd_jni + "v1.4.5-11.tar.gz": "9a33de540e4a10a080a22ff918c1bc2f585647f73ea30694eb095a1844b3f052", }, urls = { "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": [ @@ -322,6 +326,11 @@ distdir_tar( "https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz", "https://github.com/abseil/abseil-cpp/archive/df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz", ], + # com_github_luben_zstd_jni + "v1.4.5-11.tar.gz": [ + "https://mirror.bazel.build/github.com/luben/zstd-jni/archive/v1.4.5-11.tar.gz", + "https://github.com/luben/zstd-jni/archive/v1.4.5-11.tar.gz", + ], }, ) @@ -539,6 +548,19 @@ http_archive( ], ) +http_archive( + name = "com_github_luben_zstd_jni", + build_file = "//third_party/zstd-jni:BUILD.bazel", + patch_args = ["-p1"], + patches = ["//third_party/zstd-jni:zstd-jni_1.4.5-11.patch"], + sha256 = "9a33de540e4a10a080a22ff918c1bc2f585647f73ea30694eb095a1844b3f052", + strip_prefix = "zstd-jni-1.4.5-11", + urls = [ + "https://mirror.bazel.build/github.com/luben/zstd-jni/archive/v1.4.5-11.tar.gz", + "https://github.com/luben/zstd-jni/archive/v1.4.5-11.tar.gz", + ], +) + # For testing, have an distdir_tar with all the archives implicit in every # WORKSPACE, to that they don't have to be refetched for every test # calling `bazel sync`.