[compiler-rt] f9546d8 - [Orc][rtlib] Build orc runtime support for ppc64 only under Linux

Kai Luo via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 2 16:07:12 PDT 2023


Author: Kai Luo
Date: 2023-08-03T07:06:49+08:00
New Revision: f9546d8e1d16fda18d7eff7b331f93c0fb7a0b92

URL: https://github.com/llvm/llvm-project/commit/f9546d8e1d16fda18d7eff7b331f93c0fb7a0b92
DIFF: https://github.com/llvm/llvm-project/commit/f9546d8e1d16fda18d7eff7b331f93c0fb7a0b92.diff

LOG: [Orc][rtlib] Build orc runtime support for ppc64 only under Linux

We haven't supported JIT on AIX yet.

Fix AIX buildbot failure in https://lab.llvm.org/buildbot/#/builders/214/builds/8770.

Reviewed By: Jake-Egan

Differential Revision: https://reviews.llvm.org/D156921

Added: 
    

Modified: 
    compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake

Removed: 
    


################################################################################
diff  --git a/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake b/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
index 3742f0176f9e63..59c322002d3cd3 100644
--- a/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
+++ b/compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
@@ -85,7 +85,11 @@ endif()
 set(ALL_SHADOWCALLSTACK_SUPPORTED_ARCH ${ARM64})
 
 if (UNIX)
-set(ALL_ORC_SUPPORTED_ARCH ${X86_64} ${ARM64} ${ARM32} ${PPC64})
+  if (OS_NAME MATCHES "Linux")
+    set(ALL_ORC_SUPPORTED_ARCH ${X86_64} ${ARM64} ${ARM32} ${PPC64})
+  else()
+    set(ALL_ORC_SUPPORTED_ARCH ${X86_64} ${ARM64} ${ARM32})
+  endif()
 endif()
 
 if (WIN32)


        


More information about the llvm-commits mailing list