[test-suite] r295679 - Identify iOS and arm64 as darwin platform

Steven Wu via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 20 15:05:07 PST 2017


Author: steven_wu
Date: Mon Feb 20 17:05:07 2017
New Revision: 295679

URL: http://llvm.org/viewvc/llvm-project?rev=295679&view=rev
Log:
Identify iOS and arm64 as darwin platform

Autoconf in testsuite has no idea about arm64 architecture or ios
platform. Teach autoconf to recognize them and configure them correctly.

Modified:
    test-suite/trunk/autoconf/config.sub
    test-suite/trunk/autoconf/configure.ac
    test-suite/trunk/configure

Modified: test-suite/trunk/autoconf/config.sub
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/autoconf/config.sub?rev=295679&r1=295678&r2=295679&view=diff
==============================================================================
--- test-suite/trunk/autoconf/config.sub (original)
+++ test-suite/trunk/autoconf/config.sub Mon Feb 20 17:05:07 2017
@@ -248,7 +248,7 @@ case $basic_machine in
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
 	| am33_2.0 \
-	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+	| arc | arm | arm64 | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
 	| bfin \
 	| c4x | clipper \
 	| d10v | d30v | dlx | dsp16xx \
@@ -328,7 +328,7 @@ case $basic_machine in
 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
-	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
+	| arm-*  | arm64-* | armbe-* | armle-* | armeb-* | armv*-* \
 	| avr-* | avr32-* \
 	| bfin-* | bs2000-* \
 	| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
@@ -1318,7 +1318,7 @@ case $os in
 		;;
 	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
 	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
-	      | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
+	      | -macos* | -ios* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
 		;;
 	-mac*)
 		os=`echo $os | sed -e 's|mac|macos|'`

Modified: test-suite/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/autoconf/configure.ac?rev=295679&r1=295678&r2=295679&view=diff
==============================================================================
--- test-suite/trunk/autoconf/configure.ac (original)
+++ test-suite/trunk/autoconf/configure.ac Mon Feb 20 17:05:07 2017
@@ -69,7 +69,7 @@ AC_CACHE_CHECK([type of operating system
     llvm_cv_target_os_type="IRIX" ;;
   *-*-cygwin*)
     llvm_cv_target_os_type="Cygwin" ;;
-  *-*-darwin* | *-*-macosx*)
+  *-*-darwin* | *-*-macosx* | *-*-ios*)
     llvm_cv_target_os_type="Darwin" ;;
   *-*-minix*)
     llvm_cv_target_os_type="Minix" ;;

Modified: test-suite/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/configure?rev=295679&r1=295678&r2=295679&view=diff
==============================================================================
--- test-suite/trunk/configure (original)
+++ test-suite/trunk/configure Mon Feb 20 17:05:07 2017
@@ -2252,7 +2252,7 @@ else
     llvm_cv_target_os_type="IRIX" ;;
   *-*-cygwin*)
     llvm_cv_target_os_type="Cygwin" ;;
-  *-*-darwin* | *-*-macosx*)
+  *-*-darwin* | *-*-macosx* | *-*-ios*)
     llvm_cv_target_os_type="Darwin" ;;
   *-*-minix*)
     llvm_cv_target_os_type="Minix" ;;




More information about the llvm-commits mailing list