Accepting request 905655 from home:aaronpuchert:branches:devel:tools:compiler

- Update to version 12.0.1.
  * This release contains bug-fixes for the LLVM 12.0.0 release.
    This release is API and ABI compatible with 12.0.0.
- Update README.packaging.

OBS-URL: https://build.opensuse.org/request/show/905655
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=545
This commit is contained in:
Aaron Puchert 2021-07-11 10:56:05 +00:00 committed by Git OBS Bridge
parent b9ba16f358
commit 65765c0748
3 changed files with 41 additions and 37 deletions

View File

@ -12,7 +12,7 @@ patch-level updates to older LLVM versions, and major/minor
version updates. version updates.
LLVM version numbers come in three levels. For version LLVM version numbers come in three levels. For version
X.Y.Z, changes to the X level are major updates, changes to X.0.Z, changes to the X level are major updates, changes to
the Y level are minor updates, and changes to the Z level the Y level are minor updates, and changes to the Z level
are patch-level updates. Since LLVM 4, the minor version are patch-level updates. Since LLVM 4, the minor version
is always expected to be 0. [1] Library .so numbers are is always expected to be 0. [1] Library .so numbers are
@ -40,20 +40,19 @@ llvmX package need to be updated.
1. llvmX package: 1. llvmX package:
1. Add the new sources to the package and delete the old 1. Add the new sources to the package and delete the old
ones. This will not include cfe-docs-X.Y.Z.src.tar.xz ones. This will not include clang-docs-X.0.Z.src.tar.xz
or llvm-docs-X.Y.Z.src.tar.xz (see next item). or llvm-docs-X.0.Z.src.tar.xz (see next item).
2. Build cfe-docs-X.Y.Z.src.tar.xz and 2. Build clang-docs-X.0.Z.src.tar.xz and
llvm-docs-X.Y.Z.src.tar.xz. The instructions are in llvm-docs-X.0.Z.src.tar.xz. The instructions are in
the %install section of llvmX.spec. The version the %install section of llvmX.spec. The instructions
numbers in the instructions will need to be updated need RPM substitutions, for example via rpmspec -P.
first. Add those sources as well and delete the old Add those sources as well and delete the old ones.
ones. 3. Update the "_relver" tag in llvmX.spec to match the
3. Update the "Version" tag in llvmX.spec to match the
new sources. new sources.
4. Update the version number in the patches to match the 4. Update the version number in the patches to match the
new sources. new sources.
5. Update the "_relver" tag in llvmX.spec to match 5. Update the "_uaver" tag in llvmX.spec to match
the "Version" tag. the "_relver" tag.
6. Confirm everything builds successfully and there are 6. Confirm everything builds successfully and there are
no new rpmlint issues. no new rpmlint issues.
7. Update the llvmX.changes file. 7. Update the llvmX.changes file.
@ -72,19 +71,18 @@ needs to be updated.
1. llvmX package: 1. llvmX package:
1. Add the new sources to the package and delete the old 1. Add the new sources to the package and delete the old
ones. This will not include cfe-docs-X.Y.Z.src.tar.xz ones. This will not include clang-docs-X.0.Z.src.tar.xz
or llvm-docs-X.Y.Z.src.tar.xz (see next item). or llvm-docs-X.0.Z.src.tar.xz (see next item).
2. Build cfe-docs-X.Y.Z.src.tar.xz and 2. Build clang-docs-X.0.Z.src.tar.xz and
llvm-docs-X.Y.Z.src.tar.xz. The instructions are in llvm-docs-X.0.Z.src.tar.xz. The instructions are in
the %install section of llvmX.spec. The version the %install section of llvmX.spec. The instructions
numbers in the instructions will need to be updated need RPM substitutions, for example via rpmspec -P.
first. Add those sources as well and delete the old Add those sources as well and delete the old ones.
ones. 3. Update the "_relver" tag in llvmX.spec to match the
3. Update the "Version" tag in llvmX.spec to match the
new sources. new sources.
4. Update the version number in the patches to match the 4. Update the version number in the patches to match the
new sources. new sources.
5. Update the "_relver" tag in llvmX.spec to match 5. Update the "_uaver" tag in llvmX.spec to match
the "Version" tag. the "Version" tag.
6. Confirm everything builds successfully and there are 6. Confirm everything builds successfully and there are
no new rpmlint issues. Some patches may need to be no new rpmlint issues. Some patches may need to be
@ -92,8 +90,8 @@ needs to be updated.
7. Update the llvmX.changes file. 7. Update the llvmX.changes file.
=============================== =====================
MAJOR AND MINOR VERSION UPDATES MAJOR VERSION UPDATES
For updates that change the major or minor version number, For updates that change the major or minor version number,
this package (llvm) needs to be updated, a new llvmX this package (llvm) needs to be updated, a new llvmX
@ -104,14 +102,13 @@ needs to be modified.
1. Copy (do not link) the old llvmX to the new 1. Copy (do not link) the old llvmX to the new
major/minor version number. major/minor version number.
2. Add the new sources to the package and delete the old 2. Add the new sources to the package and delete the old
ones. This will not include cfe-docs-X.Y.Z.src.tar.xz ones. This will not include clang-docs-X.0.Z.src.tar.xz
or llvm-docs-X.Y.Z.src.tar.xz (see next item). or llvm-docs-X.0.Z.src.tar.xz (see next item).
3. Build cfe-docs-X.Y.Z.src.tar.xz and 3. Build clang-docs-X.0.Z.src.tar.xz and
llvm-docs-X.Y.Z.src.tar.xz. The instructions are in llvm-docs-X.0.Z.src.tar.xz. The instructions are in
the %install section of llvmX.spec. The version the %install section of llvmX.spec. The instructions
numbers in the instructions will need to be updated need RPM substitutions, for example via rpmspec -P.
first. Add those sources as well and delete the old Add those sources as well and delete the old ones.
ones.
4. Rename the .spec, .changes, and rpmlintrc files in the 4. Rename the .spec, .changes, and rpmlintrc files in the
new llvmX package to the new major/minor version new llvmX package to the new major/minor version
number number
@ -123,10 +120,9 @@ needs to be modified.
the new major/minor versions. It should be of the the new major/minor versions. It should be of the
form "X.0". form "X.0".
8. Change the "_uaver" tag in llvmX.spec to match the 8. Change the "_uaver" tag in llvmX.spec to match the
new major/minor versions. It should be of the form "X00". new major/minor versions. It should be of the form "X0Z".
9. Update the "Version", and "_relver" tags and the 9. Update the "_relver" tag and the version numbers in
version numbers in the patches as described in the patches as described in PATCH-LEVEL UPDATES above.
PATCH-LEVEL UPDATES above.
10. Confirm llvmX.spec builds successfully and there are 10. Confirm llvmX.spec builds successfully and there are
no new rpmlint issues. no new rpmlint issues.
11. Check whether the .so number of "libc++.so.W.V" has 11. Check whether the .so number of "libc++.so.W.V" has

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Jul 10 21:30:44 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>
- Update to version 12.0.1.
* This release contains bug-fixes for the LLVM 12.0.0 release.
This release is API and ABI compatible with 12.0.0.
- Update README.packaging.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 14 23:57:28 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net> Wed Apr 14 23:57:28 UTC 2021 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -35,7 +35,7 @@ Obsoletes: %{1}8%{?2:-%{2}} \
Obsoletes: %{1}9%{?2:-%{2}} Obsoletes: %{1}9%{?2:-%{2}}
Name: llvm Name: llvm
Version: 12.0.0 Version: 12.0.1
Release: 0 Release: 0
Summary: Low Level Virtual Machine Summary: Low Level Virtual Machine
License: Apache-2.0 WITH LLVM-exception OR NCSA License: Apache-2.0 WITH LLVM-exception OR NCSA