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? Ghc currently supports x86 and x86_64 as tier 1 platforms. That are
Am 17.10.2012 10:27, schrieb Richard Biener: those, that we will address first with our packages. As tier 2 platforms there are Powerpc, Powerpc64, IA-64, S/390 (That are the remaining ones supported by SLE) and additionally others like ARM, Sparc, Alpha, HPPA, m68k and mips. At the moment all tier 2 platforms lack some optional features where the most notable is support for dynamic linking. Cross-compilation is not official supported by ghc, but it is worked on and it looks like it is already possible somehow. But for supporting some of the tier 2 platforms, it would be preferable to do a bootstrap like we want to do now for x86 and x86_64 for those again. Links: http://hackage.haskell.org/trac/ghc/wiki/Platforms http://hackage.haskell.org/trac/ghc/wiki/CrossCompilation Herbert -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org