diff options
author | Sebastian Pop <spop@codeaurora.org> | 2012-08-20 19:56:49 +0000 |
---|---|---|
committer | Sebastian Pop <spop@codeaurora.org> | 2012-08-20 19:56:49 +0000 |
commit | 974e12b376f21234e2262d65805791b9c36b356e (patch) | |
tree | df717c20a07f1a7bcde2b2140c5ebbfa2c9fc630 /cmake | |
parent | b72a939d8d01ed4ab2f86cf868a3833c7cea8428 (diff) | |
download | external_llvm-974e12b376f21234e2262d65805791b9c36b356e.zip external_llvm-974e12b376f21234e2262d65805791b9c36b356e.tar.gz external_llvm-974e12b376f21234e2262d65805791b9c36b356e.tar.bz2 |
enable Hexagon target from cmake
The patch adds a missing case for the Hexagon target in cmake/config-ix.cmake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-x | cmake/config-ix.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index 25d6211..1e72258 100755 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -324,6 +324,8 @@ elseif (LLVM_NATIVE_ARCH MATCHES "xcore") set(LLVM_NATIVE_ARCH XCore) elseif (LLVM_NATIVE_ARCH MATCHES "msp430") set(LLVM_NATIVE_ARCH MSP430) +elseif (LLVM_NATIVE_ARCH MATCHES "hexagon") + set(LLVM_NATIVE_ARCH Hexagon) else () message(FATAL_ERROR "Unknown architecture ${LLVM_NATIVE_ARCH}") endif () |