Daniel Kowalski created a merge request: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/308

Project:Branches: kowal256/rtems-source-builder:llvm4space-llvm-update-rebased 
to rtems/tools/rtems-source-builder:main
Author: Daniel Kowalski

## Summary

Add support for building multilib LLVM-based toolchains

This MR adds new build-sets rtems-riscv-llvm and rtems-sparc-llvm that build 
LLVM toolchains with newlib as C library,

multilib.yaml files for multilib variants selection are included for RISC-V and 
SPARC platforms, build-sets list multilib variants to be compiled as triples 

target:subdirectory:compile flags

other platforms can be added using similar pattern, multilib.yaml installed in 
resulting clang toolchain must match list of variants.

clang is compiled using ninja tool, newlib is used as C library, 
clang_rt.builtins, clang_rt.profile, libcxx, libcxxabi, libunwind are built for 
each multilib variant

libgcc.a is symlinked to libclang_rt.builtins.a for programs using -lgcc in 
build flags

Use 7/rtems-sparc-llvm or 7/rtems-riscv-llvm build sets to build toolchains 

## Generative AI

<!--If you have used AI please use the "AI Contribution" template otherwise 
leave this blank see our fulls statement at 
https://www.rtems.org/generative-ai/-->

<!--Default settings, if it is a dropdown it will set after submission-->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/308
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/14/sent_notifications/6-7e6twodb2q0xqsvve28577s90-e/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to