Skip to content

Commit

Permalink
Update LLVM toolchain
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 15163d55c5fa8cbe8757b17ea56a5894c1b216db
  • Loading branch information
Vertexwahn committed Jan 19, 2025
1 parent 9a5f7e7 commit 6ddadea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion devertexwahn/.bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.0.1
7.4.1
16 changes: 7 additions & 9 deletions devertexwahn/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -141,25 +141,23 @@ local_path_override(
)

#-------------------------------------------------------------------------------------
# LLVM toolchain for bazel
# LLVM toolchain for Bazel
#-------------------------------------------------------------------------------------

bazel_dep(name = "toolchains_llvm", version = "0.10.3")
bazel_dep(name = "toolchains_llvm", version = "1.2.0")
git_override(
module_name = "toolchains_llvm",
commit = "bba94f8138ab454d70afcd263788b34e2801e2ba",
commit = "b3c96d2dbc698eab752366bbe747e2a7df7fa504",
remote = "https://github.com/bazel-contrib/toolchains_llvm.git",
)

bazel_dep(name = "rules_foreign_cc", version = "0.12.0")

# Configure and register the toolchain.
llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm")

LLVM_VERSIONS = {
"": "16.0.0", # Default version 16.0.0
"darwin-aarch64": "16.0.5",
"darwin-x86_64": "15.0.7",
"": "19.1.3", # Default version 19.1.3
"darwin-aarch64": "19.1.3",
"darwin-x86_64": "19.1.3",
}

llvm.toolchain(
Expand All @@ -168,7 +166,7 @@ llvm.toolchain(
)
use_repo(llvm, "llvm_toolchain", "llvm_toolchain_llvm")

register_toolchains("@llvm_toolchain//:all")
#register_toolchains("@llvm_toolchain//:all")

#-------------------------------------------------------------------------------------
# Python
Expand Down

0 comments on commit 6ddadea

Please sign in to comment.