Accepting request 1158828 from devel:tools:compiler
- Drop libomp-devel and python3-lldb where the versioned package is not being built. - Let llvm-devel require libomp-devel only where it is built. - Let lldb recommend python3-lldb only where it is built. OBS-URL: https://build.opensuse.org/request/show/1158828 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/llvm?expand=0&rev=144
This commit is contained in:
commit
5e054d428f
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 17 22:45:02 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Drop libomp-devel and python3-lldb where the versioned package is
|
||||||
|
not being built.
|
||||||
|
- Let llvm-devel require libomp-devel only where it is built.
|
||||||
|
- Let lldb recommend python3-lldb only where it is built.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 9 20:32:49 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
Sat Mar 9 20:32:49 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
13
llvm.spec
13
llvm.spec
@ -17,10 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
%define _sonum 18
|
%define _sonum 18
|
||||||
|
|
||||||
|
%ifarch aarch64 ppc64 ppc64le %{ix86} x86_64
|
||||||
|
%global has_openmp 1
|
||||||
|
%endif
|
||||||
|
|
||||||
%ifarch aarch64 x86_64
|
%ifarch aarch64 x86_64
|
||||||
%define has_lldb 1
|
%define has_lldb 1
|
||||||
|
%if %{suse_version} > 1600
|
||||||
%define has_lldb_python 1
|
%define has_lldb_python 1
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
# obsolete_llvm_versioned() prefix postfix
|
# obsolete_llvm_versioned() prefix postfix
|
||||||
# Obsolete packages <prefix>X or <prefix>X-<postfix> with X being a set of older versions.
|
# Obsolete packages <prefix>X or <prefix>X-<postfix> with X being a set of older versions.
|
||||||
@ -67,7 +74,9 @@ Group: Development/Libraries/C and C++
|
|||||||
Requires: llvm%{_sonum}-devel
|
Requires: llvm%{_sonum}-devel
|
||||||
Provides: llvm-LTO-devel = %{version}
|
Provides: llvm-LTO-devel = %{version}
|
||||||
Obsoletes: llvm-LTO-devel < %{version}
|
Obsoletes: llvm-LTO-devel < %{version}
|
||||||
|
%if 0%{?has_openmp}
|
||||||
Requires: libomp-devel
|
Requires: libomp-devel
|
||||||
|
%endif
|
||||||
Requires: llvm-gold
|
Requires: llvm-gold
|
||||||
Requires: llvm-polly-devel
|
Requires: llvm-polly-devel
|
||||||
%obsolete_llvm_versioned llvm devel
|
%obsolete_llvm_versioned llvm devel
|
||||||
@ -193,7 +202,9 @@ Summary: Software debugger built using LLVM libraries
|
|||||||
Group: Development/Tools/Debuggers
|
Group: Development/Tools/Debuggers
|
||||||
URL: https://lldb.llvm.org/
|
URL: https://lldb.llvm.org/
|
||||||
Requires: lldb%{_sonum}
|
Requires: lldb%{_sonum}
|
||||||
|
%if 0%{?has_lldb_python}
|
||||||
Recommends: python3-lldb
|
Recommends: python3-lldb
|
||||||
|
%endif
|
||||||
|
|
||||||
%description -n lldb
|
%description -n lldb
|
||||||
LLDB is a next generation, high-performance debugger. It is built as a set
|
LLDB is a next generation, high-performance debugger. It is built as a set
|
||||||
@ -354,8 +365,10 @@ echo "This is a dummy package to provide a dependency on the system compiler." >
|
|||||||
%files -n lld
|
%files -n lld
|
||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
|
%if 0%{?has_openmp}
|
||||||
%files -n libomp-devel
|
%files -n libomp-devel
|
||||||
%doc README
|
%doc README
|
||||||
|
%endif
|
||||||
|
|
||||||
%files polly
|
%files polly
|
||||||
%doc README
|
%doc README
|
||||||
|
Loading…
x
Reference in New Issue
Block a user