Files
abc/MODULE.bazel

18 lines
535 B
Python

# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) 2025, Precision Innovations Inc.
## Fix the compiler version and avoid any local compiler
bazel_dep(name = "toolchains_llvm", version = "1.5.0")
# Configure and register the toolchain.
llvm = use_extension("@toolchains_llvm//toolchain/extensions:llvm.bzl", "llvm")
llvm.toolchain(
llvm_version = "20.1.8",
)
use_repo(llvm, "llvm_toolchain")
# FYI: Comment out on NixOS where you'd like to use the local clang toolchain.
register_toolchains(
"@llvm_toolchain//:all",
)