From Fedora Project Wiki
 
(27 intermediate revisions by 2 users not shown)
Line 17: Line 17:


== Current status ==
== Current status ==
* Targeted release: [[Releases/21 | Fedora 21 ]]  
* Targeted release: [[Releases/22 | Fedora 22 ]]  
* Last updated: 2014-07-07
* Last updated: 2015-04-03
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
<!-- After the change proposal is accepted by FESCo, tracking bug is created in Bugzilla and linked to this page  
Bugzilla states meaning as usual:
Bugzilla states meaning as usual:
Line 30: Line 30:


== Detailed Description ==
== Detailed Description ==
* The involves updating ghc from 7.6.3 to 7.8.1 (or later), and rebuilding/updating all Fedora Haskell packages.
* This involves updating ghc from 7.6.3 to 7.8.4, and updating/rebuilding all Fedora Haskell packages. [packages built]
* The initial work will be done locally offline to make sure that it is possible to build all our packages with ghc-7.8 and the latest updated libraries.
* The initial work will be done locally offline to make sure that it is possible to build all our packages with ghc-7.8 and the latest updated libraries. [done]
* This may also include building with the llvm backend to ensure that building on ARM will work.
* A Koji side tag will then be used to build all the packages before the Side Tag Builds Deadline. [done]
* Once that is completed, building will be done into Koji for rawhide and testing done.
* Once the packages have been tested, the builds will be moved into f22. [done]


== Benefit to Fedora ==
== Benefit to Fedora ==
Line 46: Line 46:
* Proposal owners:
* Proposal owners:
** locally test rebuilding and updating of all packages
** locally test rebuilding and updating of all packages
** update macros to subpackage static libraries
** (optional) update macros to subpackage static libraries
** push changes to Koji
** push changes to Koji
** testing
** testing
Line 55: Line 55:
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->
<!-- What work do other developers have to accomplish to complete the feature in time for release?  Is it a large change affecting many parts of the distribution or is it a very isolated change? What are those changes?-->


