Skip to content

Commit 2d9c624

Browse files
committed
Patch out duplicate clang-cl/msvc constraint and try using example module_path
1 parent 63a6272 commit 2d9c624

File tree

4 files changed

+78
-73
lines changed

4 files changed

+78
-73
lines changed

modules/protobuf/30.0-rc1/patches/remove-redundant-clang-cl-msvc-constraint.patch

Whitespace-only changes.
+51-49
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,68 @@
1-
matrix:
2-
# Removing ubuntu just for this release candidate
3-
platform: ["debian10", "macos"]
4-
bazel: [7.x, 8.x]
5-
6-
tasks:
7-
verify_targets:
8-
name: "Verify build targets"
9-
platform: ${{ platform }}
10-
bazel: ${{ bazel }}
11-
build_flags:
12-
- '--host_cxxopt=-std=c++17'
13-
- '--cxxopt=-std=c++17'
14-
build_targets:
15-
- '@protobuf//:protobuf'
16-
- '@protobuf//:protobuf_lite'
17-
- '@protobuf//:protobuf_python'
18-
- '@protobuf//:protobuf_java'
19-
- '@protobuf//:protoc'
20-
- '@protobuf//:test_messages_proto2_cc_proto'
21-
- '@protobuf//:test_messages_proto3_cc_proto'
22-
# Separating windows for different c++ build flags.
23-
verify_targets_windows:
24-
name: "Verify windows build targets"
25-
platform: windows
26-
bazel: ${{ bazel }}
27-
build_flags:
28-
- '--cxxopt=/std:c++17'
29-
- '--host_cxxopt=/std:c++17'
30-
- '--extra_execution_platforms=@protobuf//build_defs:x64_windows-clang-cl'
31-
- '--host_platform=@protobuf//build_defs:x64_windows-clang-cl'
32-
- '--extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl'
33-
build_targets:
34-
- '@protobuf//:protobuf'
35-
- '@protobuf//:protobuf_lite'
36-
- '@protobuf//:protobuf_python'
37-
- '@protobuf//:protobuf_java'
38-
- '@protobuf//:protoc'
39-
- '@protobuf//:test_messages_proto2_cc_proto'
40-
- '@protobuf//:test_messages_proto3_cc_proto'
41-
421
bcr_test_module:
43-
module_path: "examples"
2+
module_path: examples
443
matrix:
454
# Removing ubuntu just for this release candidate
465
platform: ["debian10", "macos"]
476
bazel: [7.x, 8.x]
7+
488
tasks:
49-
run_test_module:
50-
name: "Run test module"
9+
verify_targets:
10+
name: "Verify build targets"
5111
platform: ${{ platform }}
5212
bazel: ${{ bazel }}
5313
build_flags:
5414
- '--host_cxxopt=-std=c++17'
55-
- '--cxxopt=-std=c++17'
15+
- '--cxxopt=-std=c++17'
5616
build_targets:
57-
- "//..."
58-
run_test_module_windows:
59-
name: "Run windows test module"
17+
- '@protobuf//:protobuf'
18+
- '@protobuf//:protobuf_lite'
19+
- '@protobuf//:protobuf_python'
20+
- '@protobuf//:protobuf_java'
21+
- '@protobuf//:protoc'
22+
- '@protobuf//:test_messages_proto2_cc_proto'
23+
- '@protobuf//:test_messages_proto3_cc_proto'
24+
# Separating windows for different c++ build flags.
25+
verify_targets_windows:
26+
name: "Verify windows build targets"
6027
platform: windows
6128
bazel: ${{ bazel }}
6229
build_flags:
6330
- '--cxxopt=/std:c++17'
6431
- '--host_cxxopt=/std:c++17'
32+
- '--extra_execution_platforms=@protobuf//build_defs:x64_windows-clang-cl'
33+
- '--host_platform=@protobuf//build_defs:x64_windows-clang-cl'
34+
- '--extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl'
6535
build_targets:
66-
- "//..."
36+
- '@protobuf//:protobuf'
37+
- '@protobuf//:protobuf_lite'
38+
- '@protobuf//:protobuf_python'
39+
- '@protobuf//:protobuf_java'
40+
- '@protobuf//:protoc'
41+
- '@protobuf//:test_messages_proto2_cc_proto'
42+
- '@protobuf//:test_messages_proto3_cc_proto'
43+
44+
bcr_test_module:
45+
module_path: "examples"
46+
matrix:
47+
# Removing ubuntu just for this release candidate
48+
platform: ["debian10", "macos"]
49+
bazel: [7.x, 8.x]
50+
tasks:
51+
run_test_module:
52+
name: "Run test module"
53+
platform: ${{ platform }}
54+
bazel: ${{ bazel }}
55+
build_flags:
56+
- '--host_cxxopt=-std=c++17'
57+
- '--cxxopt=-std=c++17'
58+
build_targets:
59+
- "//..."
60+
run_test_module_windows:
61+
name: "Run windows test module"
62+
platform: windows
63+
bazel: ${{ bazel }}
64+
build_flags:
65+
- '--cxxopt=/std:c++17'
66+
- '--host_cxxopt=/std:c++17'
67+
build_targets:
68+
- "//..."

