[PATCH] D132799: Make sure libLLVM users link with libatomic if needed

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 10:27:14 PDT 2022


phosek added a comment.

I think a better solution would be to introduce imported CMake targets for system libraries like libatomic (and use the existing supports where it already exists like the threads library <https://cmake.org/cmake/help/latest/module/FindThreads.html>) and use CMake dependencies as needed.

The `SYSTEM_LIBS` concept in LLVM build is only used by `llvm-config` and I expect we'll remove it entirely once we finally manage to deprecate `llvm-config`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132799/new/

https://reviews.llvm.org/D132799



More information about the llvm-commits mailing list