Accepting request 249384 from devel:languages:haskell:compiler

In the new workflow a new openSUSE release is not bootstrapped against Factory anymore, but we need ghc to bootstrap ghc.

This package contains binary distributions as source to prepare a somewhat minimal (no docs, no shared libraries) installation to bootstrap ghc.

Currently, I cannot provide a binary distribution for ppc64le. The patches I have are sufficient to get a working ghc but not to prepare a binary distribution from ghc's source tarball. We could use ghc-bin from devel:languages:haskell for ppc64le. This issue will go away as soon as we update to ghc 7.8.3.

Now a single tar file contains all four binary distribution tarballs.

OBS-URL: https://build.opensuse.org/request/show/249384
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-bootstrap?expand=0&rev=2
This commit is contained in:
Peter Trommler
2014-09-15 17:07:12 +00:00
committed by Git OBS Bridge
parent da1a4b571d
commit 623cabe881
8 changed files with 18 additions and 15 deletions

2
.gitattributes vendored
View File

@@ -21,3 +21,5 @@
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
ghc-bootstrap-7.6.3.tar filter=lfs diff=lfs merge=lfs -text

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:368e24fdac1f8d255dc9dd9ab61bf538c5d45ad932bf6fd0c12bf3e3659aa93a
size 46512445

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10ef109879e48c97df875d8a9911662c0f1fb7e583c2435a953a360094c5078c
size 49598781

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f577a57cb12dca6d490cdb1bc6191f08246eebf68001568ba794d92b7ed73c7
size 72425425

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1fc20218facac511ff73f94d7f2d603548eac3427237c68da5e5e2ddfe542649
size 46315913

3
ghc-bootstrap-7.6.3.tar Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eded2b5a9051d4dda50ef32e5731078674541320cdbd5c19885eb5eedf6ec12e
size 214865920

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Sep 15 16:54:51 UTC 2014 - peter.trommler@ohm-hochschule.de
- consolidate all binary dists into one tar file
* required as there is only one srpm per package for all archs
* the tar file is quite the monstrosity :-)
-------------------------------------------------------------------
Sun Sep 14 17:31:00 UTC 2014 - peter.trommler@ohm-hochschule.de

View File

@@ -40,11 +40,11 @@
Name: ghc-bootstrap
Version: 7.6.3
Release: 0
Url: http://haskell.org/ghc/dist/%{version}/%{name}-bin-%{version}.tbz2
Url: https://build.opensuse.org/package/view_file/devel:languages:haskell:bootstrap
Summary: Binary distributions of The Glorious Glasgow Haskell Compiler
License: BSD-3-Clause
Group: Development/Languages/Other
Source: ghc-%{version}-%{longarch}-unknown-linux.tar.bz2
Source: %{name}-%{version}.tar
Source1: README.openSUSE
# Building binary distributions is currently broken for ppc64le
# use package 'ghc-bin' to bootstrap ppc64le
@@ -107,13 +107,16 @@ Haskell home page at <http://www.haskell.org/>.
%prep
%setup -q -n ghc-%{version}
%setup -q
cp %SOURCE1 .
%build
tar jxf ghc-%{version}-%{longarch}-unknown-linux.tar.bz2
cd ghc-%{version}
./configure --prefix=%{_prefix}
%install
cd ghc-%{version}
%makeinstall
%post