Sync from SUSE:SLFO:Main llvm revision 035d661aa5233b1dbb61f47408d83836

This commit is contained in:
Adrian Schröter 2025-02-24 23:08:15 +01:00
parent 12fb6e4196
commit d460be63a6
3 changed files with 82 additions and 12 deletions

View File

@ -12,7 +12,7 @@ patch-level updates to older LLVM versions, and major/minor
version updates.
LLVM version numbers come in three levels. For version
X.0.Z, changes to the X level are major updates, changes to
X.1.Z, changes to the X level are major updates, changes to
the Y level are minor updates, and changes to the Z level
are patch-level updates. Since LLVM 4, the minor version
is always expected to be 0. [1] Library .so numbers are
@ -40,10 +40,10 @@ to be updated.
1. llvmX package:
1. Add the new sources to the package and delete the old
ones. This will not include clang-docs-X.0.Z.src.tar.xz
or llvm-docs-X.0.Z.src.tar.xz (see next item).
2. Build clang-docs-X.0.Z.src.tar.xz and
llvm-docs-X.0.Z.src.tar.xz. The instructions are in
ones. This will not include clang-docs-X.1.Z.src.tar.xz
or llvm-docs-X.1.Z.src.tar.xz (see next item).
2. Build clang-docs-X.1.Z.src.tar.xz and
llvm-docs-X.1.Z.src.tar.xz. The instructions are in
the %install section of llvmX.spec. The instructions
need RPM substitutions, for example via rpmspec -P.
Add those sources as well and delete the old ones.
@ -69,10 +69,10 @@ needs to be created.
1. Copy (do not link) the old llvmX to the new
major/minor version number.
2. Add the new sources to the package and delete the old
ones. This will not include clang-docs-X.0.Z.src.tar.xz
or llvm-docs-X.0.Z.src.tar.xz (see next item).
3. Build clang-docs-X.0.Z.src.tar.xz and
llvm-docs-X.0.Z.src.tar.xz. The instructions are in
ones. This will not include clang-docs-X.1.Z.src.tar.xz
or llvm-docs-X.1.Z.src.tar.xz (see next item).
3. Build clang-docs-X.1.Z.src.tar.xz and
llvm-docs-X.1.Z.src.tar.xz. The instructions are in
the %install section of llvmX.spec. The instructions
need RPM substitutions, for example via rpmspec -P.
Add those sources as well and delete the old ones.

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Wed Nov 6 15:24:59 UTC 2024 - Michal Suchanek <msuchanek@suse.de>
- Enable lldb on s390x and ppc64le (bsc#1232906).
-------------------------------------------------------------------
Sun Sep 22 15:27:22 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 19.
* For details, see the release notes:
- https://releases.llvm.org/19.1.0/docs/ReleaseNotes.html
- https://releases.llvm.org/19.1.0/tools/clang/docs/ReleaseNotes.html
- https://releases.llvm.org/19.1.0/tools/clang/tools/extra/docs/ReleaseNotes.html
- https://releases.llvm.org/19.1.0/projects/libcxx/docs/ReleaseNotes.html
- https://releases.llvm.org/19.1.0/tools/lld/docs/ReleaseNotes.html
-------------------------------------------------------------------
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>
- Update to version 18.
* For details, see the release notes:
- https://releases.llvm.org/18.1.0/docs/ReleaseNotes.html
- https://releases.llvm.org/18.1.0/tools/clang/docs/ReleaseNotes.html
- https://releases.llvm.org/18.1.0/tools/clang/tools/extra/docs/ReleaseNotes.html
- https://releases.llvm.org/18.1.0/projects/libcxx/docs/ReleaseNotes.html
- https://releases.llvm.org/18.1.0/tools/lld/docs/ReleaseNotes.html
- Add metapackage for libomp-devel.
- Update packaging guidelines for new versioning scheme.
-------------------------------------------------------------------
Sat Oct 21 21:44:49 UTC 2023 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -1,7 +1,7 @@
#
# spec file for package llvm
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,11 +16,18 @@
#
%define _sonum 17
%ifarch aarch64 x86_64
%define _sonum 19
%ifarch aarch64 ppc64 ppc64le %{ix86} x86_64
%global has_openmp 1
%endif
%ifarch aarch64 ppc64le s390x x86_64
%define has_lldb 1
%if %{suse_version} > 1600
%define has_lldb_python 1
%endif
%endif
# obsolete_llvm_versioned() prefix postfix
# Obsolete packages <prefix>X or <prefix>X-<postfix> with X being a set of older versions.
@ -32,6 +39,8 @@ Obsoletes: %{1}13%{?2:-%{2}} \
Obsoletes: %{1}14%{?2:-%{2}} \
Obsoletes: %{1}15%{?2:-%{2}} \
Obsoletes: %{1}16%{?2:-%{2}} \
Obsoletes: %{1}17%{?2:-%{2}} \
Obsoletes: %{1}18%{?2:-%{2}} \
Obsoletes: %{1}7%{?2:-%{2}} \
Obsoletes: %{1}8%{?2:-%{2}} \
Obsoletes: %{1}9%{?2:-%{2}}
@ -66,7 +75,11 @@ Group: Development/Libraries/C and C++
Requires: llvm%{_sonum}-devel
Provides: llvm-LTO-devel = %{version}
Obsoletes: llvm-LTO-devel < %{version}
%if 0%{?has_openmp}
Requires: libomp-devel
%endif
Requires: llvm-gold
Requires: llvm-polly-devel
%obsolete_llvm_versioned llvm devel
%obsolete_llvm_versioned llvm LTO-devel
@ -190,7 +203,9 @@ Summary: Software debugger built using LLVM libraries
Group: Development/Tools/Debuggers
URL: https://lldb.llvm.org/
Requires: lldb%{_sonum}
%if 0%{?has_lldb_python}
Recommends: python3-lldb
%endif
%description -n lldb
LLDB is a next generation, high-performance debugger. It is built as a set
@ -250,6 +265,19 @@ LLD is a linker from the LLVM project. That is a drop-in replacement for
system linkers and runs much faster than them. It also provides features that
are useful for toolchain developers.
%package -n libomp-devel
Summary: MPI plugin for LLVM
Group: Development/Libraries/C and C++
Requires: libomp%{_sonum}-devel
%obsolete_llvm_versioned libomp devel
%description -n libomp-devel
This package contains the OpenMP MPI plugin for LLVM.
This package is a dummy package that depends on the version of
libomp-devel that openSUSE currently supports. Packages that
don't require a specific LLVM version should depend on this.
%package polly
Summary: LLVM Framework for High-Level Loop and Data-Locality Optimizations
Group: Development/Languages/Other
@ -338,6 +366,11 @@ echo "This is a dummy package to provide a dependency on the system compiler." >
%files -n lld
%doc README
%if 0%{?has_openmp}
%files -n libomp-devel
%doc README
%endif
%files polly
%doc README