[Openmp-commits] [PATCH] D81776: [OpenMP] support build on msys2/mingw with clang or gcc
Martin Storsjö via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Aug 4 13:16:03 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGbf2aa74e5199: [OpenMP] support build on msys2/mingw with clang or gcc (authored by adrpo, committed by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81776/new/
https://reviews.llvm.org/D81776
Files:
openmp/runtime/src/kmp_lock.cpp
Index: openmp/runtime/src/kmp_lock.cpp
===================================================================
--- openmp/runtime/src/kmp_lock.cpp
+++ openmp/runtime/src/kmp_lock.cpp
@@ -1706,7 +1706,8 @@
#if (KMP_COMPILER_ICC && __INTEL_COMPILER >= 1300) || \
(KMP_COMPILER_MSVC && _MSC_VER >= 1700) || \
- (KMP_COMPILER_CLANG && KMP_MSVC_COMPAT)
+ (KMP_COMPILER_CLANG && (KMP_MSVC_COMPAT || __MINGW32__)) || \
+ (KMP_COMPILER_GCC && __MINGW32__)
#include <immintrin.h>
#define SOFT_ABORT_MASK (_XABORT_RETRY | _XABORT_CONFLICT | _XABORT_EXPLICIT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81776.283011.patch
Type: text/x-patch
Size: 638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200804/d0ff507f/attachment.bin>
More information about the Openmp-commits
mailing list