[Buildroot] [PATCH v3 6/6] package/llvm: enable AArch64
Valentin Korenblit
valentin.korenblit at smile.fr
Fri Mar 9 16:49:39 UTC 2018
This patch adds LLVM support for AArch64
Signed-off-by: Valentin Korenblit <valentin.korenblit at smile.fr>
---
Tested llvmpipe running glmark2-es2 on Raspberry Pi 3(64-bit)
package/llvm/Config.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/llvm/Config.in b/package/llvm/Config.in
index 1b7d23f854..1865abc20d 100644
--- a/package/llvm/Config.in
+++ b/package/llvm/Config.in
@@ -3,11 +3,13 @@ config BR2_PACKAGE_LLVM_ARCH_SUPPORTS
# http://llvm.org/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library
# http://llvm.org/docs/GettingStarted.html#local-llvm-configuration
depends on BR2_HOST_GCC_AT_LEAST_4_8
+ default y if BR2_aarch64
default y if BR2_arm || BR2_armeb
default y if BR2_i386 || BR2_x86_64
config BR2_PACKAGE_LLVM_TARGET_ARCH
string
+ default "AArch64" if BR2_aarch64
default "ARM" if BR2_arm || BR2_armeb
default "X86" if BR2_i386 || BR2_x86_64
--
2.14.3
More information about the buildroot
mailing list