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

Xing Xue via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 4 08:49:16 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
----------------
xingxue-ibm wrote:

We plan to upstream changes in stages. This PR contains initial changes and lays the ground for subsequent AIX port PRs. The PR for `z_AIX_asm.S` will be posted shortly. Since the buildbot of AIX libomp is not set up yet and the code is guarded for AIX, this shouldn't cause problems. Our downstream build has LIT tests clean and we are still enabling affinity and some other things.

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


More information about the Openmp-commits mailing list