bazel: move toolchains into bazel folder

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-03-13 11:45:50 +01:00
parent 1a4c1f34bc
commit 9b3af5af76
12 changed files with 10 additions and 10 deletions

View File

@ -80,7 +80,7 @@ configure_make_variant(
"libcrypto-1_1-x64.dll",
],
targets = MAKE_TARGETS,
toolchain = "@rules_foreign_cc//toolchains:preinstalled_nmake_toolchain",
toolchain = "@rules_foreign_cc//bazel/toolchains:preinstalled_nmake_toolchain",
toolchains = ["@rules_perl//:current_toolchain"],
)

View File

@ -1,15 +1,15 @@
load("//toolchains:java_deps.bzl", "java_deps")
load("//bazel/toolchains:java_deps.bzl", "java_deps")
java_deps()
# Go toolchain
load("//toolchains:go_rules_deps.bzl", "go_deps")
load("//bazel/toolchains:go_rules_deps.bzl", "go_deps")
go_deps()
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
load("//toolchains:go_module_deps.bzl", "go_dependencies")
load("//bazel/toolchains:go_module_deps.bzl", "go_dependencies")
# gazelle:repository_macro toolchains/go_module_deps.bzl%go_dependencies
go_dependencies()
@ -23,7 +23,7 @@ gazelle_dependencies(go_repository_default_config = "//:WORKSPACE.bazel")
# gazelle:repo bazel_gazelle
# proto toolchain
load("//toolchains:proto_deps.bzl", "proto_deps")
load("//bazel/toolchains:proto_deps.bzl", "proto_deps")
proto_deps()
@ -35,7 +35,7 @@ rules_proto_toolchains()
# dnf / rpm toolchain
load("//toolchains:dnf_deps.bzl", "dnf_deps")
load("//bazel/toolchains:dnf_deps.bzl", "dnf_deps")
dnf_deps()
@ -48,13 +48,13 @@ load("//rpm:rpms.bzl", "rpms")
rpms()
# Buildifier
load("//toolchains:buildifier_deps.bzl", "buildifier_deps")
load("//bazel/toolchains:buildifier_deps.bzl", "buildifier_deps")
buildifier_deps()
# C / C++ toolchains
load("//toolchains:zig_cc_deps.bzl", "zig_cc_deps")
load("//bazel/toolchains:zig_cc_deps.bzl", "zig_cc_deps")
zig_cc_deps()
@ -111,7 +111,7 @@ load("//3rdparty/bazel/org_openssl:openssl_setup.bzl", "openssl_setup")
openssl_setup()
# Packaging rules (tar)
load("//toolchains:pkg_deps.bzl", "pkg_deps")
load("//bazel/toolchains:pkg_deps.bzl", "pkg_deps")
pkg_deps()
@ -120,7 +120,7 @@ load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
# OCI rules
load("//toolchains:oci_deps.bzl", "oci_deps")
load("//bazel/toolchains:oci_deps.bzl", "oci_deps")
oci_deps()