Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riegeli@0.0.0-20231123-411cda7 (#1834)
Release: https://github.com/google/riegeli/archive/411cda7f6aa81f8b8591b04cf141b1decdcc928c.tar.gz Used by: * https://github.com/google/fuzztest
- Loading branch information
Showing
7 changed files
with
274 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
module( | ||
name = "riegeli", | ||
version = "0.0.0-20231123-411cda7", | ||
repo_name = "com_google_riegeli", | ||
) | ||
|
||
bazel_dep( | ||
name = "abseil-cpp", | ||
version = "20220623.1", | ||
repo_name = "com_google_absl", | ||
) | ||
bazel_dep( | ||
name = "brotli", | ||
version = "1.1.0", | ||
repo_name = "org_brotli", | ||
) | ||
bazel_dep( | ||
name = "bzip2", | ||
version = "1.0.8", | ||
) | ||
bazel_dep( | ||
name = "crc32c", | ||
version = "1.1.0", | ||
) | ||
bazel_dep( | ||
name = "highwayhash", | ||
version = "0.0.0-20240305-5ad3bf8", | ||
) | ||
bazel_dep( | ||
name = "lz4", | ||
version = "1.9.4", | ||
) | ||
bazel_dep( | ||
name = "platforms", | ||
version = "0.0.9", | ||
) | ||
bazel_dep( | ||
name = "protobuf", | ||
version = "3.19.0", | ||
repo_name = "com_google_protobuf", | ||
) | ||
bazel_dep( | ||
name = "rules_proto", | ||
version = "4.0.0", | ||
) | ||
bazel_dep( | ||
name = "snappy", | ||
version = "1.1.8", | ||
) | ||
bazel_dep( | ||
name = "xz", | ||
version = "5.4.5.bcr.1", | ||
) | ||
bazel_dep( | ||
name = "zlib", | ||
version = "1.2.11", | ||
) | ||
bazel_dep( | ||
name = "zstd", | ||
version = "1.5.6", | ||
repo_name = "net_zstd", | ||
) |
91 changes: 91 additions & 0 deletions
91
modules/riegeli/0.0.0-20231123-411cda7/patches/build.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
diff --git a/riegeli/bzip2/BUILD b/riegeli/bzip2/BUILD | ||
index 7f98ce56..1ee2c169 100644 | ||
--- a/riegeli/bzip2/BUILD | ||
+++ b/riegeli/bzip2/BUILD | ||
@@ -20,7 +20,7 @@ cc_library( | ||
"//riegeli/bytes:buffer_options", | ||
"//riegeli/bytes:buffered_reader", | ||
"//riegeli/bytes:reader", | ||
- "@bzip2//:bz2lib", | ||
+ "@bzip2//:bz2", | ||
"@com_google_absl//absl/base:core_headers", | ||
"@com_google_absl//absl/status", | ||
"@com_google_absl//absl/strings", | ||
@@ -42,7 +42,7 @@ cc_library( | ||
"//riegeli/bytes:buffer_options", | ||
"//riegeli/bytes:buffered_writer", | ||
"//riegeli/bytes:writer", | ||
- "@bzip2//:bz2lib", | ||
+ "@bzip2//:bz2", | ||
"@com_google_absl//absl/base:core_headers", | ||
"@com_google_absl//absl/status", | ||
"@com_google_absl//absl/strings", | ||
@@ -56,7 +56,7 @@ cc_library( | ||
visibility = ["//visibility:private"], | ||
deps = [ | ||
"//riegeli/base:assert", | ||
- "@bzip2//:bz2lib", | ||
+ "@bzip2//:bz2", | ||
"@com_google_absl//absl/status", | ||
"@com_google_absl//absl/strings", | ||
], | ||
diff --git a/riegeli/xz/BUILD b/riegeli/xz/BUILD | ||
index 9aaf5d54..1e85d753 100644 | ||
--- a/riegeli/xz/BUILD | ||
+++ b/riegeli/xz/BUILD | ||
@@ -24,7 +24,7 @@ cc_library( | ||
"@com_google_absl//absl/base:core_headers", | ||
"@com_google_absl//absl/status", | ||
"@com_google_absl//absl/strings", | ||
- "@xz//:liblzma", | ||
+ "@xz//:lzma", | ||
], | ||
) | ||
|
||
@@ -49,7 +49,7 @@ cc_library( | ||
"@com_google_absl//absl/base:core_headers", | ||
"@com_google_absl//absl/status", | ||
"@com_google_absl//absl/strings", | ||
- "@xz//:liblzma", | ||
+ "@xz//:lzma", | ||
], | ||
) | ||
|
||
@@ -62,6 +62,6 @@ cc_library( | ||
"//riegeli/base:assert", | ||
"@com_google_absl//absl/status", | ||
"@com_google_absl//absl/strings", | ||
- "@xz//:liblzma", | ||
+ "@xz//:lzma", | ||
], | ||
) | ||
diff --git a/riegeli/zstd/BUILD b/riegeli/zstd/BUILD | ||
index e7439cf2..f18b964e 100644 | ||
--- a/riegeli/zstd/BUILD | ||
+++ b/riegeli/zstd/BUILD | ||
@@ -28,7 +28,7 @@ cc_library( | ||
"@com_google_absl//absl/status", | ||
"@com_google_absl//absl/strings", | ||
"@com_google_absl//absl/types:optional", | ||
- "@net_zstd//:zstdlib", | ||
+ "@net_zstd//:zstd", | ||
], | ||
) | ||
|
||
@@ -57,7 +57,7 @@ cc_library( | ||
"@com_google_absl//absl/status", | ||
"@com_google_absl//absl/strings", | ||
"@com_google_absl//absl/types:optional", | ||
- "@net_zstd//:zstdlib", | ||
+ "@net_zstd//:zstd", | ||
], | ||
) | ||
|
||
@@ -76,6 +76,6 @@ cc_library( | ||
"@com_google_absl//absl/base:core_headers", | ||
"@com_google_absl//absl/strings", | ||
"@com_google_absl//absl/synchronization", | ||
- "@net_zstd//:zstdlib", | ||
+ "@net_zstd//:zstd", | ||
], | ||
) |
10 changes: 10 additions & 0 deletions
10
modules/riegeli/0.0.0-20231123-411cda7/patches/dot_bazelrc.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
diff --git a/.bazelrc b/.bazelrc | ||
index ca8600d5..cbcbebb0 100644 | ||
--- a/.bazelrc | ||
+++ b/.bazelrc | ||
@@ -5,4 +5,4 @@ build --cxxopt=-std=c++17 | ||
build --define=use_fast_cpp_protos=true | ||
|
||
# Options from ./configure | ||
-import %workspace%/configure.bazelrc | ||
+# import %workspace%/configure.bazelrc |
65 changes: 65 additions & 0 deletions
65
modules/riegeli/0.0.0-20231123-411cda7/patches/module_dot_bazel.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- a/MODULE.bazel | ||
+++ a/MODULE.bazel | ||
@@ -0,0 +1,62 @@ | ||
+module( | ||
+ name = "riegeli", | ||
+ version = "0.0.0-20231123-411cda7", | ||
+ repo_name = "com_google_riegeli", | ||
+) | ||
+ | ||
+bazel_dep( | ||
+ name = "abseil-cpp", | ||
+ version = "20220623.1", | ||
+ repo_name = "com_google_absl", | ||
+) | ||
+bazel_dep( | ||
+ name = "brotli", | ||
+ version = "1.1.0", | ||
+ repo_name = "org_brotli", | ||
+) | ||
+bazel_dep( | ||
+ name = "bzip2", | ||
+ version = "1.0.8", | ||
+) | ||
+bazel_dep( | ||
+ name = "crc32c", | ||
+ version = "1.1.0", | ||
+) | ||
+bazel_dep( | ||
+ name = "highwayhash", | ||
+ version = "0.0.0-20240305-5ad3bf8", | ||
+) | ||
+bazel_dep( | ||
+ name = "lz4", | ||
+ version = "1.9.4", | ||
+) | ||
+bazel_dep( | ||
+ name = "platforms", | ||
+ version = "0.0.9", | ||
+) | ||
+bazel_dep( | ||
+ name = "protobuf", | ||
+ version = "3.19.0", | ||
+ repo_name = "com_google_protobuf", | ||
+) | ||
+bazel_dep( | ||
+ name = "rules_proto", | ||
+ version = "4.0.0", | ||
+) | ||
+bazel_dep( | ||
+ name = "snappy", | ||
+ version = "1.1.8", | ||
+) | ||
+bazel_dep( | ||
+ name = "xz", | ||
+ version = "5.4.5.bcr.1", | ||
+) | ||
+bazel_dep( | ||
+ name = "zlib", | ||
+ version = "1.2.11", | ||
+) | ||
+bazel_dep( | ||
+ name = "zstd", | ||
+ version = "1.5.6", | ||
+ repo_name = "net_zstd", | ||
+) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
matrix: | ||
platform: | ||
- debian10 | ||
- ubuntu2004 | ||
bazel: | ||
- 7.x | ||
- 6.x | ||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
platform: ${{ platform }} | ||
bazel: ${{ bazel }} | ||
build_flags: | ||
- '--cxxopt=-std=c++17' | ||
build_targets: | ||
- '@riegeli//riegeli/base/...' | ||
- '@riegeli//riegeli/bytes/...' | ||
- '@riegeli//riegeli/records:record_reader' | ||
- '@riegeli//riegeli/records:record_writer' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"url": "https://github.com/google/riegeli/archive/411cda7f6aa81f8b8591b04cf141b1decdcc928c.tar.gz", | ||
"integrity": "sha256-+DhuROFtBEwdcVHAtVO7cHXXlYPU+p5hOkvkUlmeB5U=", | ||
"strip_prefix": "riegeli-411cda7f6aa81f8b8591b04cf141b1decdcc928c", | ||
"patches": { | ||
"build.patch": "sha256-r2Pv4QX9toUhBqu+1wB0v0OZDdIAZk3G8CcTtFhDlDc=", | ||
"dot_bazelrc.patch": "sha256-FZpGvnfAHipSJs+PbL7ZQE1A8zUSLwUHLXCxEj9eS9g=", | ||
"module_dot_bazel.patch": "sha256-Nn4t5J0N9c+6oiuD4TIzaX0gX/DFYecfYRQNIdjXB4M=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"homepage": "https://github.com/google/riegeli", | ||
"maintainers": [ | ||
{ | ||
"email": "bcr-maintainers@bazel.build", | ||
"name": "No Maintainer Specified" | ||
} | ||
], | ||
"repository": [ | ||
"github:google/riegeli" | ||
], | ||
"versions": [ | ||
"0.0.0-20231123-411cda7" | ||
], | ||
"yanked_versions": {} | ||
} |