summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2013-05-06 16:22:34 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2013-05-06 16:22:34 +0000
commit735ab83b3cbe18c97ec9e397c41fa21a7ef639a4 (patch)
tree770b6c385fadf8631f1e51582ee1433b01e61691 /cmake
parent7207285e65730c0ce488ca2ddf86dee27d66e57a (diff)
downloadllvm-735ab83b3cbe18c97ec9e397c41fa21a7ef639a4.tar.gz
llvm-735ab83b3cbe18c97ec9e397c41fa21a7ef639a4.tar.bz2
llvm-735ab83b3cbe18c97ec9e397c41fa21a7ef639a4.tar.xz
[SystemZ] Add configure bits
This patch wires up the SystemZ target in configure, so that it can now be built using --enable-targets=systemz. It is not yet included in the default build (--enable-targets=all); this will be done by a follow-up patch. Patch by Richard Sandiford. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index d03b3f68d4..7f8c48d3aa 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -378,6 +378,8 @@ elseif (LLVM_NATIVE_ARCH MATCHES "msp430")
set(LLVM_NATIVE_ARCH MSP430)
elseif (LLVM_NATIVE_ARCH MATCHES "hexagon")
set(LLVM_NATIVE_ARCH Hexagon)
+elseif (LLVM_NATIVE_ARCH MATCHES "s390x")
+ set(LLVM_NATIVE_ARCH SystemZ)
else ()
message(FATAL_ERROR "Unknown architecture ${LLVM_NATIVE_ARCH}")
endif ()