Repository navigation
v0.0.2
MODULE.bazel
bazel_dep(name = "toolchains_riscv_gnu", version = "0.0.2")
# Toolchains: riscv-none-elf
riscv_toolchain = use_extension("@toolchains_riscv_gnu//:extensions.bzl", "riscv_toolchain")
riscv_toolchain.riscv_none_elf(version = "13.2.1")
use_repo(
riscv_toolchain,
"riscv_none_elf",
"riscv_none_elf_darwin_arm64",
"riscv_none_elf_darwin_x86_64",
"riscv_none_elf_linux_aarch64",
"riscv_none_elf_linux_x86_64",
"riscv_none_elf_windows_x86_64",
)
register_toolchains("@riscv_none_elf//toolchain:all")WORKSPACE
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_cc",
sha256 = "2037875b9a4456dce4a79d112a8ae885bbc4aad968e6587dca6e64f3a0900cdf",
strip_prefix = "rules_cc-0.0.9",
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz"],
)
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "toolchains_riscv_gnu",
remote = "https://github.com/hexdae/toolchains_riscv_gnu",
tag = "v0.0.2",
)
load("@toolchains_riscv_gnu//:deps.bzl", "riscv_none_elf_deps")
riscv_none_elf_deps()
register_toolchains("@riscv_none_elf//toolchain:all")What's Changed
Full Changelog: v0.0.1...v0.0.2