load(":cc_toolchain_config.bzl", "cc_toolchain_config") package(default_visibility = ["//visibility:public"]) cc_toolchain_config(name = "system_gcc_config") filegroup( name = "compiler_files", srcs = ["preinclude.h"], ) cc_toolchain( name = "system_gcc_toolchain", toolchain_config = ":system_gcc_config", all_files = ":compiler_files", ar_files = ":empty", as_files = ":empty", compiler_files = ":compiler_files", dwp_files = ":empty", linker_files = ":empty", objcopy_files = ":empty", strip_files = ":empty", supports_param_files = 0, ) toolchain( name = "system_gcc_toolchain_def", exec_compatible_with = [ "@platforms//os:linux", "@platforms//cpu:x86_64", ], target_compatible_with = [ "@platforms//os:linux", "@platforms//cpu:x86_64", ], toolchain = ":system_gcc_toolchain", toolchain_type = "@bazel_tools//tools/cpp:toolchain_type", ) filegroup(name = "empty")