Skip to content

Commit 5137f36

Browse files
glukasiknurocopybara-github
authored andcommitted
Add @com_github_luben_zstd_jni repo to WORKSPACE.
Partial import of #11968. PiperOrigin-RevId: 341407243
1 parent 7fcc26c commit 5137f36

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

WORKSPACE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ distdir_tar(
183183
"aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz",
184184
# abseil/abseil-cpp
185185
"df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz",
186+
# com_github_luben_zstd_jni
187+
"v1.4.5-11.tar.gz",
186188
],
187189
dirname = "derived/distdir",
188190
sha256 = {
@@ -224,6 +226,8 @@ distdir_tar(
224226
"aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz": "9f385e146410a8150b6f4cb1a57eab7ec806ced48d427554b1e754877ff26c3e",
225227
# abseil/abseil-cpp
226228
"df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz": "f368a8476f4e2e0eccf8a7318b98dafbe30b2600f4e3cf52636e5eb145aba06a",
229+
# com_github_luben_zstd_jni
230+
"v1.4.5-11.tar.gz": "9a33de540e4a10a080a22ff918c1bc2f585647f73ea30694eb095a1844b3f052",
227231
},
228232
urls = {
229233
"e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": [
@@ -322,6 +326,11 @@ distdir_tar(
322326
"https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz",
323327
"https://github.com/abseil/abseil-cpp/archive/df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz",
324328
],
329+
# com_github_luben_zstd_jni
330+
"v1.4.5-11.tar.gz": [
331+
"https://mirror.bazel.build/github.com/luben/zstd-jni/archive/v1.4.5-11.tar.gz",
332+
"https://github.com/luben/zstd-jni/archive/v1.4.5-11.tar.gz",
333+
],
325334
},
326335
)
327336

@@ -539,6 +548,19 @@ http_archive(
539548
],
540549
)
541550

551+
http_archive(
552+
name = "com_github_luben_zstd_jni",
553+
build_file = "//third_party/zstd-jni:BUILD.bazel",
554+
patch_args = ["-p1"],
555+
patches = ["//third_party/zstd-jni:zstd-jni_1.4.5-11.patch"],
556+
sha256 = "9a33de540e4a10a080a22ff918c1bc2f585647f73ea30694eb095a1844b3f052",
557+
strip_prefix = "zstd-jni-1.4.5-11",
558+
urls = [
559+
"https://mirror.bazel.build/github.com/luben/zstd-jni/archive/v1.4.5-11.tar.gz",
560+
"https://github.com/luben/zstd-jni/archive/v1.4.5-11.tar.gz",
561+
],
562+
)
563+
542564
# For testing, have an distdir_tar with all the archives implicit in every
543565
# WORKSPACE, to that they don't have to be refetched for every test
544566
# calling `bazel sync`.

0 commit comments

Comments
 (0)