[llvm] 001e423 - [Tests] Attempt to fix PowerPC buildbots.

David Green via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 24 05:03:56 PDT 2024


Author: David Green
Date: 2024-08-24T13:03:52+01:00
New Revision: 001e423ac6261283f0289a774bf5e7577adb1ea6

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

LOG: [Tests] Attempt to fix PowerPC buildbots.

The intent is that the tests should not be running on PowerPC as the fp128 type
will differ. This attempts to fix the bots by using __powerpc__ instead, which
appears to be defined in godbolt.

Added: 
    

Modified: 
    llvm/cmake/config-ix.cmake

Removed: 
    


################################################################################
diff  --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake
index 471dd1615c2e7b..e7ed839ad68101 100644
--- a/llvm/cmake/config-ix.cmake
+++ b/llvm/cmake/config-ix.cmake
@@ -260,7 +260,7 @@ if(C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW)
 endif()
 
 check_cxx_symbol_exists(logf128 cmath HAS_LOGF128)
-check_symbol_exists(__powerpc64le__ "" __PPC64LE)
+check_symbol_exists(__powerpc__ "" __PPC64LE)
 if(HAS_LOGF128 AND NOT __PPC64LE)
     set(LLVM_HAS_LOGF128 On)
     add_compile_definitions(HAS_LOGF128)


        


More information about the llvm-commits mailing list