Accepting request 304694 from devel:languages:haskell:platform
Update bootstrap compiler to 7.8.3. Saves double bootstrap in ghc and ppc64le is supported now. OBS-URL: https://build.opensuse.org/request/show/304694 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-bootstrap?expand=0&rev=8
This commit is contained in:
parent
88b30ee400
commit
d60fa4be74
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -22,4 +22,4 @@
|
|||||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
## Specific LFS patterns
|
## Specific LFS patterns
|
||||||
ghc-bootstrap-7.6.3.tar filter=lfs diff=lfs merge=lfs -text
|
ghc-bootstrap-7.8.3.tar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
@ -10,3 +10,8 @@ Generating binary distributions for ghc bootstrap in Factory
|
|||||||
* https://build.opensuse.org/package/binaries/devel:languages:haskell:bootstrap/ghc-prepare-binary-distributions?repository=openSUSE_Factory_PowerPC_standard
|
* https://build.opensuse.org/package/binaries/devel:languages:haskell:bootstrap/ghc-prepare-binary-distributions?repository=openSUSE_Factory_PowerPC_standard
|
||||||
5. Extract tarball `rpm2cpio ghc-prepare-binary-distributions*.rpm | cpio -idmv`
|
5. Extract tarball `rpm2cpio ghc-prepare-binary-distributions*.rpm | cpio -idmv`
|
||||||
6. Copy tarball to project devel:languages:haskell:compiler/ghc-bootstrap
|
6. Copy tarball to project devel:languages:haskell:compiler/ghc-bootstrap
|
||||||
|
|
||||||
|
Note:
|
||||||
|
=====
|
||||||
|
The ix86 and x86_64 tarballs were taken from upstream.
|
||||||
|
https://www.haskell.org/ghc/download_ghc_7_8_3
|
||||||
|
7
_constraints
Normal file
7
_constraints
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<constraints>
|
||||||
|
<hardware>
|
||||||
|
<disk>
|
||||||
|
<size unit="G">8</size>
|
||||||
|
</disk>
|
||||||
|
</hardware>
|
||||||
|
</constraints>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3df116adce17289d62cef233f4f3e97ccfde33478fffe80f7cd4ddbb6341e0d4
|
|
||||||
size 375603200
|
|
3
ghc-bootstrap-7.8.3.tar
Normal file
3
ghc-bootstrap-7.8.3.tar
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:521a6838fb6ee9273a3b6a12ee177066fa03f6e9791d92bc9b5cb61ffb2b4d7a
|
||||||
|
size 488120320
|
@ -1,10 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 29 09:55:28 UTC 2015 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- update to 7.8.3
|
||||||
|
* provide ppc64le build now
|
||||||
|
- remove duplicate files
|
||||||
|
- provides tags for ghc subpackages are no longer needed
|
||||||
|
we require ghc-bootstrap in ghc.spec
|
||||||
|
- update README.suse with note on upstream tarballs
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 17 13:43:27 UTC 2015 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- add _constraints for ppc64le
|
||||||
|
* need more disk space
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 26 08:24:04 UTC 2015 - peter.trommler@ohm-hochschule.de
|
Thu Mar 26 08:24:04 UTC 2015 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
- use official tarballs for x86 and x86_64
|
- use official tarballs for x86 and x86_64
|
||||||
* fixes build on openSUSE 11.4 and SLE 11
|
* fixes build on openSUSE 11.4 and SLE 11
|
||||||
* bootstrap ghc is built against libgmp.so.3
|
* bootstrap ghc is built against libgmp.so.3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 22 10:01:46 UTC 2014 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- fix typo in description
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 22 07:43:07 UTC 2014 - peter.trommler@ohm-hochschule.de
|
Mon Sep 22 07:43:07 UTC 2014 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
# spec file for package ghc-bootstrap
|
# spec file for package ghc-bootstrap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2015 Peter Trommler peter.trommler@ohm-hochschule.de
|
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,9 +15,9 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
%define longarch i386
|
%define longarch i386
|
||||||
|
%define os_release -centos65
|
||||||
%endif
|
%endif
|
||||||
%ifarch ppc
|
%ifarch ppc
|
||||||
%define longarch powerpc
|
%define longarch powerpc
|
||||||
@ -31,14 +30,16 @@
|
|||||||
%endif
|
%endif
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%define longarch x86_64
|
%define longarch x86_64
|
||||||
|
%define os_release -centos65
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global without_hscolour 1
|
%global without_hscolour 1
|
||||||
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
|
||||||
Name: ghc-bootstrap
|
Name: ghc-bootstrap
|
||||||
Version: 7.6.3
|
Version: 7.8.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://build.opensuse.org/package/view_file/devel:languages:haskell:bootstrap
|
Url: https://build.opensuse.org/package/view_file/devel:languages:haskell:bootstrap
|
||||||
Summary: Binary distributions of The Glorious Glasgow Haskell Compiler
|
Summary: Binary distributions of The Glorious Glasgow Haskell Compiler
|
||||||
@ -49,42 +50,13 @@ Source1: README.openSUSE
|
|||||||
Source2: LICENSE
|
Source2: LICENSE
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
|
BuildRequires: fdupes
|
||||||
Requires: gmp-devel
|
Requires: gmp-devel
|
||||||
# Building binary distributions is currently broken for ppc64le
|
|
||||||
# use package 'ghc-bin' to bootstrap ppc64le
|
|
||||||
# this will be fixed in version 7.8.3 and later
|
|
||||||
ExclusiveArch: %{ix86} ppc ppc64 x86_64
|
|
||||||
Provides: ghc-array
|
|
||||||
Provides: ghc-base
|
|
||||||
Provides: ghc-compiler = %{version}
|
|
||||||
Provides: ghc-containers
|
|
||||||
Provides: ghc-deepseq
|
|
||||||
Provides: ghc-directory
|
|
||||||
Provides: ghc-filepath
|
|
||||||
Provides: ghc-haskell98
|
|
||||||
Provides: ghc-old-locale
|
|
||||||
Provides: ghc-old-time
|
|
||||||
Provides: ghc-process
|
|
||||||
Provides: ghc-time
|
|
||||||
Provides: ghc-unix
|
|
||||||
|
|
||||||
#devel packages
|
ExclusiveArch: %{ix86} ppc ppc64 ppc64le x86_64
|
||||||
Provides: ghc-array-devel
|
Provides: ghc-bootstrap-devel
|
||||||
Provides: ghc-base-devel
|
|
||||||
Provides: ghc-binary-devel
|
|
||||||
Provides: ghc-bytestring-devel
|
|
||||||
Provides: ghc-containers-devel
|
|
||||||
Provides: ghc-deepseq-devel
|
|
||||||
Provides: ghc-directory-devel
|
|
||||||
Provides: ghc-filepath-devel
|
|
||||||
Provides: ghc-haskell98-devel
|
|
||||||
Provides: ghc-old-locale-devel
|
|
||||||
Provides: ghc-old-time-devel
|
|
||||||
Provides: ghc-pretty-devel
|
|
||||||
Provides: ghc-process-devel
|
|
||||||
Provides: ghc-time-devel
|
|
||||||
Provides: ghc-unix-devel
|
|
||||||
|
|
||||||
|
Conflicts: ghc
|
||||||
Conflicts: ghc-compiler
|
Conflicts: ghc-compiler
|
||||||
Conflicts: ghc-Cabal-devel
|
Conflicts: ghc-Cabal-devel
|
||||||
Conflicts: ghc-array-devel
|
Conflicts: ghc-array-devel
|
||||||
@ -144,7 +116,7 @@ cp %SOURCE2 .
|
|||||||
ln -s %{_libdir}/libgmp.so.10 libgmp.so.3
|
ln -s %{_libdir}/libgmp.so.10 libgmp.so.3
|
||||||
export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
|
||||||
%endif
|
%endif
|
||||||
tar jxf ghc-%{version}-%{longarch}-unknown-linux.tar.bz2
|
tar jxf ghc-%{version}-%{longarch}-unknown-linux%{?os_release}.tar.bz2
|
||||||
cd ghc-%{version}
|
cd ghc-%{version}
|
||||||
./configure --prefix=%{_prefix}
|
./configure --prefix=%{_prefix}
|
||||||
|
|
||||||
@ -158,6 +130,7 @@ cd ghc-%{version}
|
|||||||
install -dm 0755 %{buildroot}%{_libdir}
|
install -dm 0755 %{buildroot}%{_libdir}
|
||||||
ln -s %{_libdir}/libgmp.so.10 %{buildroot}%{_libdir}/libgmp.so.3
|
ln -s %{_libdir}/libgmp.so.10 %{buildroot}%{_libdir}/libgmp.so.3
|
||||||
%endif
|
%endif
|
||||||
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
ghc-pkg recache
|
ghc-pkg recache
|
||||||
@ -172,7 +145,8 @@ ghc-pkg recache
|
|||||||
%if 0%{suse_version} > 1130
|
%if 0%{suse_version} > 1130
|
||||||
%{_libdir}/libgmp.so.3
|
%{_libdir}/libgmp.so.3
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{ix86} x86_64
|
# for some reason there is no manpage for ghc in the x86_64 tarball
|
||||||
|
%ifarch %{ix86}
|
||||||
%{_mandir}/man1/ghc.1*
|
%{_mandir}/man1/ghc.1*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user