forked from OSchip/llvm-project
[OpenMP] libomp: fix non-X86, non-AARCH64 builds
Commit https://reviews.llvm.org/rG7b5254223acbf2ef9cd278070c5a84ab278d7e5f broke the build for some architectures, because macro KMP_PREFIX_UNDERSCORE was defined only for x86, x86_64 and aarch64. This patch defines it for other architectures (as a no-op). Differential Revision: https://reviews.llvm.org/D92027
This commit is contained in:
parent
6d3b81664a
commit
9e3e332d27
|
@ -1737,6 +1737,9 @@ __kmp_unnamed_critical_addr:
|
|||
#endif /* KMP_ARCH_ARM */
|
||||
|
||||
#if KMP_ARCH_PPC64 || KMP_ARCH_AARCH64 || KMP_ARCH_MIPS64 || KMP_ARCH_RISCV64
|
||||
#ifndef KMP_PREFIX_UNDERSCORE
|
||||
# define KMP_PREFIX_UNDERSCORE(x) x
|
||||
#endif
|
||||
.data
|
||||
.comm .gomp_critical_user_,32,8
|
||||
.data
|
||||
|
|
Loading…
Reference in New Issue