From Fedora Project Wiki
< Features
Line 18: | Line 18: | ||
== Detailed Description == | == Detailed Description == | ||
* Create a dist-f15-ghc7 buildroot to avoid dependency disruption to rawhide. [done] | * Create a dist-f15-ghc7 buildroot to avoid dependency disruption to rawhide. [done] | ||
* Create scripts to automate the rebuilding of all the Haskell packages in Fedora. | * Create scripts to automate the rebuilding of all the Haskell packages in Fedora. [done] | ||
* Update ghc to new version and build into dist-f15-ghc7. [done] | * Update ghc to new version and build into dist-f15-ghc7. [done] | ||
* Update ghc-rpm-macros if necessary. [done] | * Update ghc-rpm-macros if necessary. [done] | ||
Line 24: | Line 24: | ||
* Rebuild packages including all the libraries in dist-f15-ghc7 with the automated cabal2spec patching and dependency build script. [mostly done] | * Rebuild packages including all the libraries in dist-f15-ghc7 with the automated cabal2spec patching and dependency build script. [mostly done] | ||
* Move final built sets of packages to dist-f15. [done] | * Move final built sets of packages to dist-f15. [done] | ||
* Test packages in rawhide | * Test packages in rawhide [done] | ||
== Benefit to Fedora == | == Benefit to Fedora == |
Revision as of 05:04, 1 February 2011
GHC 7.0
Summary
The newest major version of the Glasgow Haskell Compiler (ghc) version 7.0.1 was released 16 November 2010. It has many new features, including a new I/O manager, new type-checker, new improved parallel garbage collector, and support for a new LLVM compilation backend.
Owners
- Names: Jens Petersen, Ben Boeckel, Haskell_SIG
- Email: petersen@fedoraproject.org, mathstuf@gmail.com, haskell-devel@lists.fedoraproject.org
Current status
- Targeted release: Fedora 15
- Last updated: 1 Feb 2011
- Percentage completion 95%
Detailed Description
- Create a dist-f15-ghc7 buildroot to avoid dependency disruption to rawhide. [done]
- Create scripts to automate the rebuilding of all the Haskell packages in Fedora. [done]
- Update ghc to new version and build into dist-f15-ghc7. [done]
- Update ghc-rpm-macros if necessary. [done]
- Add support to cabal2spec for delta-patching packages to update them for newer packaging template and rebuild.
- Rebuild packages including all the libraries in dist-f15-ghc7 with the automated cabal2spec patching and dependency build script. [mostly done]
- Move final built sets of packages to dist-f15. [done]
- Test packages in rawhide [done]
Benefit to Fedora
Fedora will benefit by providing the latest ghc compiler to its users with many performance and feature enhancements.
Scope
- Minimal impact outside of Haskell packages
- Rebuilding all Haskell packages: see Detailed Description above
How to Test
- Packagers
- Build packages against GHC 7.0
- Many Haskell libraries and applications include test suites already (not many are enabled to my knowledge). Enabling these will help catch errors.
- Testers
- General usage of packaged Haskell applications to find bugs (probably manifest as assertion errors or exceptions)
- darcs
- cabal
- General usage of packaged Haskell applications to find bugs (probably manifest as assertion errors or exceptions)
User Experience
Developers will be able to use GHC 7.0.
Dependencies
- Haskell packages rebuilds [done]
- haskell-platform-2011.1.0.0 release: schedule
Contigency Plan
- 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.