aboutsummaryrefslogtreecommitdiff
path: root/autoconf/configure.ac
diff options
context:
space:
mode:
authorVictor Oliveira <Victor.Oliveira@amd.com>2012-08-09 01:13:59 +0000
committerVictor Oliveira <Victor.Oliveira@amd.com>2012-08-09 01:13:59 +0000
commit0e80e182a9401e6ae82df30ae93ef4b4585082f0 (patch)
tree13f220528e70b57b986bc90a37f7bfabfb227241 /autoconf/configure.ac
parent9bac67657bb158d8649e85494f5999993591b87c (diff)
Support for experimental targets
Added LLVM_EXPERIMENTAL_TARGETS_TO_BUILD in CMake and --enable-experimental-targets in configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r--autoconf/configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 4d3a14efd4..4dde3a6dfa 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -717,6 +717,17 @@ case "$enableval" in
done
;;
esac
+
+AC_ARG_ENABLE([experimental-targets],AS_HELP_STRING([--enable-experimental-targets],
+ [Build experimental host targets: disable or target1,target2,...
+ (default=disable)]),,
+ enableval=disable)
+
+if test ${enableval} != "disable"
+then
+ TARGETS_TO_BUILD="$enableval $TARGETS_TO_BUILD"
+fi
+
AC_SUBST(TARGETS_TO_BUILD,$TARGETS_TO_BUILD)
dnl Determine whether we are building LLVM support for the native architecture.