[Openmp-commits] [openmp] [openmp][AIX]Initial changes for porting to AIX (PR #76841)

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Wed Jan 3 17:20:28 PST 2024


================
@@ -108,7 +108,11 @@ else()
     # Unix specific files
     libomp_append(LIBOMP_CXXFILES z_Linux_util.cpp)
     libomp_append(LIBOMP_CXXFILES kmp_gsupport.cpp)
-    libomp_append(LIBOMP_GNUASMFILES z_Linux_asm.S) # Unix assembly file
+    if(${CMAKE_SYSTEM_NAME} MATCHES "AIX")
+      libomp_append(LIBOMP_GNUASMFILES z_AIX_asm.S) # AIX assembly file
----------------
shiltian wrote:

Oh, sorry for missing that part. If that is the case, that PR needs to be landed before this one, otherwise it will cause issues. However, I don't know how that patch would be tested w/o this one. That being said, I think it might make more sense to include it in this patch as well.

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


More information about the Openmp-commits mailing list