On Tue, 16 Oct 2012, Peter Trommler wrote:
I will submit ghc (The Glorious Glasgow Haskell Compilation System) as a new package to Factory.
GHC's main web page is: http://www.haskell.org/ghc/ Package ghc is developed at OBS in devel:languages:haskell
Description: GHC is a state-of-the-art, open source, compiler and interactive environment for the functional language Haskell. It is part of Haskell Platform.
Maintainability: The compiler has about 3-5 releases per year.
Reasons to have it in Factory: Needed for Haskell Platform FATE #314446 (https://features.opensuse.org/314446) and pandoc FATE #312777 (https://features.opensuse.org/312777)
Hints for package reviewers: We need to bootstrap the compiler. Therefore we need to bring a binary compiler in with a source file. That binary compiler will only be used to bootstrap a stage 0 compiler and will not be included in the resulting binary rpm.
After bootstrap is done in Factory I will submit the package again with all bootstrap code removed. Lines that I will remove are marked with comments # remove after initial bootstrap and # end bootstrap. See the following package in my home project: https://build.opensuse.org/package/show?package=ghc&project=home%3Aptrommler %3Abranches%3Adevel%3Alanguages%3Ahaskell
If you have further questions or requests, please drop me a line.
Does that 'bootstrap' work for all architectures openSUSE is built for
(does it work for all SLE architectures)? Can GHC perform
cross-compilation? What targets does GHC target?
Richard.
--
Richard Biener