Skip to content

Commit

Permalink
CMakeLists: support ppc
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Fedorov <[email protected]>
  • Loading branch information
barracuda156 committed Feb 8, 2023
1 parent 04adab9 commit 391e0c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ endif(NOT CMAKE_SYSTEM_PROCESSOR)
if(processor_name MATCHES "^(aarch64.*|AARCH64.*|arm64.*|ARM64.*)" OR processor_name MATCHES "^(arm.*|ARM.*)" OR processor_name MATCHES "^(mips.*|MIPS.*)")
# on ARM everything, including Windows, targets ARM C++ ABI
set(MADNESS_CXX_ABI ${MADNESS_CXX_ABI_GenericARM})
elseif(processor_name MATCHES "amd64.*|x86_64.*|AMD64.*" OR processor_name MATCHES "i686.*|i386.*|x86.*" OR processor_name MATCHES "^(powerpc|ppc)64le" OR processor_name MATCHES "^(powerpc|ppc)64")
elseif(processor_name MATCHES "amd64.*|x86_64.*|AMD64.*" OR processor_name MATCHES "i686.*|i386.*|x86.*" OR processor_name MATCHES "^(powerpc|ppc)64le" OR processor_name MATCHES "^(powerpc|ppc)64" OR processor_name MATCHES "^(powerpc|ppc)")
if (CMAKE_SYSTEM_NAME STREQUAL Windows) # on x86 Windows all compilers (clang, intel) target Windows C++ ABI
set(MADNESS_CXX_ABI ${MADNESS_CXX_ABI_Microsoft})
else (CMAKE_SYSTEM_NAME STREQUAL Windows) # everyone else uses Itanium C++ ABI
Expand Down

0 comments on commit 391e0c5

Please sign in to comment.