grpc/bazel
AJ Heller da05edc802 [build] Support clang-cl for Windows builds (best effort) (#36831)
Usage: `bazel build --config=clang-cl --build_tag_filters=-no_windows :all`

The highlight, for me anyway: thread safety annotation checking can now be done on Windows-only code.

clang-cl's interpretation of `-Wall` differs from that of clang on linux. This PR uses the set of warnings enabled on linux, and whittles down the list until all builds pass. I left comments in `copts.bzl` describing the warnings, many of which can be removed with targeted code cleanups.

Closes #36831

PiperOrigin-RevId: 641009783
2024-06-06 13:54:12 -07:00
..
platforms/android [build] rename android platforms to match CPU arch (#36715) 2024-06-06 10:20:05 -07:00
BUILD Internal change 2023-12-13 20:06:30 -08:00
_gevent_test_main.py [Test] Do not use importlib find_module API, removed in Python 3.12 (#33506) 2023-09-06 13:13:12 -07:00
cc_grpc_library.bzl Internal change 2023-12-13 20:06:30 -08:00
copts.bzl [build] Support clang-cl for Windows builds (best effort) (#36831) 2024-06-06 13:54:12 -07:00
custom_exec_properties.bzl Internal change 2023-12-13 20:06:30 -08:00
cython_library.bzl [EventEngine] Disable EventEngine polling in gRPC Python (#33279) 2023-05-30 19:26:44 -07:00
experiments.bzl [call-v3] Client call implementation (#36724) 2024-06-05 09:57:33 -07:00
generate_cc.bzl inline bounded external:protocol_compiler (#36262) 2024-05-31 11:41:16 -07:00
generate_objc.bzl inline bounded external:protocol_compiler (#36262) 2024-05-31 11:41:16 -07:00
gevent_test.bzl [Python fix-it][Gevent] Enable gevent _dynamic_stubs_test (#32842) 2023-04-12 14:03:31 -07:00
googleapis.BUILD Internal change 2023-11-13 21:49:47 +00:00
grpc_build_system.bzl [build] Support clang-cl for Windows builds (best effort) (#36831) 2024-06-06 13:54:12 -07:00
grpc_deps.bzl [build] Support clang-cl for Windows builds (best effort) (#36831) 2024-06-06 13:54:12 -07:00
grpc_extra_deps.bzl [build] Update Gazelle bazel dependency (#36745) 2024-05-28 16:42:29 -07:00
grpc_python_deps.bzl Fix breakage when built against protobuf head (#34945) 2024-01-19 12:43:14 -08:00
grpc_util.bzl Internal change 2023-12-13 20:06:30 -08:00
internal_python_rules.bzl Remove Python2 from python_configure.bzl (#28406) 2021-12-28 10:16:14 -08:00
objc_grpc_library.bzl Internal change 2023-12-13 20:06:30 -08:00
protobuf.bzl Internal change 2023-12-13 20:06:30 -08:00
python_rules.bzl inline bounded external:protocol_compiler (#36262) 2024-05-31 11:41:16 -07:00
supported_versions.txt [CI] Moved to Bazel 7 (#36105) 2024-03-20 16:16:12 -07:00
test_experiments.bzl [experiments] Allow experiments to opt-in to testing against all pollers (default to not) (#35683) 2024-01-26 15:47:13 -08:00
update_mirror.sh [CI] Bazel upgrade (#36104) 2024-03-15 14:08:10 -07:00