[Openmp-commits] [PATCH] D138113: [openmp] [cmake] Fix detecting aarch64 in standalone MSVC builds
Martin Storsjö via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Nov 17 04:19:58 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa429773b3ec6: [openmp] [cmake] Fix detecting aarch64 in standalone MSVC builds (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138113/new/
https://reviews.llvm.org/D138113
Files:
openmp/runtime/cmake/LibompGetArchitecture.cmake
Index: openmp/runtime/cmake/LibompGetArchitecture.cmake
===================================================================
--- openmp/runtime/cmake/LibompGetArchitecture.cmake
+++ openmp/runtime/cmake/LibompGetArchitecture.cmake
@@ -35,7 +35,7 @@
#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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138113.476088.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221117/72e6c023/attachment.bin>
More information about the Openmp-commits
mailing list