From 359a8abca977b30fd5835cc9e1cac317281a5cff17641355b0744250854b65e0 Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Mon, 4 Apr 2022 01:02:52 +0000 Subject: [PATCH] - Re-add dependency of llvm-devel on llvm-polly-devel. (Again for CMake.) OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=16 --- llvm13.changes | 3 +-- llvm13.spec | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/llvm13.changes b/llvm13.changes index cd12a00..d484277 100644 --- a/llvm13.changes +++ b/llvm13.changes @@ -19,8 +19,7 @@ Sun Apr 3 13:42:27 UTC 2022 - Aaron Puchert library dependencies to the *-devel packages. - Merge llvm-LTO-devel into llvm-devel. That's where the header files already are, and they are hard to separate. -- Let llvm-devel no longer depend on llvm-polly-devel but let - llvm-polly-devel depend on llvm-devel. We got that wrong. +- Let llvm-polly-devel depend on llvm-devel. - Remove libLTO from baselibs, it doesn't seem to be needed. - Only suggest documentation packages. diff --git a/llvm13.spec b/llvm13.spec index 2230354..609aeb7 100644 --- a/llvm13.spec +++ b/llvm13.spec @@ -194,6 +194,7 @@ Summary: Header Files for LLVM Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %if %{with openmp} +# Referenced by LLVMExports.cmake Requires: libomp%{_sonum}-devel %endif Requires: libLLVM%{_sonum} = %{version} @@ -201,6 +202,10 @@ Requires: libLTO%{_sonum} = %{version} Requires: libstdc++-devel Requires: libtool Requires: llvm%{_sonum}-gold +%if %{with polly} +# Referenced by LLVMExports.cmake +Requires: llvm%{_sonum}-polly-devel +%endif Requires: pkgconfig Conflicts: llvm-devel-provider < %{version} %if %{suse_version} <= 1500