[PATCH] D50546: CMake: Fix native arch selection on s390 (32-bit)
    Tom Stellard via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Aug  9 18:32:26 PDT 2018
    
    
  
tstellar created this revision.
tstellar added reviewers: jonpa, uweigand.
Herald added a subscriber: mgorny.
We've been carrying this patch in Fedora for a few years.
Patch By: Dan HorĂ¡k
Repository:
  rL LLVM
https://reviews.llvm.org/D50546
Files:
  cmake/config-ix.cmake
Index: cmake/config-ix.cmake
===================================================================
--- cmake/config-ix.cmake
+++ cmake/config-ix.cmake
@@ -394,6 +394,8 @@
   set(LLVM_NATIVE_ARCH MSP430)
 elseif (LLVM_NATIVE_ARCH MATCHES "hexagon")
   set(LLVM_NATIVE_ARCH Hexagon)
+elseif (LLVM_NATIVE_ARCH MATCHES "s390")
+  set(LLVM_NATIVE_ARCH SystemZ)
 elseif (LLVM_NATIVE_ARCH MATCHES "s390x")
   set(LLVM_NATIVE_ARCH SystemZ)
 elseif (LLVM_NATIVE_ARCH MATCHES "wasm32")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50546.160045.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180810/df87aef4/attachment.bin>
    
    
More information about the llvm-commits
mailing list