28 lines
1.1 KiB
Text
28 lines
1.1 KiB
Text
|
Index: CMakeLists.txt
|
||
|
--- CMakeLists.txt.orig
|
||
|
+++ CMakeLists.txt
|
||
|
@@ -71,7 +71,7 @@ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(x64
|
||
|
set(WTF_CPU_X86_64 1)
|
||
|
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)")
|
||
|
set(WTF_CPU_X86 1)
|
||
|
-elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc")
|
||
|
+elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(ppc|powerpc)")
|
||
|
set(WTF_CPU_PPC 1)
|
||
|
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64")
|
||
|
set(WTF_CPU_PPC64 1)
|
||
|
@@ -79,10 +79,14 @@ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc6
|
||
|
set(WTF_CPU_PPC64LE 1)
|
||
|
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "parisc*")
|
||
|
set(WTF_CPU_HPPA 1)
|
||
|
+elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "riscv64")
|
||
|
+ set(WTF_CPU_RISCV64 1)
|
||
|
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "s390")
|
||
|
set(WTF_CPU_S390 1)
|
||
|
elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "s390x")
|
||
|
set(WTF_CPU_S390X 1)
|
||
|
+elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "sparc64")
|
||
|
+ set(WTF_CPU_SPARC64 1)
|
||
|
else ()
|
||
|
message(FATAL_ERROR "Unknown CPU '${LOWERCASE_CMAKE_SYSTEM_PROCESSOR}'")
|
||
|
endif ()
|