mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-23 22:13:38 +00:00
cmake: Add regex pattern for POWER architecture (#7494)
This patch helps to set architecture as power, when processor check output matches ppc64le*. Co-authored-by: Rajalakshmi Srinivasaraghavan <rajis@linux.ibm.com>
This commit is contained in:
parent
f13b378995
commit
3c7c728989
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ else()
|
|||
set(ARM TRUE)
|
||||
elseif(dumpmachine_output MATCHES "^aarch64.*")
|
||||
set(ARM64 TRUE)
|
||||
elseif(dumpmachine_output MATCHES "^powerpc.*")
|
||||
elseif(dumpmachine_output MATCHES "^(powerpc.*|ppc.*)")
|
||||
set(POWER TRUE)
|
||||
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(i.86|x86?)$")
|
||||
set(X86 TRUE)
|
||||
|
|
|
|||
Loading…
Reference in a new issue