Skip to content

Commit 0a23f57

Browse files
committed
try using the latest llvm/clang
1 parent 3a52581 commit 0a23f57

1 file changed

Lines changed: 1 addition & 24 deletions

File tree

MODULE.bazel

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,7 @@ bazel_dep(name = "rules_cc", version = "0.2.18")
66
# hermetic LLVM toolchain (for C++ compiler and linker)
77
bazel_dep(name = "llvm", version = "0.7.8")
88

9-
# Configure LLVM 21.1.8
10-
llvm_source = use_extension("@llvm//extensions:llvm_source.bzl", "llvm_source")
11-
llvm_source.version(llvm_version = "21.1.8")
12-
13-
toolchain = use_extension("@llvm//extensions:toolchain.bzl", "toolchain")
14-
toolchain.exec(
15-
arch = "x86_64",
16-
os = "linux",
17-
)
18-
toolchain.exec(
19-
arch = "aarch64",
20-
os = "linux",
21-
)
22-
toolchain.target(
23-
arch = "x86_64",
24-
os = "linux",
25-
)
26-
toolchain.target(
27-
arch = "aarch64",
28-
os = "linux",
29-
)
30-
use_repo(toolchain, "llvm_toolchains")
31-
32-
register_toolchains("@llvm_toolchains//:all")
9+
register_toolchains("@llvm//:all")
3310

3411
# Gazelle puglin for BUILD file autogeneration
3512
bazel_dep(name = "gazelle", version = "0.47.0")

0 commit comments

Comments
 (0)