[PATCH] LLVM OpenMP CMake Overhaul

Jack Howarth howarth.mailing.lists at apple.com
Thu Jun 25 13:54:53 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: runtime/cmake/LibompHandleFlags.cmake:44
@@ +43,3 @@
+    if(${IA32})
+        libomp_append(flags_local -m32 LIBOMP_HAVE_M32_FLAG)
+        libomp_append(flags_local /arch:SSE2 LIBOMP_HAVE_ARCH_SSE2_FLAG)
----------------
chandlerc wrote:
> Why do you want to blindly pass -m32 when it is supported? Seems odd that this is the only predicate..
This may be for the building the fat libomp.dyib on x86_64 darwin (containing both i386 and x86_64 code) which requires -m32 to be  explicitly passed to the native x86_64 compiler.

http://reviews.llvm.org/D10656

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list