1212# *******************************************************************************
1313
1414bazel_dep(name = "score_bazel_cpp_toolchains", version = "0.2.2")
15+ git_override(
16+ module_name = "score_bazel_cpp_toolchains",
17+ commit = "043657585df356bab16bb742b24aa1b7996247db", # EBcLfSA toolchain update + LD_LIBRARY_PATH fix
18+ remote = "https://github.com/elektrobit-contrib/eclipse-score_bazel_cpp_toolchains.git",
19+ )
1520
1621gcc = use_extension("@score_bazel_cpp_toolchains//extensions:gcc.bzl", "gcc", dev_dependency = True)
1722gcc.toolchain(
@@ -21,40 +26,13 @@ gcc.toolchain(
2126 use_default_package = True,
2227 version = "12.2.0",
2328)
24-
25- # This is how new gcc more or less shall be registered: TBD by EB
26- # gcc.sdp(
27- # name = "fastdev_sdk",
28- # url = "https://github.com/elektrobit-contrib/eclipse-score_toolchains_gcc/releases/download/0.5.0-beta/fastdev-sdk-ubuntu-ebclfsa-ebcl-qemuarm64.tar.gz",
29- # strip_prefix = "fastdev-sdk-ubuntu-ebclfsa-ebcl-qemuarm64",
30- # sha256 = "05b57bbc8d99d46df6b57f774c39a5a2664964ea7eb94147cbece08508c1f121",
31- # build_file = "//ebclfsa_aarch64/toolchain:gcc.BUILD",
32- # )
33- # gcc.toolchain(
34- # name = "score_ebclfsa_aarch64_toolchain",
35- # sdp_to_link = "fastdev_sdk",
36- # target_os = "linux",
37- # target_cpu = "aarch64",
38- # version = "12.2.0",
39- # extra_link_flags = [
40- # "-lpthread",
41- # ]
42- # )
43-
44- # Workaround until above is fixed
45- bazel_dep(name = "score_toolchains_gcc", dev_dependency = True)
46- git_override(
47- # Elektrobit corbos Linux for Safety Applications needs a specific toolchain
48- module_name = "score_toolchains_gcc",
49- remote = "https://github.com/elektrobit-contrib/eclipse-score_toolchains_gcc.git",
50- tag = "0.5.0-beta", # corresponds to git sha 158921ffd9aabef41a2a03bca5baeaa9f4aa9d33
51- )
52-
53- eb = use_extension("@score_toolchains_gcc//extensions:gcc.bzl", "gcc", dev_dependency = True)
54- eb.toolchain(
55- sha256 = "05b57bbc8d99d46df6b57f774c39a5a2664964ea7eb94147cbece08508c1f121",
56- strip_prefix = "fastdev-sdk-ubuntu-ebclfsa-ebcl-qemuarm64",
57- url = "https://github.com/elektrobit-contrib/eclipse-score_toolchains_gcc/releases/download/0.5.0-beta/fastdev-sdk-ubuntu-ebclfsa-ebcl-qemuarm64.tar.gz",
29+ gcc.toolchain(
30+ name = "score_ebclfsa_toolchain",
31+ runtime_ecosystem = "ebclfsa",
32+ sdk_version = "0.1.0",
33+ target_cpu = "aarch64",
34+ target_os = "linux",
35+ use_default_package = True,
5836)
5937
6038bazel_dep(name = "os_autosd_toolchain", version = "0.0.1")
@@ -74,9 +52,8 @@ use_repo(autosd_10_gcc, "autosd_10_gcc_repo")
7452rpm_toolchain = use_extension("@rules_rpm//toolchain:extensions.bzl", "rpm_toolchain")
7553use_repo(rpm_toolchain, "rpm_toolchain")
7654
77- use_repo(eb, "gcc_toolchain", "gcc_toolchain_gcc")
78-
7955use_repo(
8056 gcc,
57+ "score_ebclfsa_toolchain",
8158 "score_gcc_x86_64_toolchain",
8259)
0 commit comments