File tree 6 files changed +99
-0
lines changed
6 files changed +99
-0
lines changed Original file line number Diff line number Diff line change
1
+ module (
2
+ name = "hdrhistogram_c" ,
3
+ version = "0.11.2" ,
4
+ compatibility_level = 1 ,
5
+ )
6
+
7
+ bazel_dep (
8
+ name = "zlib" ,
9
+ version = "1.3.1.bcr.1" ,
10
+ )
Original file line number Diff line number Diff line change
1
+ --- /dev/null
2
+ +++ BUILD.bazel
3
+ @@ -0,0 +1,31 @@
4
+ + cc_library(
5
+ + name = "hdrhistogram_c",
6
+ + srcs = [
7
+ + "src/hdr_encoding.c",
8
+ + "src/hdr_histogram.c",
9
+ + "src/hdr_histogram_log.c",
10
+ + "src/hdr_interval_recorder.c",
11
+ + "src/hdr_thread.c",
12
+ + "src/hdr_time.c",
13
+ + "src/hdr_writer_reader_phaser.c",
14
+ + ],
15
+ + hdrs = [
16
+ + "src/hdr_atomic.h",
17
+ + "src/hdr_encoding.h",
18
+ + "src/hdr_endian.h",
19
+ + "src/hdr_histogram.h",
20
+ + "src/hdr_histogram_log.h",
21
+ + "src/hdr_interval_recorder.h",
22
+ + "src/hdr_tests.h",
23
+ + "src/hdr_thread.h",
24
+ + "src/hdr_time.h",
25
+ + "src/hdr_writer_reader_phaser.h",
26
+ + ],
27
+ + copts = [
28
+ + "-std=gnu99",
29
+ + "-Wno-implicit-function-declaration",
30
+ + "-Wno-error",
31
+ + ],
32
+ + visibility = ["//visibility:public"],
33
+ + deps = ["@zlib"],
34
+ + )
Original file line number Diff line number Diff line change
1
+ --- MODULE.bazel
2
+ +++ MODULE.bazel
3
+ @@ -0,0 +1,10 @@
4
+ + module(
5
+ + name = "hdrhistogram_c",
6
+ + version = "0.11.2",
7
+ + compatibility_level = 1,
8
+ + )
9
+ +
10
+ + bazel_dep(
11
+ + name = "zlib",
12
+ + version = "1.3.1.bcr.1",
13
+ + )
Original file line number Diff line number Diff line change
1
+ matrix :
2
+ platform :
3
+ - debian10
4
+ - ubuntu2004
5
+ - macos
6
+ - macos_arm64
7
+ bazel :
8
+ - 7.x
9
+ - 6.x
10
+ tasks :
11
+ verify_targets :
12
+ name : Verify build targets
13
+ platform : ${{ platform }}
14
+ bazel : ${{ bazel }}
15
+ build_targets :
16
+ - ' @hdrhistogram_c//:hdrhistogram_c'
Original file line number Diff line number Diff line change
1
+ {
2
+ "url" : " https://github.com/HdrHistogram/HdrHistogram_c/archive/refs/tags/0.11.2.tar.gz" ,
3
+ "integrity" : " sha256-Y38otfZN4uJoEx5ONObu8Lkc9f+ZFn20R9mygl6ua60=" ,
4
+ "strip_prefix" : " HdrHistogram_c-0.11.2" ,
5
+ "patches" : {
6
+ "add_build_file.patch" : " sha256-3oOur+YN9ttwuII6klYpndhMGf1WNdgcp/c3ybpvWYw=" ,
7
+ "module_dot_bazel.patch" : " sha256-N833h2a0gYMTx877/Qrs4Yx0LkKjwVi649g9PyzMCb4="
8
+ },
9
+ "patch_strip" : 0
10
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "homepage" : " https://github.com/HdrHistogram/HdrHistogram_c" ,
3
+ "maintainers" : [
4
+ {
5
+
6
+ "name" : " No Maintainer Specified"
7
+ }
8
+ ],
9
+ "repository" : [
10
+ " github:HdrHistogram/HdrHistogram_c"
11
+ ],
12
+ "versions" : [
13
+ " 0.11.2"
14
+ ],
15
+ "yanked_versions" : {}
16
+ }
You can’t perform that action at this time.
0 commit comments