|
58 | 58 | - "--test_output=errors"
|
59 | 59 | - "--cxxopt=-std=c++17"
|
60 | 60 | - "--host_cxxopt=-std=c++17"
|
61 |
| - - "--copt=-march=armv8.3-a+pauth" |
62 |
| - - "--host_copt=-march=armv8.3-a+pauth" |
| 61 | + - "--repo_env=CC=clang" |
63 | 62 | test_targets:
|
64 | 63 | - "//examples/routeguide:cpp_cpp"
|
65 | 64 | - "//examples/routeguide:cpp_csharp"
|
@@ -198,7 +197,7 @@ tasks:
|
198 | 197 | name: Buf
|
199 | 198 | platform: ubuntu2004_arm64
|
200 | 199 | environment:
|
201 |
| - BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --copt=-march=armv8.3-a+pauth --host_copt=-march=armv8.3-a+pauth" |
| 200 | + BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=CC=clang" |
202 | 201 | shell_commands:
|
203 | 202 | - set -x
|
204 | 203 | - make buf_buf_proto_breaking_test_example
|
@@ -240,7 +239,7 @@ tasks:
|
240 | 239 | name: C++
|
241 | 240 | platform: ubuntu2004_arm64
|
242 | 241 | environment:
|
243 |
| - BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --copt=-march=armv8.3-a+pauth --host_copt=-march=armv8.3-a+pauth" |
| 242 | + BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=CC=clang" |
244 | 243 | shell_commands:
|
245 | 244 | - set -x
|
246 | 245 | - make cpp_cpp_proto_compile_example
|
@@ -288,7 +287,7 @@ tasks:
|
288 | 287 | name: C#
|
289 | 288 | platform: ubuntu2004_arm64
|
290 | 289 | environment:
|
291 |
| - BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --copt=-march=armv8.3-a+pauth --host_copt=-march=armv8.3-a+pauth" |
| 290 | + BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=CC=clang" |
292 | 291 | shell_commands:
|
293 | 292 | - set -x
|
294 | 293 | - make csharp_csharp_proto_compile_example
|
@@ -337,7 +336,7 @@ tasks:
|
337 | 336 | name: Documentation
|
338 | 337 | platform: ubuntu2004_arm64
|
339 | 338 | environment:
|
340 |
| - BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --copt=-march=armv8.3-a+pauth --host_copt=-march=armv8.3-a+pauth" |
| 339 | + BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=CC=clang" |
341 | 340 | shell_commands:
|
342 | 341 | - set -x
|
343 | 342 | - make doc_doc_docbook_compile_example
|
@@ -388,7 +387,7 @@ tasks:
|
388 | 387 | name: Go
|
389 | 388 | platform: ubuntu2004_arm64
|
390 | 389 | environment:
|
391 |
| - BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --copt=-march=armv8.3-a+pauth --host_copt=-march=armv8.3-a+pauth" |
| 390 | + BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=CC=clang" |
392 | 391 | shell_commands:
|
393 | 392 | - set -x
|
394 | 393 | - make go_go_proto_compile_example
|
@@ -436,7 +435,7 @@ tasks:
|
436 | 435 | name: gRPC-Gateway
|
437 | 436 | platform: ubuntu2004_arm64
|
438 | 437 | environment:
|
439 |
| - BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --copt=-march=armv8.3-a+pauth --host_copt=-march=armv8.3-a+pauth" |
| 438 | + BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=CC=clang" |
440 | 439 | shell_commands:
|
441 | 440 | - set -x
|
442 | 441 | - make grpc_gateway_gateway_grpc_compile_example
|
@@ -484,7 +483,7 @@ tasks:
|
484 | 483 | name: Java
|
485 | 484 | platform: ubuntu2004_arm64
|
486 | 485 | environment:
|
487 |
| - BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --copt=-march=armv8.3-a+pauth --host_copt=-march=armv8.3-a+pauth" |
| 486 | + BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=CC=clang" |
488 | 487 | shell_commands:
|
489 | 488 | - set -x
|
490 | 489 | - make java_java_proto_compile_example
|
@@ -532,7 +531,7 @@ tasks:
|
532 | 531 | name: JavaScript
|
533 | 532 | platform: ubuntu2004_arm64
|
534 | 533 | environment:
|
535 |
| - BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --copt=-march=armv8.3-a+pauth --host_copt=-march=armv8.3-a+pauth" |
| 534 | + BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=CC=clang" |
536 | 535 | shell_commands:
|
537 | 536 | - set -x
|
538 | 537 | - make js_js_proto_compile_example
|
@@ -574,7 +573,7 @@ tasks:
|
574 | 573 | name: Python
|
575 | 574 | platform: ubuntu2004_arm64
|
576 | 575 | environment:
|
577 |
| - BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --copt=-march=armv8.3-a+pauth --host_copt=-march=armv8.3-a+pauth" |
| 576 | + BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=CC=clang" |
578 | 577 | shell_commands:
|
579 | 578 | - set -x
|
580 | 579 | - make python_python_proto_compile_example
|
@@ -628,7 +627,7 @@ tasks:
|
628 | 627 | name: Scala
|
629 | 628 | platform: ubuntu2004_arm64
|
630 | 629 | environment:
|
631 |
| - BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --copt=-march=armv8.3-a+pauth --host_copt=-march=armv8.3-a+pauth" |
| 630 | + BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=CC=clang" |
632 | 631 | shell_commands:
|
633 | 632 | - set -x
|
634 | 633 | - make scala_scala_proto_compile_example
|
@@ -718,7 +717,7 @@ tasks:
|
718 | 717 | name: Test Workspaces
|
719 | 718 | platform: ubuntu2004_arm64
|
720 | 719 | environment:
|
721 |
| - BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --copt=-march=armv8.3-a+pauth --host_copt=-march=armv8.3-a+pauth" |
| 720 | + BAZEL_EXTRA_FLAGS: "--cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=CC=clang" |
722 | 721 | shell_commands:
|
723 | 722 | - set -x
|
724 | 723 | - make test_workspace_absolute_strip_import_prefix
|
|
0 commit comments