walnux/libs/libbuiltin/Kconfig
wangmingrong1 e174d73cd9 clang:libclang_rt.builtins-xxx.a supports builtin
1. enable CONFIG_BUILTIN_COMPILER_RT  to built libclang_rt.builtins-xxx.a and no longer use the compiler's built-in
2. Modify clang version acquisition to get two decimal points
3. It has been ported to support four architectures: ARM, ARM64, RISCV, and x86_64, among which ARM has been validated

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2024-10-28 16:38:45 +08:00

36 lines
818 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
comment "Toolchain Library Support"
choice
prompt "Builtin toolchain support"
default BUILTIN_TOOLCHAIN
---help---
Choose to compile libraries related to toolchain into the OS
config BUILTIN_COMPILER_RT
bool "Builtin LLVM Compiler-rt"
---help---
Compile the LLVM Compiler-rt library into the OS.
config BUILTIN_TOOLCHAIN
bool "Link the toolchain library"
---help---
Use the toolchain library that comes with the compiler
endchoice
if BUILTIN_COMPILER_RT
config COMPILER_RT_VERSION
string "Select LLVM Compiler-rt version"
default "17.0.1"
config COMPILER_RT_HAS_BFLOAT16
bool "Enable support for bfloat16 in Compiler-rt"
default n
endif # BUILTIN_COMPILER_RT