Implement Bazel Clang toolchain

This commit is contained in:
2025-07-08 20:03:57 +02:00
parent 00ea14788f
commit c6e86604be
17 changed files with 794 additions and 54 deletions

View File

@ -0,0 +1,18 @@
# Copyright 2025 Steven Le Rouzic
#
# SPDX-License-Identifier: BSD-3-Clause
load(":toolchain_config.bzl", "declare_toolchain")
filegroup(name = "empty")
PAIRS = [
("windows", "x86_64"),
("linux", "x86_64"),
]
[
declare_toolchain(name = "%s_%s_toolchain" % (os, arch), os = os, arch = arch)
for (os, arch) in PAIRS
]