[packages/llvm] disable compiler-rt on arm lower than armv7

atler atler at pld-linux.org
Sun Nov 29 12:10:10 CET 2020


commit bdd7e0f7f6dd837a1af820fb1bb19058e0a66880
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Nov 29 12:00:56 2020 +0100

    disable compiler-rt on arm lower than armv7
    
    assembler in compiler-rt for arm requires instrctions available in armv7
    and later

 llvm.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/llvm.spec b/llvm.spec
index c54d36d..4c02a83 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -29,6 +29,10 @@
 %undefine	with_ocaml
 %endif
 
+%ifarch armv3l armv4b armv4l armv4tl armv5tl armv5tel armv5tejl armv6l armv6hl
+%undefine	with_rt
+%endif
+
 Summary:	The Low Level Virtual Machine (An Optimizing Compiler Infrastructure)
 Summary(pl.UTF-8):	Niskopoziomowa maszyna wirtualna (infrastruktura kompilatora optymalizującego)
 Name:		llvm
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/llvm.git/commitdiff/803f8d9bd02a9ff3a000f3af5899b3375673bde5



More information about the pld-cvs-commit mailing list