Conversation
|
This is based on #23, so that one should very likely go in first, and then this one should be re-based and merged. |
|
There is one open question here: EBcLfSA requires an additional tool to be available. It is called "ELF-Enabler". The purposed of the tool is to post-process an ELF-binary and mark it as "High-Integrity Application (HI-Application; "safe executable", colloquially speaking). This tool will, of course, not exist in any other toolchain. How can such a tool be integrated cleanly? The previous method can be seen in this diff (search for |
examples/MODULE.bazel
Outdated
| git_override( | ||
| module_name = "score_bazel_platforms", | ||
| commit = "43a7444afdd8f990f231e1b38c668d0f5719d5d5", | ||
| remote = "https://github.com/elektrobit-contrib/eclipse-score_bazel_platforms.git", | ||
| ) | ||
|
|
There was a problem hiding this comment.
This PR requires eclipse-score/bazel_platforms#12. Once that is "in", the git_overrides can be removed.
MODULE.bazel
Outdated
| git_override( | ||
| module_name = "score_bazel_platforms", | ||
| commit = "43a7444afdd8f990f231e1b38c668d0f5719d5d5", | ||
| remote = "https://github.com/elektrobit-contrib/eclipse-score_bazel_platforms.git", | ||
| ) |
There was a problem hiding this comment.
This PR requires eclipse-score/bazel_platforms#12. Once that is "in", the git_overrides can be removed.
examples/.bazelrc
Outdated
| build:aarch64-ebclfsa --config=shared | ||
| build:aarch64-ebclfsa --platforms=@score_bazel_platforms//:aarch64-linux-gcc_ebclfsa-0.1.0-ebclfsa | ||
| build:aarch64-ebclfsa --extra_toolchains=@score_ebclfsa_toolchain//:aarch64-linux-gcc_ebclfsa-0.1.0-ebclfsa | ||
| build:aarch64-ebclfsa --spawn_strategy=local No newline at end of file |
There was a problem hiding this comment.
The toolchain does not work without --spawn_strategy=local. It is unclear right now if this can be alleviated.
81275df to
eeb96a3
Compare
|
Depends on #31 |
The new toolchain comes with set of requirements which we now updated so that toolchain definition can be made based on selected constraints. Also several new input arguments have been added. - sdk_version - use_base_constraints_only
42141ea to
4dcf46a
Compare
Added "aarch64-linux-sdk_0.1.0-ebclfsa", a GCC-based toolchain for EB corbos Linux for Safety Applications. This is *not* the final toolchain, since that will require a clang-based compiler and a special libc.
4dcf46a to
8bbdb6f
Compare
Added "aarch64-linux-gcc-ebclfsa-0.1.0", a GCC-based toolchain for EB corbos Linux for Safety Applications. This is not the final toolchain, since that will require a clang-based compiler and a special libc. Hence, this has a pre-1.0.0 version.