Skip to content

Commit 001e423

Browse files
committed
[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.
1 parent 43c6fb2 commit 001e423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/cmake/config-ix.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ if(C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW)
260260
endif()
261261

262262
check_cxx_symbol_exists(logf128 cmath HAS_LOGF128)
263-
check_symbol_exists(__powerpc64le__ "" __PPC64LE)
263+
check_symbol_exists(__powerpc__ "" __PPC64LE)
264264
if(HAS_LOGF128 AND NOT __PPC64LE)
265265
set(LLVM_HAS_LOGF128 On)
266266
add_compile_definitions(HAS_LOGF128)

0 commit comments

Comments
 (0)