1111# SPDX-License-Identifier: Apache-2.0
1212# *******************************************************************************
1313
14- bazel_dep(name = "score_bazel_cpp_toolchains", version = "0.5.4")
14+ bazel_dep(name = "score_bazel_cpp_toolchains", version = "1.0.2")
15+ bazel_dep(name = "score_cpp_policies", version = "0.1.1")
1516
1617gcc = use_extension("@score_bazel_cpp_toolchains//extensions:gcc.bzl", "gcc", dev_dependency = True)
1718gcc.toolchain(
1819 name = "score_gcc_x86_64_toolchain",
20+ extra_known_features = [
21+ "@score_cpp_policies//warnings/gcc/features:minimal_warnings",
22+ "@score_cpp_policies//warnings/gcc/features:strict_warnings",
23+ "@score_cpp_policies//warnings/gcc/features:all_wall_warnings",
24+ "@score_cpp_policies//warnings/gcc/features:warnings_as_errors",
25+ ],
1926 target_cpu = "x86_64",
2027 target_os = "linux",
2128 use_default_package = True,
2229 version = "12.2.0",
2330)
2431gcc.toolchain(
2532 name = "score_ebclfsa_toolchain",
33+ extra_known_features = [
34+ "@score_cpp_policies//warnings/gcc/features:minimal_warnings",
35+ "@score_cpp_policies//warnings/gcc/features:strict_warnings",
36+ "@score_cpp_policies//warnings/gcc/features:all_wall_warnings",
37+ "@score_cpp_policies//warnings/gcc/features:warnings_as_errors",
38+ ],
2639 runtime_ecosystem = "ebclfsa",
2740 sdk_version = "0.1.0",
2841 target_cpu = "aarch64",
@@ -33,6 +46,12 @@ gcc.toolchain(
3346## AutoSD10 Toolchain
3447gcc.toolchain(
3548 name = "score_autosd10_x86_64_toolchain",
49+ extra_known_features = [
50+ "@score_cpp_policies//warnings/gcc/features:minimal_warnings",
51+ "@score_cpp_policies//warnings/gcc/features:strict_warnings",
52+ "@score_cpp_policies//warnings/gcc/features:all_wall_warnings",
53+ "@score_cpp_policies//warnings/gcc/features:warnings_as_errors",
54+ ],
3655 runtime_ecosystem = "autosd10",
3756 target_cpu = "x86_64",
3857 target_os = "linux",
0 commit comments