[all-commits] [llvm/llvm-project] d56729: [AIX][compiler-rt] Build and install standalone li...

bzEq via All-commits all-commits at lists.llvm.org
Sat May 15 22:04:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d56729b4a4393da9c65bdfe762b51f8b7b0ce0ca
      https://github.com/llvm/llvm-project/commit/d56729b4a4393da9c65bdfe762b51f8b7b0ce0ca
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2021-05-16 (Sun, 16 May 2021)

  Changed paths:
    A compiler-rt/cmake/Modules/CompilerRTAIXUtils.cmake
    M compiler-rt/lib/builtins/CMakeLists.txt
    A compiler-rt/lib/builtins/ppc/atomic.exp

  Log Message:
  -----------
  [AIX][compiler-rt] Build and install standalone libatomic

On AIX, we have to ship `libatomic.a` for compatibility. First, a new `clang_rt.atomic` is added. Second, use added cmake modules for AIX, we are able to build a compatible libatomic.a for AIX. The second step can't be perfectly implemented with cmake now since AIX's archive approach is kinda unique, i.e., archiving shared libraries into a static archive file.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D102155




More information about the All-commits mailing list