* Release engineering: not required
* Release engineering: f22-ghc koji side tag [[https://fedorahosted.org/rel-eng/ticket/6085 ticket]]
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- Does this feature require coordination with release engineering (e.g. changes to installer image generation or update package delivery)?  Is a mass rebuid required?  If a rel-eng ticket exists, add a link here.  -->
<!-- Does this feature require coordination with release engineering (e.g. changes to installer image generation or update package delivery)?  Is a mass rebuid required?  If a rel-eng ticket exists, add a link here.  -->
Line 92: Line 92:
<!-- If this change proposal is noticeable by its target audience, how will their experiences change as a result?  Describe what they will see or notice. -->
<!-- If this change proposal is noticeable by its target audience, how will their experiences change as a result?  Describe what they will see or notice. -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
User using GHC to programming or develop in Haskell will benefit from the new features and performance enhancements of the latest version of the ghc compiler.
Fedora users using GHC to programming or develop in Haskell will benefit from the new features and performance enhancements of the latest version of the ghc compiler.
Additionally various package upgrades will also improve the experience for users of Haskell packages.
Additionally various package upgrades will also improve the experience for users of Haskell packages.


Line 98: Line 98:
<!-- What other packages (RPMs) depend on this package?  Are there changes outside the developers' control on which completion of this change depends?  In other words, completion of another change owned by someone else and might cause you to not be able to finish on time or that you would need to coordinate?  Other upstream projects like the kernel (if this is not a kernel change)? -->
<!-- What other packages (RPMs) depend on this package?  Are there changes outside the developers' control on which completion of this change depends?  In other words, completion of another change owned by someone else and might cause you to not be able to finish on time or that you would need to coordinate?  Other upstream projects like the kernel (if this is not a kernel change)? -->


* GHC 7.8.2 has been released (2014-04-12).
* GHC 7.8.3 was released 2014-07-11
* GHC 7.8.3 released 2014-07-11
* GHC 7.8.4 bugfix released 2014-12-23


There are a few packages outside the Haskell SIG that use ghc for some part of their build.
There are a few packages outside the Haskell SIG that use ghc for some part of their build.
Line 106: Line 106:
== Contingency Plan ==
== Contingency Plan ==
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan?  This might be as simple as "Revert the shipped configuration".  Or it might not (e.g. rebuilding a number of dependent packages).  If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy.  -->
<!-- If you cannot complete your feature by the final development freeze, what is the backup plan?  This might be as simple as "Revert the shipped configuration".  Or it might not (e.g. rebuilding a number of dependent packages).  If you feature is not completed in time we want to assure others that other parts of Fedora will not be in jeopardy.  -->
* Contingency mechanism: revert ghc to current 7.6.3 and rebuild other packages if necessary (Proposal Owners) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Contingency mechanism: if it is not possible to complete the building and testing in f22-build in time for the Mass Rebuild then ghc will be reverted back to current 7.6.3 and packages rebuilt as necessary. (Proposal Owners) <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- When is the last time the contingency mechanism can be put in place?  This will typically be the beta freeze. -->
<!-- When is the last time the contingency mechanism can be put in place?  This will typically be the beta freeze. -->
* Contingency deadline: Beta Freeze  <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Contingency deadline: Beta Freeze  <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? -->
<!-- Does finishing this feature block the release, or can we ship with the feature in incomplete state? -->
* Blocks release: No <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Blocks release: Yes <!-- REQUIRED FOR SYSTEM WIDE CHANGES -->
* Blocks product: N/A  <!-- Applicable for Changes that blocks specific product release/Fedora.next -->
* Blocks product: N/A  <!-- Applicable for Changes that blocks specific product release/Fedora.next -->


== Documentation ==
== Documentation ==
<!-- Is there upstream documentation on this change, or notes you have written yourself?  Link to that material here so other interested developers can get involved. -->
<!-- Is there upstream documentation on this change, or notes you have written yourself?  Link to that material here so other interested developers can get involved. -->
http://www.haskell.org/ghc/docs/7.8.2/html/users_guide/release-7-8-1.html
* Release notes for [https://downloads.haskell.org/~ghc/7.8.4/docs/html/users_guide/release-7-8-1.html 7.8.1]
 
* Bug fix releases: [https://downloads.haskell.org/~ghc/7.8.4/docs/html/users_guide/release-7-8-3.html 7.8.3] and [https://downloads.haskell.org/~ghc/7.8.4/docs/html/users_guide/release-7-8-4.html 7.8.4]
<!-- REQUIRED FOR SYSTEM WIDE CHANGES
N/A (not a System Wide Change) -->


== Release Notes ==
== Release Notes ==
Line 127: Line 125:
-->
-->


[[Category:ChangeAcceptedF21]]
[[Category:ChangeAcceptedF22]]
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- When your change proposal page is completed and ready for review and announcement -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->
<!-- remove Category:ChangePageIncomplete and change it to Category:ChangeReadyForWrangler -->

Latest revision as of 09:27, 3 April 2015

GHC 7.8

Summary

Update the GHC Haskell compiler to the major new 7.8 release, and update/rebuild all Haskell packages against it.

Owner

Current status

Detailed Description

  • This involves updating ghc from 7.6.3 to 7.8.4, and updating/rebuilding all Fedora Haskell packages. [packages built]
  • The initial work will be done locally offline to make sure that it is possible to build all our packages with ghc-7.8 and the latest updated libraries. [done]
  • A Koji side tag will then be used to build all the packages before the Side Tag Builds Deadline. [done]
  • Once the packages have been tested, the builds will be moved into f22. [done]

Benefit to Fedora

GHC 7.8 is major new version of the major Haskell compiler with many new features and enhancements. See the upstream release notes link below for more details on the changes.

For example the new runtime I/O manager scales significantly better for larger workloads compared to the previous one: it should scale linearly up to approximately 32 cores (reference).

Scope

  • Proposal owners:
    • locally test rebuilding and updating of all packages
    • (optional) update macros to subpackage static libraries
    • push changes to Koji
    • testing
  • Other developers:
    • If you own a package which contains some Haskell code built with ghc you will need to rebuild you package to make sure it still rebuilds with ghc-7.8. Feel free to contact the Haskell SIG if we need assistance with fixing any build breakage, and we will try to help out.
  • Release engineering: f22-ghc koji side tag [ticket]
  • Policies and guidelines:
    • There may be some lesser changes to the Haskell Packaging Guidelines needed - they could be done after this Change.

Upgrade/compatibility impact

  • Upgrading will be tested and should Just Work.
  • Local user code may need some minor changes to build with ghc-7.8.

How To Test

  1. yum install ghc cabal-install cabal-rpm pandoc xmonad git-annex hledger
  2. Check these packages install, run correctly, and can build Haskell and Hackage packages.

User Experience

Fedora users using GHC to programming or develop in Haskell will benefit from the new features and performance enhancements of the latest version of the ghc compiler. Additionally various package upgrades will also improve the experience for users of Haskell packages.

Dependencies

  • GHC 7.8.3 was released 2014-07-11
  • GHC 7.8.4 bugfix released 2014-12-23

There are a few packages outside the Haskell SIG that use ghc for some part of their build. Assistance can be provided if needed to build them with latest ghc.

Contingency Plan

  • Contingency mechanism: if it is not possible to complete the building and testing in f22-build in time for the Mass Rebuild then ghc will be reverted back to current 7.6.3 and packages rebuilt as necessary. (Proposal Owners)
  • Contingency deadline: Beta Freeze
  • Blocks release: Yes
  • Blocks product: N/A

Documentation

Release Notes