modules/protobuf/30.0-rc1/source.json

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"integrity": "sha256-p0wGf/NH7knNqhLEz3bbmNIsvL6iOrOBPX1TwGAToWA=",
3+
"patches": {
4+
"remove-redundant-clang-cl-msvc-constraint.patch": "sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="
5+
},
36
"strip_prefix": "protobuf-30.0-rc1",
47
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v30.0-rc1/protobuf-30.0-rc1.zip"
58
}

modules/protobuf/metadata.json

+24-24
Original file line numberDiff line numberDiff line change
@@ -22,76 +22,76 @@
2222
"name": "Jerry Berg"
2323
},
2424
{
25+
"do_not_notify": true,
2526
"email": "[email protected]",
2627
"github": "acozzette",
27-
"name": "Adam Cozzette",
28-
"do_not_notify": true
28+
"name": "Adam Cozzette"
2929
},
3030
{
31+
"do_not_notify": true,
3132
"email": "[email protected]",
3233
"github": "deannagarcia",
33-
"name": "Deanna Garcia",
34-
"do_not_notify": true
34+
"name": "Deanna Garcia"
3535
},
3636
{
37+
"do_not_notify": true,
3738
"email": "[email protected]",
3839
"github": "esrauchg",
39-
"name": "Em Rauch",
40-
"do_not_notify": true
40+
"name": "Em Rauch"
4141
},
4242
{
43+
"do_not_notify": true,
4344
"email": "[email protected]",
4445
"github": "haberman",
45-
"name": "Josh Haberman",
46-
"do_not_notify": true
46+
"name": "Josh Haberman"
4747
},
4848
{
49+
"do_not_notify": true,
4950
"email": "[email protected]",
5051
"github": "honglooker",
51-
"name": "Hong Shin",
52-
"do_not_notify": true
52+
"name": "Hong Shin"
5353
},
5454
{
55+
"do_not_notify": true,
5556
"email": "[email protected]",
5657
"github": "JasonLunn",
57-
"name": "Jason Lunn",
58-
"do_not_notify": true
58+
"name": "Jason Lunn"
5959
},
6060
{
61+
"do_not_notify": true,
6162
"email": "[email protected]",
6263
"github": "anandolee",
63-
"name": "Jie Luo",
64-
"do_not_notify": true
64+
"name": "Jie Luo"
6565
},
6666
{
67+
"do_not_notify": true,
6768
"email": "[email protected]",
6869
"github": "salo",
69-
"name": "Eric Salo",
70-
"do_not_notify": true
70+
"name": "Eric Salo"
7171
},
7272
{
73+
"do_not_notify": true,
7374
"email": "[email protected]",
7475
"github": "sbenzaquen",
75-
"name": "Samuel Benzaquen",
76-
"do_not_notify": true
76+
"name": "Samuel Benzaquen"
7777
},
7878
{
79+
"do_not_notify": true,
7980
"email": "[email protected]",
8081
"github": "shaod2",
81-
"name": "Dennis Shao",
82-
"do_not_notify": true
82+
"name": "Dennis Shao"
8383
},
8484
{
85+
"do_not_notify": true,
8586
"email": "[email protected]",
8687
"github": "theodorerose",
87-
"name": "Theodore Rose",
88-
"do_not_notify": true
88+
"name": "Theodore Rose"
8989
},
9090
{
91+
"do_not_notify": true,
9192
"email": "[email protected]",
9293
"github": "tonyliaoss",
93-
"name": "Tony Liao",
94-
"do_not_notify": true
94+
"name": "Tony Liao"
9595
}
9696
],
9797
"repository": [

0 commit comments

Comments
 (0)