llvm16/link-clang-tools-extra-shared.patch

59 lines
1.4 KiB
Diff
Raw Normal View History

Accepting request 1072964 from home:aaronpuchert:llvm-next - New major release version 16.0.0. * For details, see the release notes: - https://releases.llvm.org/16.0.0/docs/ReleaseNotes.html - https://releases.llvm.org/16.0.0/tools/clang/docs/ReleaseNotes.html - https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html - https://releases.llvm.org/16.0.0/projects/libcxx/docs/ReleaseNotes.html - https://releases.llvm.org/16.0.0/tools/lld/docs/ReleaseNotes.html * New LLVM tools: - llvm-debuginfo-analyzer: Print a logical representation of low-level debug information. - llvm-remarkutil: Remark file utilities. * The test tool split-file is no longer installed. * New Clang tools: - amdgpu-arch and nvptx-arch: Tools used to detect locally available GPUs by the Clang OpenMP driver. - clang-include-cleaner: Standalone tool to determine which headers are used, using existing functionality in clangd. - clang-tblgen: Table Generation for Clang. * Removed Clang tools: clang-{nvlink,offload}-wrapper. - Rebase patches: * assume-opensuse.patch * check-no-llvm-exegesis.patch * link-clang-shared.patch * llvm_build_tablegen_component_as_shared_library.patch * llvm-do-not-install-static-libraries.patch * llvm-suse-implicit-gnu.patch * llvm-workaround-superfluous-branches.patch * openmp-drop-rpath.patch - Drop patches that have landed upstream: * clang-test-xfail-gnuless-triple.patch * CMake-Look-up-target-subcomponents-in-LLVM_AVAILABLE_LIBS.patch * libcxxabi-fix-armv7-test.patch * llvm-armv7-fix-vector-compare-with-zero-lowering.patch * llvm-link-atomic.patch - Remove llvm-better-detect-64bit-atomics-support.patch that should not be required anymore. - Add PGP signatures and keyring for source verification. OBS-URL: https://build.opensuse.org/request/show/1072964 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm16?expand=0&rev=1
2023-03-20 10:12:02 +01:00
diff --git a/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt b/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt
index 6d0328ed831..d531e44743a 100644
--- a/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt
+++ b/clang-tools-extra/clang-include-fixer/plugin/CMakeLists.txt
@@ -2,15 +2,18 @@ add_clang_library(clangIncludeFixerPlugin
IncludeFixerPlugin.cpp
LINK_LIBS
+ clangIncludeFixer
+ ${LLVM_PTHREAD_LIB}
+
+ DEPENDS
+ omp_gen
+ )
+clang_target_link_libraries(clangIncludeFixerPlugin
+ PRIVATE
clangAST
clangBasic
clangFrontend
- clangIncludeFixer
clangParse
clangSema
clangTooling
- ${LLVM_PTHREAD_LIB}
-
- DEPENDS
- omp_gen
)
diff --git a/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt b/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
index 8f708cacfdf..b08e9cee954 100644
--- a/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
+++ b/clang-tools-extra/clangd/refactor/tweaks/CMakeLists.txt
@@ -31,17 +31,20 @@ add_clang_library(clangDaemonTweaks OBJECT
SwapIfBranches.cpp
LINK_LIBS
- clangAST
- clangBasic
clangDaemon
clangdSupport
+
+ DEPENDS
+ omp_gen
+ )
+
+clang_target_link_libraries(clangDaemonTweaks INTERFACE
+ clangAST
+ clangBasic
clangFormat
clangLex
clangSema
clangToolingCore
clangToolingRefactoring
clangToolingSyntax
-
- DEPENDS
- omp_gen
)