1 config BR2_PACKAGE_LLVM_ARCH_SUPPORTS
4 default y if BR2_x86_64
5 default y if BR2_aarch64
6 default y if BR2_arm || BR2_armeb
8 config BR2_PACKAGE_LLVM_TARGET_ARCH
10 default "AArch64" if BR2_aarch64
11 default "ARM" if BR2_arm || BR2_armeb
12 default "X86" if BR2_i386 || BR2_x86_64
14 config BR2_PACKAGE_LLVM
16 depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
17 depends on BR2_HOST_GCC_AT_LEAST_4_8
18 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
19 depends on BR2_TOOLCHAIN_HAS_THREADS
20 depends on BR2_INSTALL_LIBSTDCPP
21 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
23 The LLVM Project is a collection of modular and reusable
24 compiler and toolchain technologies.
30 config BR2_PACKAGE_LLVM_AMDGPU
33 Build AMDGPU target. Select this option if you are going
34 to install mesa3d with llvm and use Gallium Radeon driver.
38 comment "llvm needs a toolchain w/ threads, C++, gcc >= 4.8, host gcc >= 4.8"
39 depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
40 depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
41 !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
43 comment "llvm needs a toolchain not affected by GCC bug 64735"
44 depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
45 depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735