Skip to content

Commit 5872bd8

Browse files
authored
Add cel-cpp version 0.14.0 (#6568)
1 parent 27854bc commit 5872bd8

File tree

5 files changed

+133
-2
lines changed

5 files changed

+133
-2
lines changed
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
module(
2+
name = "cel-cpp",
3+
version = "0.14.0",
4+
compatibility_level = 1,
5+
)
6+
7+
bazel_dep(
8+
name = "bazel_skylib",
9+
version = "1.7.1",
10+
)
11+
bazel_dep(
12+
name = "googleapis",
13+
version = "0.0.0-20241220-5e258e33.bcr.1",
14+
repo_name = "com_google_googleapis",
15+
)
16+
bazel_dep(
17+
name = "googleapis-cc",
18+
version = "1.0.0",
19+
)
20+
bazel_dep(
21+
name = "rules_cc",
22+
version = "0.1.1",
23+
)
24+
bazel_dep(
25+
name = "rules_java",
26+
version = "7.6.5",
27+
)
28+
bazel_dep(
29+
name = "rules_proto",
30+
version = "7.0.2",
31+
)
32+
bazel_dep(
33+
name = "rules_python",
34+
version = "1.3.0",
35+
)
36+
bazel_dep(
37+
name = "protobuf",
38+
version = "30.2",
39+
repo_name = "com_google_protobuf",
40+
)
41+
bazel_dep(
42+
name = "abseil-cpp",
43+
version = "20250512.1",
44+
repo_name = "com_google_absl",
45+
)
46+
bazel_dep(
47+
name = "googletest",
48+
version = "1.16.0",
49+
repo_name = "com_google_googletest",
50+
)
51+
bazel_dep(
52+
name = "google_benchmark",
53+
version = "1.9.2",
54+
repo_name = "com_github_google_benchmark",
55+
)
56+
bazel_dep(
57+
name = "re2",
58+
version = "2024-07-02",
59+
repo_name = "com_googlesource_code_re2",
60+
)
61+
bazel_dep(
62+
name = "flatbuffers",
63+
version = "25.2.10",
64+
repo_name = "com_github_google_flatbuffers",
65+
)
66+
bazel_dep(
67+
name = "cel-spec",
68+
version = "0.24.0",
69+
repo_name = "com_google_cel_spec",
70+
)
71+
72+
ANTLR4_VERSION = "4.13.2"
73+
74+
bazel_dep(
75+
name = "antlr4-cpp-runtime",
76+
version = ANTLR4_VERSION,
77+
)
78+
79+
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
80+
python.toolchain(
81+
configure_coverage_tool = False,
82+
ignore_root_user_error = True,
83+
python_version = "3.11",
84+
)
85+
86+
http_jar = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_jar")
87+
88+
http_jar(
89+
name = "antlr4_jar",
90+
sha256 = "eae2dfa119a64327444672aff63e9ec35a20180dc5b8090b7a6ab85125df4d76",
91+
urls = ["https://www.antlr.org/download/antlr-" + ANTLR4_VERSION + "-complete.jar"],
92+
)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- MODULE.bazel
2+
+++ MODULE.bazel
3+
@@ -1,5 +1,7 @@
4+
module(
5+
name = "cel-cpp",
6+
+ version = "0.14.0",
7+
+ compatibility_level = 1,
8+
)
9+
10+
bazel_dep(
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
matrix:
2+
platform:
3+
- debian11
4+
- ubuntu2004
5+
bazel:
6+
- 8.x
7+
- 7.x
8+
tasks:
9+
verify_targets:
10+
name: Verify build targets
11+
platform: ${{ platform }}
12+
bazel: ${{ bazel }}
13+
build_flags:
14+
- '--cxxopt=-std=c++17'
15+
- '--host_cxxopt=-std=c++17'
16+
- '--copt=-Wno-deprecated-declarations'
17+
- '--define=absl=1'
18+
build_targets:
19+
- '@cel-cpp//...'

modules/cel-cpp/0.14.0/source.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"url": "https://github.com/google/cel-cpp/archive/refs/tags/v0.14.0.tar.gz",
3+
"strip_prefix": "cel-cpp-0.14.0",
4+
"patch_strip": 0,
5+
"patches": {
6+
"module_dot_bazel.patch": "sha256-i1r6XKwE7+WvgKqYHAT4SRAeoXy4okAafrt4gvheU+Y="
7+
},
8+
"integrity": "sha256-Ck+aHAvMg2Kesw0cJ4iD0y3sD3Ae/Nq9e+vzP++Nq3E="
9+
}

modules/cel-cpp/metadata.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"versions": [
3333
"0.11.0",
3434
"0.12.0",
35-
"0.13.0"
35+
"0.13.0",
36+
"0.14.0"
3637
],
3738
"yanked_versions": {}
38-
}
39+
}

0 commit comments

Comments
 (0)