projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
754d258
)
[openmp] [cmake] Fix detecting aarch64 in standalone MSVC builds
author
Martin Storsjö
<martin@martin.st>
Wed, 16 Nov 2022 09:32:31 +0000
(11:32 +0200)
committer
Martin Storsjö
<martin@martin.st>
Thu, 17 Nov 2022 12:18:36 +0000
(14:18 +0200)
Differential Revision: https://reviews.llvm.org/D138113
openmp/runtime/cmake/LibompGetArchitecture.cmake
patch
|
blob
|
history
diff --git
a/openmp/runtime/cmake/LibompGetArchitecture.cmake
b/openmp/runtime/cmake/LibompGetArchitecture.cmake
index
c164c04
..
c338493
100644
(file)
--- a/
openmp/runtime/cmake/LibompGetArchitecture.cmake
+++ b/
openmp/runtime/cmake/LibompGetArchitecture.cmake
@@
-35,7
+35,7
@@
function(libomp_get_architecture return_arch)
#error ARCHITECTURE=arm
#elif defined(__arm__) || defined(_M_ARM) || defined(_ARM)
#error ARCHITECTURE=arm
- #elif defined(__aarch64__)
+ #elif defined(__aarch64__)
|| defined(_M_ARM64)
#error ARCHITECTURE=aarch64
#elif defined(__powerpc64__) && defined(__LITTLE_ENDIAN__)
#error ARCHITECTURE=ppc64le