[all-commits] [llvm/llvm-project] 360d67: [compiler-rt] Link atomic against builtins (#65239)

Petr Hosek via All-commits all-commits at lists.llvm.org
Sun Sep 3 22:45:25 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 360d67730a0a62d8cb845a45f3490a5aad36e49d
  Author: Petr Hosek <phosek at google.com>
  Date:   2023-09-03 (Sun, 03 Sep 2023)

  Changed paths:
    M compiler-rt/lib/builtins/CMakeLists.txt

  Log Message:
  [compiler-rt] Link atomic against builtins (#65239)

The atomic shared library needs to be linked against builtins. The
`add_compiler_rt_runtime` call already has `DEP builtins` but that only
ensures that the `builtins` target is built before `clang_rt.atomic` but
doesn't link against `clang_rt.builtins`, to do so we need to use
`LINK_LIBS clang_rt.builtins`.

More information about the All-commits mailing list