[compiler-rt] [compiler-rt] Fix building on OpenBSD/amd64 (PR #165086)
Oliver Hunt via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 30 00:01:00 PDT 2025
================
@@ -234,13 +234,29 @@ macro(test_targets)
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc64le|ppc64le")
test_target_arch(powerpc64le "" "-m64")
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc")
- test_target_arch(powerpc "" "-m32")
- test_target_arch(powerpc64 "" "-m64")
+ if(NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD")
----------------
ojhunt wrote:
Why are these needed, my assumption is that test_target_arch should be handling this automatically? It appears to be unchanged in the above i386/x86_64 tests?
https://github.com/llvm/llvm-project/pull/165086
More information about the llvm-commits
mailing list