projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c7063
)
Detect 32bit environment on 64bit ARM hardware
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Sun, 31 Mar 2019 08:50:43 +0000
(10:50 +0200)
committer
GitHub
<noreply@github.com>
Sun, 31 Mar 2019 08:50:43 +0000
(10:50 +0200)
for #2056, using same approach as #2058
cmake/system_check.cmake
patch
|
blob
|
history
diff --git
a/cmake/system_check.cmake
b/cmake/system_check.cmake
index
f30a946
..
94d3ba6
100644
(file)
--- a/
cmake/system_check.cmake
+++ b/
cmake/system_check.cmake
@@
-49,7
+49,11
@@
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "i686.*|i386.*|x86.*|amd64.*|AMD64.*")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm.*|ARM.*)")
set(ARM 1)
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64.*|AARCH64.*)")
- set(ARM64 1)
+ if("${CMAKE_SIZEOF_VOID_P}" EQUAL "8")
+ set(ARM64 1)
+ else()
+ set(ARM 1)
+ endif()
endif()
if (X86_64)