[PATCH] Add AArch64 support to CMake

Renato Golin renato.golin at linaro.org
Wed Feb 19 05:27:44 PST 2014


Hi t.p.northover,

http://llvm-reviews.chandlerc.com/D2825

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2825?vs=7204&id=7205#toc

Files:
  autoconf/config.guess
  test/ExecutionEngine/lit.local.cfg

Index: autoconf/config.guess
===================================================================
--- autoconf/config.guess
+++ autoconf/config.guess
@@ -864,6 +864,9 @@
     i*86:Minix:*:*)
 	echo ${UNAME_MACHINE}-pc-minix
 	exit ;;
+    aarch64:Linux:*)
+	    echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
     alpha:Linux:*:*)
 	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
 	  EV5)   UNAME_MACHINE=alphaev5 ;;
Index: test/ExecutionEngine/lit.local.cfg
===================================================================
--- test/ExecutionEngine/lit.local.cfg
+++ test/ExecutionEngine/lit.local.cfg
@@ -1,6 +1,10 @@
 if config.root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']:
     config.unsupported = True
 
+# CMake and autoconf diverge in naming or host_arch
+if 'aarch64' in config.root.target_triple:
+    config.unsupported = True
+
 if 'hexagon' in config.root.target_triple:
     config.unsupported = True
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2825.4.patch
Type: text/x-patch
Size: 947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140219/5b6456c4/attachment.bin>


More information about the llvm-commits mailing list