Convert to bzlmod

This commit is contained in:
Evan Fiordeliso 2023-11-28 22:51:47 -05:00
parent 95852888e1
commit 6b5b92d7ef
4 changed files with 2 additions and 21 deletions

2
.bazelrc Normal file
View File

@ -0,0 +1,2 @@
# Enable Bzlmod for every Bazel command
common --enable_bzlmod

0
MODULE.bazel Normal file
View File

View File

@ -1,21 +0,0 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "aspect_gcc_toolchain",
sha256 = "3341394b1376fb96a87ac3ca01c582f7f18e7dc5e16e8cf40880a31dd7ac0e1e",
strip_prefix = "gcc-toolchain-0.4.2",
urls = [
"https://github.com/aspect-build/gcc-toolchain/archive/refs/tags/0.4.2.tar.gz",
],
)
load("@aspect_gcc_toolchain//toolchain:repositories.bzl", "gcc_toolchain_dependencies")
gcc_toolchain_dependencies()
load("@aspect_gcc_toolchain//toolchain:defs.bzl", "gcc_register_toolchain", "ARCHS")
gcc_register_toolchain(
name = "gcc_toolchain_x86_64",
target_arch = ARCHS.x86_64,
)