OLD | NEW |
1 dnl === configure.ac --------------------------------------------------------=== | 1 dnl === configure.ac --------------------------------------------------------=== |
2 dnl The LLVM Compiler Infrastructure | 2 dnl The LLVM Compiler Infrastructure |
3 dnl | 3 dnl |
4 dnl This file is distributed under the University of Illinois Open Source | 4 dnl This file is distributed under the University of Illinois Open Source |
5 dnl License. See LICENSE.TXT for details. | 5 dnl License. See LICENSE.TXT for details. |
6 dnl | 6 dnl |
7 dnl===-----------------------------------------------------------------------=== | 7 dnl===-----------------------------------------------------------------------=== |
8 dnl This is the LLVM configuration script. It is processed by the autoconf | 8 dnl This is the LLVM configuration script. It is processed by the autoconf |
9 dnl program to produce a script named configure. This script contains the | 9 dnl program to produce a script named configure. This script contains the |
10 dnl configuration checks that LLVM needs in order to support multiple platforms. | 10 dnl configuration checks that LLVM needs in order to support multiple platforms. |
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1082 no) llvm_cv_enable_crash_overrides="no" ;; | 1082 no) llvm_cv_enable_crash_overrides="no" ;; |
1083 *) AC_MSG_ERROR([Invalid setting for --enable-crash-overrides. Use "yes" or
"no"]) ;; | 1083 *) AC_MSG_ERROR([Invalid setting for --enable-crash-overrides. Use "yes" or
"no"]) ;; |
1084 esac], | 1084 esac], |
1085 llvm_cv_enable_crash_overrides="yes") | 1085 llvm_cv_enable_crash_overrides="yes") |
1086 if test "$llvm_cv_enable_crash_overrides" = "yes" ; then | 1086 if test "$llvm_cv_enable_crash_overrides" = "yes" ; then |
1087 AC_DEFINE([ENABLE_CRASH_OVERRIDES],[1], | 1087 AC_DEFINE([ENABLE_CRASH_OVERRIDES],[1], |
1088 [Define to enable crash handling overrides]) | 1088 [Define to enable crash handling overrides]) |
1089 fi | 1089 fi |
1090 | 1090 |
1091 dnl List all possible targets | 1091 dnl List all possible targets |
1092 ALL_TARGETS="X86 Sparc PowerPC ARM AArch64 Mips XCore MSP430 CppBackend JSBacken
d NVPTX Hexagon SystemZ R600" | 1092 ALL_TARGETS="X86 Sparc PowerPC ARM AArch64 Mips XCore MSP430 CppBackend NVPTX He
xagon SystemZ R600" |
1093 AC_SUBST(ALL_TARGETS,$ALL_TARGETS) | 1093 AC_SUBST(ALL_TARGETS,$ALL_TARGETS) |
1094 | 1094 |
1095 dnl Allow specific targets to be specified for building (or not) | 1095 dnl Allow specific targets to be specified for building (or not) |
1096 TARGETS_TO_BUILD="" | 1096 TARGETS_TO_BUILD="" |
1097 AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets], | 1097 AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets], |
1098 [Build specific host targets: all or target1,target2,... Valid targets are: | 1098 [Build specific host targets: all or target1,target2,... Valid targets are: |
1099 host, x86, x86_64, sparc, powerpc, arm64, arm, aarch64, mips, hexagon, | 1099 host, x86, x86_64, sparc, powerpc, arm64, arm, aarch64, mips, hexagon, |
1100 xcore, msp430, nvptx, systemz, r600, js, and cpp (default=all)]),, | 1100 xcore, msp430, nvptx, systemz, r600, js, and cpp (default=all)]),, |
1101 enableval=all) | 1101 enableval=all) |
1102 if test "$enableval" = host-only ; then | 1102 if test "$enableval" = host-only ; then |
(...skipping 10 matching lines...) Expand all Loading... |
1113 aarch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;; | 1113 aarch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;; |
1114 arm64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;; | 1114 arm64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;; |
1115 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;; | 1115 arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;; |
1116 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; | 1116 mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; |
1117 mipsel) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; | 1117 mipsel) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; |
1118 mips64) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; | 1118 mips64) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; |
1119 mips64el) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; | 1119 mips64el) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;; |
1120 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;; | 1120 xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;; |
1121 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;; | 1121 msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;; |
1122 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;; | 1122 cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;; |
1123 js) TARGETS_TO_BUILD="JSBackend $TARGETS_TO_BUILD" ;; # @LOCALMOD | |
1124 hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;; | 1123 hexagon) TARGETS_TO_BUILD="Hexagon $TARGETS_TO_BUILD" ;; |
1125 nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;; | 1124 nvptx) TARGETS_TO_BUILD="NVPTX $TARGETS_TO_BUILD" ;; |
1126 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;; | 1125 systemz) TARGETS_TO_BUILD="SystemZ $TARGETS_TO_BUILD" ;; |
1127 r600) TARGETS_TO_BUILD="R600 $TARGETS_TO_BUILD" ;; | 1126 r600) TARGETS_TO_BUILD="R600 $TARGETS_TO_BUILD" ;; |
1128 host) case "$llvm_cv_target_arch" in | 1127 host) case "$llvm_cv_target_arch" in |
1129 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; | 1128 x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; |
1130 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; | 1129 x86_64) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;; |
1131 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;; | 1130 Sparc) TARGETS_TO_BUILD="Sparc $TARGETS_TO_BUILD" ;; |
1132 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;; | 1131 PowerPC) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;; |
1133 AArch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;; | 1132 AArch64) TARGETS_TO_BUILD="AArch64 $TARGETS_TO_BUILD" ;; |
(...skipping 1104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2238 AC_CONFIG_MAKEFILE(test/Makefile.tests) | 2237 AC_CONFIG_MAKEFILE(test/Makefile.tests) |
2239 AC_CONFIG_MAKEFILE(unittests/Makefile) | 2238 AC_CONFIG_MAKEFILE(unittests/Makefile) |
2240 AC_CONFIG_MAKEFILE(tools/Makefile) | 2239 AC_CONFIG_MAKEFILE(tools/Makefile) |
2241 AC_CONFIG_MAKEFILE(utils/Makefile) | 2240 AC_CONFIG_MAKEFILE(utils/Makefile) |
2242 AC_CONFIG_MAKEFILE(projects/Makefile) | 2241 AC_CONFIG_MAKEFILE(projects/Makefile) |
2243 AC_CONFIG_MAKEFILE(bindings/Makefile) | 2242 AC_CONFIG_MAKEFILE(bindings/Makefile) |
2244 AC_CONFIG_MAKEFILE(bindings/ocaml/Makefile.ocaml) | 2243 AC_CONFIG_MAKEFILE(bindings/ocaml/Makefile.ocaml) |
2245 | 2244 |
2246 dnl Finally, crank out the output | 2245 dnl Finally, crank out the output |
2247 AC_OUTPUT | 2246 AC_OUTPUT |
OLD | NEW |