From Fedora Project Wiki
mNo edit summary
 
(33 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  We also request that you maintain the same order of sections so that all of the feature pages are uniform.  -->
  We also request that you maintain the same order of sections so that all of the feature pages are uniform.  -->


= GHC 7.0 =
= GHC 7.0.4 =


== Summary ==
== Summary ==
The next major version of the Glasgow Haskell Compiler (ghc) is due soon and should become version 7.0. It has many [http://www.reddit.com/r/haskell/comments/dad6j/unless_theres_a_major_hiccup_itll_be_in_ghc_70/ new features], including a new I/O manager, new type-checker, new improved parallel garbage collector, and support for a new LLVM compilation backend.
Update Glasgow Haskell Compiler (ghc) from version 7.0.2 to [http://haskell.org/ghc/download_ghc_7_0_4.html 7.0.4 release] (15 June 2011), with various bug fixes.
 
Haskell Platform 2011.2.0.1 was released in April for ghc-7.0.3: a minor update is expected for 7.0.4.


== Owners ==
== Owners ==
* Names: [[User:Petersen|Jens Petersen]], [[User:Mathstuf|Ben Boeckel]], [[Haskell_SIG]]
* Names: [[User:Petersen|Jens Petersen]], [[Haskell_SIG]]
* Email: petersen@fedoraproject.org, mathstuf@gmail.com, haskell-devel@lists.fedoraproject.org
* Email: petersen@fedoraproject.org, haskell-devel@lists.fedoraproject.org


== Current status ==
== Current status ==
* Targeted release: [[Releases/15|Fedora 15]]
* Targeted release: [[Releases/16|Fedora 16]]
* Last updated: 11 Sep 2010
* Last updated: 29 August 2011
* Percentage completion 0%
* Percentage completion 100%


== Detailed Description ==
== Detailed Description ==
* Create a dist-f15-ghc7 buildroot to avoid dependency disruption to rawhide.
* ghc will be updated in rawhide. [done]
* Create scripts to automate the rebuilding of all the Haskell packages in Fedora.
* Update ghc-rpm-macros to drop prof subpackages [done]
* Update ghc to new version and build into dist-f15-ghc7.
* cabal2spec updated to use %ghc_arches macro and BR ghc-Cabal-devel and individual core libs [done]
* Update ghc-rpm-macros if necessary.
* Update all haskell packages to latest packaging templates and rebuild. [done]
* Add support to cabal2spec for delta-patching packages to update them for newer packaging template and rebuild.
* Test packages in F16/rawhide [done]
* Rebuild packages including all the libraries in dist-f15-ghc7 with the automated cabal2spec patching and dependency build script.
* Move final built sets of packages to dist-f15.


== Benefit to Fedora ==
== Benefit to Fedora ==
Fedora will benefit by providing the latest ghc compiler to its users with many performance and feature enhancements.
Fedora will benefit by providing the latest ghc compiler and haskell-platform to its users with various bugfixes.


== Scope ==
== Scope ==
* Minimal impact outside of Haskell packages
* Rebuilding all Haskell packages.
* Rebuilding all Haskell packages: see Detailed Description above


== How to Test ==
== How to Test ==
* Packagers
* yum install @haskell
** Build packages against GHC 7.0
* yum install xmonad
** Many Haskell libraries and applications include test suites already (not many are enabled to my knowledge). Enabling these will help catch errors.
* yum install ghc-*-devel
* Testers
* yum install pandoc
** General usage of packaged Haskell applications to find bugs (probably manifest as assertion errors or exceptions)
*** darcs
*** cabal


== User Experience ==
== User Experience ==
Developers will be able to use GHC 7.0.
Developers will be able to use latest GHC.


== Dependencies ==
== Dependencies ==
* Haskell packages (to be handled by the Haskell SIG for the most part)
haskell-platform release for ghc-7.0.4 expected.
* Haskell Platform release (hopefully there will be a release available in time)
 
== Contingency Plan ==
ghc-7.0.4 is a stable bugfix release, which should not have any major surprises.


== Contigency Plan ==
If haskell-platform-2011.2.0.2 is not released in time we will ship with haskell-platform-2011.2.0.1 + ghc-7.0.4, and update haskell-platform later if necessary.
* In the unlikely event that the version upgrade is not possible, any partial work will simply be left dist-f15-ghc and we will release F15 with the current ghc-6.12.3 set of packages.


== Documentation ==
== Documentation ==
<!-- Is there upstream documentation on this feature, or notes you have written yourself?  Link to that material here so other interested developers can get involved. -->
* http://haskell.org/ghc/docs/7.0.3/html/users_guide/release-7-0-3.html
* http://haskell.org/ghc/docs/7.0.4/html/users_guide/release-7-0-4.html


== Release Notes ==
== Release Notes ==
<!-- The Fedora Release Notes inform end-users about what is new in the release.  Examples of past release notes are here: http://docs.fedoraproject.org/release-notes/ -->
The Haskell GHC compiler has been updated to version 7.0.4
<!-- The release notes also help users know how to deal with platform changes such as ABIs/APIs, configuration or data file formats, or upgrade concerns. If there are any such changes involved in this feature, indicate them here. You can also link to upstream documentation if it satisfies this need. This information forms the basis of the release notes edited by the documentation team and shipped with the release. -->
with various bugfixes and haskell-platform to 2011.2.0.1.


== Comments and Discussion ==
== Comments and Discussion ==
* See [[Talk:Features/GHC70]]
* See [[Talk:Features/GHC704]]


[[Category:FeaturePageIncomplete]]
[[Category:FeatureAcceptedF16]]
<!-- When your feature page is completed and ready for review -->
<!-- When your feature page is completed and ready for review -->
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
<!-- remove Category:FeaturePageIncomplete and change it to Category:FeatureReadyForWrangler -->
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
<!-- After review, the feature wrangler will move your page to Category:FeatureReadyForFesco... if it still needs more work it will move back to Category:FeaturePageIncomplete-->
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->
<!-- A pretty picture of the page category usage is at: https://fedoraproject.org/wiki/Features/Policy/Process -->

Latest revision as of 03:04, 5 September 2011


GHC 7.0.4

Summary

Update Glasgow Haskell Compiler (ghc) from version 7.0.2 to 7.0.4 release (15 June 2011), with various bug fixes.

Haskell Platform 2011.2.0.1 was released in April for ghc-7.0.3: a minor update is expected for 7.0.4.

Owners

Current status

  • Targeted release: Fedora 16
  • Last updated: 29 August 2011
  • Percentage completion 100%

Detailed Description

  • ghc will be updated in rawhide. [done]
  • Update ghc-rpm-macros to drop prof subpackages [done]
  • cabal2spec updated to use %ghc_arches macro and BR ghc-Cabal-devel and individual core libs [done]
  • Update all haskell packages to latest packaging templates and rebuild. [done]
  • Test packages in F16/rawhide [done]

Benefit to Fedora

Fedora will benefit by providing the latest ghc compiler and haskell-platform to its users with various bugfixes.

Scope

  • Rebuilding all Haskell packages.

How to Test

  • yum install @haskell
  • yum install xmonad
  • yum install ghc-*-devel
  • yum install pandoc

User Experience

Developers will be able to use latest GHC.

Dependencies

haskell-platform release for ghc-7.0.4 expected.

Contingency Plan

ghc-7.0.4 is a stable bugfix release, which should not have any major surprises.

If haskell-platform-2011.2.0.2 is not released in time we will ship with haskell-platform-2011.2.0.1 + ghc-7.0.4, and update haskell-platform later if necessary.

Documentation

Release Notes

The Haskell GHC compiler has been updated to version 7.0.4 with various bugfixes and haskell-platform to 2011.2.0.1.

Comments and Discussion