[Openmp-commits] [openmp] [OpenMP] Fix build for X32 ABI (PR #90395)

Brad Smith via Openmp-commits openmp-commits at lists.llvm.org
Sun Apr 28 20:57:08 PDT 2024


================
@@ -222,14 +222,19 @@ class KMPHwlocAffinity : public KMPAffinity {
 #error Wrong code for getaffinity system call.
 #endif /* __NR_sched_getaffinity */
 #elif KMP_ARCH_X86_64
+#ifndef __ILP32__
----------------
brad0 wrote:

I'd prefer if this is inverted.

https://github.com/llvm/llvm-project/pull/90395


More information about the Openmp-commits mailing list