From e6eabbd6cd965b3cb07a38ecc3587cd2e4786675 Mon Sep 17 00:00:00 2001 From: clice-bot <306533837+clice-bot@users.noreply.github.com> Date: Thu, 15 Oct 2026 04:52:12 +0000 Subject: [PATCH] publish: modules from clice-io/xclang --- modules/xclang/23.1.3.3/MODULE.bazel | 47 ++++++++++++++++++++++++++++ modules/xclang/23.1.3.3/source.json | 5 +++ 2 files changed, 52 insertions(+) create mode 100644 modules/xclang/23.1.3.3/MODULE.bazel create mode 100644 modules/xclang/23.1.3.3/source.json diff --git a/modules/xclang/23.1.3.3/MODULE.bazel b/modules/xclang/23.1.3.3/MODULE.bazel new file mode 100644 index 0000000..a3f8269 --- /dev/null +++ b/modules/xclang/23.1.3.3/MODULE.bazel @@ -0,0 +1,47 @@ +"""xclang as a Bazel module: the C++ toolchains of the host for every target, +platforms for those targets, and libclang and the option tables as +repositories, all from the release of the module's version +(bazel/versions.bzl); the vendor SDKs a root module accepts the license of +(bazel/sdk.bzl).""" + +module( + name = "xclang", + version = "23.1.3.3", + bazel_compatibility = [">=9.0.0"], +) + +bazel_dep(name = "platforms", version = "1.0.0") +bazel_dep(name = "rules_cc", version = "0.2.25") + +# What rules_cc's unix toolchain config loads; xclang loads its own patched +# copy of that file (bazel/repositories.bzl), which resolves them from here. +bazel_dep(name = "apple_support", version = "2.8.0") +bazel_dep(name = "bazel_features", version = "1.50.0") +bazel_dep(name = "bazel_skylib", version = "1.8.0") + +xclang = use_extension("//bazel:extensions.bzl", "xclang") +use_repo( + xclang, + "libclang", + "xclang_aarch64-apple-darwin", + "xclang_aarch64-unknown-linux-gnu", + "xclang_aarch64-w64-mingw32", + "xclang_macos_sdk", + "xclang_sdks", + "xclang_thinlto_cache", + "xclang_unix_config", + "xclang_windows_sdk_aarch64", + "xclang_windows_sdk_x86_64", + "xclang_x86_64-apple-darwin", + "xclang_x86_64-unknown-linux-gnu", + "xclang_x86_64-w64-mingw32", +) + +# The toolchains of the C libraries that are not their os's own first, musl's +# and the MSVC targets': they ask a platform for it, the others only for os +# and cpu, which a platform of those has too. +register_toolchains( + "//bazel/toolchains/musl:all", + "//bazel/toolchains/msvc:all", + "//bazel/toolchains:all", +) diff --git a/modules/xclang/23.1.3.3/source.json b/modules/xclang/23.1.3.3/source.json new file mode 100644 index 0000000..726fe72 --- /dev/null +++ b/modules/xclang/23.1.3.3/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-xsZHOUqcU6g/+1yrMRUfSlUw8KAzsg/xrfev6O2qWek=", + "strip_prefix": "xclang-bazel-23.1.3.3", + "url": "https://github.com/clice-io/bazel/releases/download/xclang-23.1.3.3/xclang-bazel-23.1.3.3.tar.gz" +}