[Openmp-commits] [openmp] c055779 - [libomp][AIX] Rename libatomic to libcompiler_rt (#203594)

via Openmp-commits openmp-commits at lists.llvm.org
Tue Jun 30 04:00:48 PDT 2026


Author: Xing Xue
Date: 2026-06-30T07:00:44-04:00
New Revision: c0557795224eb4d664148d9f9c2c90bfb474dd50

URL: https://github.com/llvm/llvm-project/commit/c0557795224eb4d664148d9f9c2c90bfb474dd50
DIFF: https://github.com/llvm/llvm-project/commit/c0557795224eb4d664148d9f9c2c90bfb474dd50.diff

LOG: [libomp][AIX] Rename libatomic to libcompiler_rt (#203594)

This change updates the reference from `libatomic` to `libcompiler_rt`
to match the recent renaming on AIX.

Added: 
    

Modified: 
    openmp/runtime/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/CMakeLists.txt b/openmp/runtime/CMakeLists.txt
index ec140013eb625..c0f5b5a4b1596 100644
--- a/openmp/runtime/CMakeLists.txt
+++ b/openmp/runtime/CMakeLists.txt
@@ -139,8 +139,8 @@ if("${CMAKE_SYSTEM_NAME}" MATCHES "AIX")
   set(LIBOMP_LIBFLAGS "-lperfstat" CACHE STRING
     "Appended user specified linked libs flags. (e.g., -lm)")
   if("${LIBOMP_ARCH}" STREQUAL "ppc")
-    # PPC (32-bit) on AIX needs libatomic for __atomic_load_8, etc.
-    set(LIBOMP_LIBFLAGS "${LIBOMP_LIBFLAGS} -latomic")
+    # PPC (32-bit) on AIX needs libcompiler_rt for __atomic_load_8, etc.
+    set(LIBOMP_LIBFLAGS "${LIBOMP_LIBFLAGS} -lcompiler_rt")
   endif()
 else()
   set(LIBOMP_LIBFLAGS "" CACHE STRING


        


More information about the Openmp-commits mailing list