From Fedora Project Wiki
Line 88: Line 88:
== Scope ==
== Scope ==
* Proposal owners:
* Proposal owners:
* Review existing llvm and clang compatibility packages and orphan any packages that are no longer used.
** Review existing llvm and clang compatibility packages and orphan any packages that are no longer used.
** Request a side-tag.
** Request a side-tag.
** Build llvm12 and clang12 into the side-tag.
** Build llvm12 and clang12 into the side-tag.

Revision as of 00:38, 26 June 2021

Comments and Explanations
The page source contains comments providing guidance to fill out each section. They are invisible when viewing this page. To read it, choose the "view source" link.
Copy the source to a new page before making changes! DO NOT EDIT THIS TEMPLATE FOR YOUR CHANGE PROPOSAL.
Guidance
For details on how to fill out this form, see the documentation.


LLVM 13

Summary

Update all llvm sub-projects in Fedora to version 13.

Owner

-->

Current status

  • Targeted release: Fedora Linux 35
  • Last updated: 2021-06-26
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

All llvm sub-projects in Fedora will be updated to version 13, and there will be a soname version change for the llvm libraries. Compatibility packages clang12 and llvm12 will be added to ensure that packages that currently depend on clang and llvm version 12 libraries will continue to work.

Feedback

Benefit to Fedora

New features and bug fixes provided by the latest version of LLVM.

Scope

  • Proposal owners:
    • Review existing llvm and clang compatibility packages and orphan any packages that are no longer used.
    • Request a side-tag.
    • Build llvm12 and clang12 into the side-tag.
    • When the upstream LLVM project releases version 12.0.0-rc1 (Late July 2021), package this and build it into the side tag.
    • Merge side-tag into rawhide prior to the f34 branch date.
    • Continue packaging newer release candidates into rawhide and f35 until the final release is complete (Late September 2021)


  • Other developers:
    • Maintainers of packages that depend on clang-libs or llvm-libs will need to update their spec files to depend on the clang12 and llvm12 compatibility packages if they want to rebuild their package and it does not work with LLVM 13 yet. The key point here is that spec file changes are only needed if a package is going to be rebuilt after LLVM 13 is added to Fedora. The compatibility packages will ensure that already built packages continue to work.
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with Objectives:

Upgrade/compatibility impact

How To Test

User Experience

Users will benefit from new features and bug-fixes in the latest version of LLVM.


Dependencies

This change can be made without updating any other packages. However, as mention before, packages that need to use LLVM 12 will need to update their spec file on their first rebuild after this change.

Contingency Plan

  • Contingency mechanism: (What to do? Who will do it?):

If there are major problems with LLVM 12, the compatibility package provide a way for other packages to continue using LLVM 11. In the worst case, we could always revert LLVM back to LLVM 11, but this would only happen if their were an unprecedented amount of problems.

  • Contingency deadline: N/A (not a System Wide Change)

Beta Freeze.

  • Blocks release? N/A (not a System Wide Change), Yes/No


Documentation

N/A (not a System Wide Change)

Release Notes

LLVM sub-projects in Fedora have been updated to version 13:

  • llvm
  • clang
  • lld
  • lldb
  • compiler-rt
  • libomp
  • llvm-test-suite
  • libcxx
  • libcxxabi
  • python-lit
  • flang
  • mlir
  • polly
  • libclc