mirror of
https://github.com/The-OpenROAD-Project/abc.git
synced 2026-03-12 11:26:17 +08:00
Some checks failed
Build Posix Bazel / build-posix-bazel (push) Has been cancelled
Build Posix CMake / build-posix-cmake (macos-latest, false) (push) Has been cancelled
Build Posix CMake / build-posix-cmake (macos-latest, true) (push) Has been cancelled
Build Posix CMake / build-posix-cmake (ubuntu-latest, false) (push) Has been cancelled
Build Posix CMake / build-posix-cmake (ubuntu-latest, true) (push) Has been cancelled
Build Posix / build-posix (macos-latest, false) (push) Has been cancelled
Build Posix / build-posix (macos-latest, true) (push) Has been cancelled
Build Posix / build-posix (ubuntu-latest, false) (push) Has been cancelled
Build Posix / build-posix (ubuntu-latest, true) (push) Has been cancelled
Build Windows / build-windows (push) Has been cancelled
Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
21 lines
632 B
Python
21 lines
632 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",
|
|
)
|
|
|
|
bazel_dep(name = "zlib", version = "1.3.1.bcr.5")
|
|
bazel_dep(name = "readline", version = "8.3")
|