[llvm] d8afcaf - Revert "Make sure libLLVM users link with libatomic if needed"
Aaron Puchert via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 13 14:57:53 PDT 2022
Author: Aaron Puchert
Date: 2022-09-13T23:56:08+02:00
New Revision: d8afcaf93e846b07291b50e56fadb206c5ee1d4d
URL: https://github.com/llvm/llvm-project/commit/d8afcaf93e846b07291b50e56fadb206c5ee1d4d
DIFF: https://github.com/llvm/llvm-project/commit/d8afcaf93e846b07291b50e56fadb206c5ee1d4d.diff
LOG: Revert "Make sure libLLVM users link with libatomic if needed"
Adds too many dependencies: many libraries in LLVM_SYSTEM_LIBS are
arguably not required for users of libLLVM.
This reverts commit 44ffc13f2eb6188a86ae88ea1e942e9ac354db9b.
Added:
Modified:
llvm/tools/llvm-shlib/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/tools/llvm-shlib/CMakeLists.txt b/llvm/tools/llvm-shlib/CMakeLists.txt
index cc6713a79fcd..8e2b78f1b85c 100644
--- a/llvm/tools/llvm-shlib/CMakeLists.txt
+++ b/llvm/tools/llvm-shlib/CMakeLists.txt
@@ -63,9 +63,6 @@ if(LLVM_BUILD_LLVM_DYLIB)
target_link_libraries(LLVM PRIVATE ${LIB_NAMES})
- get_property(SYSTEM_LIBS TARGET LLVMSupport PROPERTY LLVM_SYSTEM_LIBS)
- target_link_libraries(LLVM PUBLIC ${SYSTEM_LIBS})
-
if (APPLE)
set_property(TARGET LLVM APPEND_STRING PROPERTY
LINK_FLAGS
More information about the llvm-commits
mailing list