Skip to content

Clang compliler support#44

Merged
MofX merged 2 commits intoElektrobit:mainfrom
dvi-aox:clang_compliler_support
Feb 13, 2025
Merged

Clang compliler support#44
MofX merged 2 commits intoElektrobit:mainfrom
dvi-aox:clang_compliler_support

Conversation

@dvi-aox
Copy link
Contributor

@dvi-aox dvi-aox commented Jan 23, 2025

ebclfsa-layer: Add Clang/LLVM as an alternative compiler for hi-apps

Update the Dockerfile to include Clang, LLVM, and LLD as alternative toolchain components for building high-integrity applications.

ebclfsa-layer: update CMake config files

Edited the CMake JSON configuration files to replace the default GCC-based build system with the:
Clang as the compiler
LLD as the linker
musl as the standard C library

Copy link
Contributor

@MofX MofX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please replace the existing ebclfa toolchain and don't create a new one

@dvi-aox dvi-aox force-pushed the clang_compliler_support branch 3 times, most recently from 83418d0 to ef6dafe Compare January 24, 2025 09:08
@dvi-aox dvi-aox force-pushed the clang_compliler_support branch from ef6dafe to dd1db6f Compare February 7, 2025 09:40
@dvi-aox dvi-aox requested review from MofX and simone-weiss February 7, 2025 09:41
@dvi-aox dvi-aox force-pushed the clang_compliler_support branch from dd1db6f to 62ad348 Compare February 11, 2025 13:10
@dvi-aox dvi-aox requested a review from MofX February 11, 2025 13:19
@dvi-aox dvi-aox force-pushed the clang_compliler_support branch from 62ad348 to fdcb798 Compare February 12, 2025 07:57
@dvi-aox dvi-aox requested a review from MofX February 12, 2025 07:57
Copy link
Contributor

@MofX MofX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After this last CR this can be merged. I tested it already.

Description:
Update the Dockerfile to include Clang, LLVM, and LLD as alternative toolchain components for building high-integrity applications.

Changes include:
  Install Clang as the alternative compiler
  Add LLVM utilities
  Include LLD as the linker

This addition provides flexibility to use Clang/LLVM for hi-apps builds.
Edited the CMake JSON configuration files to replace the default GCC-based build system with the following:
  Clang as the compiler
  LLD as the linker
  musl as the standard C library
@dvi-aox dvi-aox force-pushed the clang_compliler_support branch from fdcb798 to 4b1a7a9 Compare February 12, 2025 14:06
@dvi-aox dvi-aox requested a review from MofX February 12, 2025 14:07
@MofX MofX merged commit a387564 into Elektrobit:main Feb 13, 2025
1 check passed
@dvi-aox dvi-aox deleted the clang_compliler_support branch June 27, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants