walnux/libs/libbuiltin/Kconfig
wangmingrong1 e3917e2f09 libbuitin/compiler_rt: Supports separate builtin rt.builtins or rt.profile
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
2024-11-12 16:12:53 +08:00

46 lines
969 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"
config LIB_BUILTIN
bool
config LIB_COMPILER_RT
bool
choice
prompt "Builtin toolchain support"
default BUILTIN_TOOLCHAIN
---help---
Select the builtin library
config BUILTIN_COMPILER_RT
bool "Builtin LLVM libclang_rt.builtins"
select LIB_BUILTIN
select LIB_COMPILER_RT
---help---
Compile the LLVM Compiler-rt library into the OS.
config BUILTIN_TOOLCHAIN
bool "Link toolchain builtin library to the OS"
endchoice
config COVERAGE_COMPILER_RT
bool "Builtin libclang_rt.profile"
select LIB_BUILTIN
select LIB_COMPILER_RT
default n
config LIB_COMPILER_RT_VERSION
string "Select LLVM Compiler-rt version"
depends on LIB_COMPILER_RT
default "17.0.1"
config LIB_COMPILER_RT_HAS_BFLOAT16
bool "Enable support for bfloat16 in Compiler-rt"
depends on LIB_COMPILER_RT
default n