File tree Expand file tree Collapse file tree 7 files changed +80
-1
lines changed
Expand file tree Collapse file tree 7 files changed +80
-1
lines changed Original file line number Diff line number Diff line change 1+ module (
2+ name = "bzip2" ,
3+ version = "1.0.8.bcr.1" ,
4+ compatibility_level = 1 ,
5+ )
Original file line number Diff line number Diff line change 1+ --- /dev/null
2+ +++ BUILD.bazel
3+ @@ -0,0 +1,34 @@
4+ + cc_binary(
5+ + name = "bzip2",
6+ + srcs = ["bzip2.c"],
7+ + defines = [
8+ + "_FILE_OFFSET_BITS=64",
9+ + ],
10+ + deps = [
11+ + ":bz2",
12+ + ],
13+ + visibility = ["//visibility:public"],
14+ + )
15+ +
16+ + cc_library(
17+ + name = "bz2",
18+ + srcs = [
19+ + "blocksort.c",
20+ + "bzlib.c",
21+ + "bzlib_private.h",
22+ + "compress.c",
23+ + "crctable.c",
24+ + "decompress.c",
25+ + "huffman.c",
26+ + "randtable.c",
27+ + ],
28+ + hdrs = [
29+ + "bzlib.h",
30+ + ],
31+ + defines = [
32+ + "_FILE_OFFSET_BITS=64",
33+ + ],
34+ + includes = ["."],
35+ + strip_include_prefix = "",
36+ + visibility = ["//visibility:public"],
37+ + )
Original file line number Diff line number Diff line change 1+ --- MODULE.bazel
2+ +++ MODULE.bazel
3+ @@ -0,0 +1,5 @@
4+ + module(
5+ + name = "bzip2",
6+ + version = "1.0.8.bcr.1",
7+ + compatibility_level = 1,
8+ + )
Original file line number Diff line number Diff line change 1+ matrix :
2+ platform :
3+ - centos7
4+ - debian10
5+ - ubuntu2004
6+ - macos
7+ - windows
8+ bazel : [6.x, 7.x]
9+ tasks :
10+ verify_targets :
11+ name : Verify build targets
12+ platform : ${{ platform }}
13+ bazel : ${{ bazel }}
14+ build_targets :
15+ - ' @bzip2//:bzip2'
16+ - ' @bzip2//:bz2'
Original file line number Diff line number Diff line change 1+ {
2+ "integrity" : " sha256-q1oDF27hBtPw+pDjgdpHjdrkBZGBU8yiSOaCzQxKImk=" ,
3+ "patch_strip" : 0 ,
4+ "patches" : {
5+ "add_build_file.patch" : " sha256-QPcAoslzyuAkL4VQgb18uhZaUu8A30/LUrD8wHaKZHY=" ,
6+ "module_dot_bazel.patch" : " sha256-lfm8AQkGepyTCT/UQrNpojSPcuu9TnCpPEWykSew7r8="
7+ },
8+ "strip_prefix" : " bzip2-1.0.8" ,
9+ "url" : " https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz"
10+ }
Original file line number Diff line number Diff line change @@ -5,10 +5,12 @@ matrix:
55 - ubuntu2004
66 - macos
77 - windows
8+ bazel : [6.x, 7.x]
89tasks :
910 verify_targets :
1011 name : Verify build targets
1112 platform : ${{ platform }}
13+ bazel : ${{ bazel }}
1214 build_targets :
1315 - ' @bzip2//:bzip2'
1416 - ' @bzip2//:bz2'
Original file line number Diff line number Diff line change 77 }
88 ],
99 "versions" : [
10- " 1.0.8"
10+ " 1.0.8" ,
11+ " 1.0.8.bcr.1"
1112 ],
1213 "yanked_versions" : {}
1314}
You can’t perform that action at this time.
0 commit comments