osc copypac from project:devel:languages:haskell:lts:10 package:ghc-bootstrap revision:1, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-bootstrap?expand=0&rev=17
This commit is contained in:
parent
dcd48950e4
commit
ffaa4d7416
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -21,5 +21,3 @@
|
|||||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
*.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
|
|
||||||
ghc-bootstrap-7.8.3.tar filter=lfs diff=lfs merge=lfs -text
|
|
||||||
|
@ -2,16 +2,16 @@ Generating binary distributions for ghc bootstrap in Factory
|
|||||||
============================================================
|
============================================================
|
||||||
|
|
||||||
1. Download source distribution from http://www.haskell.org/ghc/download
|
1. Download source distribution from http://www.haskell.org/ghc/download
|
||||||
2. Apply patches for openSUSE
|
2. If necessary, apply patches for openSUSE
|
||||||
* https://build.opensuse.org/package/show/devel:languages:haskell:bootstrap/ghc-prepare-binary-distributions
|
* https://build.opensuse.org/package/show/devel:languages:haskell:bootstrap/ghc-prepare-binary-distributions
|
||||||
3. Build binary distribution `make binary-dist`
|
3. Build binary distribution `make binary-dist`
|
||||||
4. Download rpms from:
|
4. Download rpms from:
|
||||||
* https://build.opensuse.org/package/binaries/devel:languages:haskell:bootstrap/ghc-prepare-binary-distributions?repository=openSUSE_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
|
||||||
|
* https://build.opensuse.org/package/binaries/devel:languages:haskell:bootstrap/ghc-prepare-binary-distributions?repository=openSUSE_Factory_zSystems
|
||||||
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:
|
Note:
|
||||||
=====
|
=====
|
||||||
The ix86 and x86_64 tarballs were taken from upstream.
|
The armv7, aarch64, i386, and x86_64 tarballs were taken from upstream.
|
||||||
https://www.haskell.org/ghc/download_ghc_7_8_3
|
See: https://www.haskell.org/ghc/download_ghc_8_2_1.html
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:38c61b7535644dbc0fc0e484752e1f3db6326569663658a93cb609e8ad05feaa
|
|
||||||
size 120180306
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9e7baa80ecdb263ec8c577760817b16d32ba73ba0ebd48004d7a69899e826496
|
|
||||||
size 60476033
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:dcf0af948d9146141347b4ac21ce604c63f84034cf993a8e147e4d8ce387bf12
|
|
||||||
size 87051271
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c5e2c51664c7db740be79c882c72fcd16036f84dff1b65ab0e9749b882ed31b6
|
|
||||||
size 107100129
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7561f2685063a49e46430050c057e801f210cc56c7fb2cab0951a6444a72c4f7
|
|
||||||
size 113299736
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7719ee27ae756eae2458bb8ade69a8c29c28d26d6ea8be36a73e5d003dd7024a
|
|
||||||
size 87692219
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cc7cb331aa41ff4c19fba1b72e1847533070d62d022ff282058a8d5969c49630
|
|
||||||
size 100269236
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:dde3e49eadcd8e537563b5925c2f0321f7a44b05826223aee2aa836e68bf7b46
|
|
||||||
size 97006937
|
|
3
ghc-8.2.1-aarch64-deb8-linux.tar.xz
Normal file
3
ghc-8.2.1-aarch64-deb8-linux.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:61dab9c95ef9f9af8bce7338863fda3e42945eb46194b12d922b6d0dc245d0c2
|
||||||
|
size 163469920
|
3
ghc-8.2.1-armv7-deb8-linux.tar.xz
Normal file
3
ghc-8.2.1-armv7-deb8-linux.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0f0e5e1d4fad3fa1a87ca1fe0d19242f4a94d158b7b8a08f99efefd98b51b019
|
||||||
|
size 173741784
|
3
ghc-8.2.1-i386-deb8-linux.tar.xz
Normal file
3
ghc-8.2.1-i386-deb8-linux.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d86f9c157dd4161a8acb14062c131c8985a4f65fc856603c373502be1d50c95e
|
||||||
|
size 122702996
|
3
ghc-8.2.1-powerpc64-unknown-linux.tar.xz
Normal file
3
ghc-8.2.1-powerpc64-unknown-linux.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:adb4343013ad13f14567b41a141e541ca5804e9d5ff9d41d3fbee467f8fefab2
|
||||||
|
size 117695016
|
3
ghc-8.2.1-powerpc64le-unknown-linux.tar.xz
Normal file
3
ghc-8.2.1-powerpc64le-unknown-linux.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f3c16ab1e45eb680352198c719ca30cdcefafe6c2fce8bc055714722cc2e1696
|
||||||
|
size 118447484
|
3
ghc-8.2.1-s390x-ibm-linux.tar.xz
Normal file
3
ghc-8.2.1-s390x-ibm-linux.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7fbb61b67986efb7784a760d8e5074bb44496fbb3878ab13aeb2caf6a06ced4d
|
||||||
|
size 135274992
|
3
ghc-8.2.1-x86_64-deb8-linux.tar.xz
Normal file
3
ghc-8.2.1-x86_64-deb8-linux.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:543b81bf610240bd0398111d6c6607a9094dc2d159b564057d46c8a3d1aaa130
|
||||||
|
size 126809836
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ceec3278ddaf2c71a879710026c2669acb31e3681f728ce5f0f2e506ef07f871
|
|
||||||
size 10240
|
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 24 11:15:31 UTC 2017 - peter.trommler@ohm-hochschule.de
|
||||||
|
|
||||||
|
- update to 8.2.1 on all arches
|
||||||
|
* required to bootstrap ghc 8.2.1
|
||||||
|
* drop support for ppc and s390
|
||||||
|
* add support for arm7l
|
||||||
|
* add support for registerised LLVM backend on aarch64
|
||||||
|
- update instructions to produce bindists
|
||||||
|
- remove libgmp hack, upstream bindists link against new libgmp
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 5 15:27:59 UTC 2017 - mimi.vx@gmail.com
|
Sun Mar 5 15:27:59 UTC 2017 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
%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
|
||||||
@ -38,51 +37,53 @@
|
|||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
%define longarch aarch64
|
%define longarch aarch64
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch %{arm}
|
||||||
|
%define longarch armv7
|
||||||
|
%endif
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%define longarch x86_64
|
%define longarch x86_64
|
||||||
%define os_release -centos65
|
|
||||||
%endif
|
|
||||||
%ifarch aarch64 s390 s390x
|
|
||||||
%define xversion 7.8.4
|
|
||||||
%else
|
|
||||||
%define xversion 7.8.3
|
|
||||||
%endif
|
%endif
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
%define sysname ibm
|
%define sysname ibm
|
||||||
%else
|
%else
|
||||||
|
%ifarch x86_64 %{ix86} aarch64 %{arm}
|
||||||
|
%define sysname deb8
|
||||||
|
%endif
|
||||||
|
%ifarch ppc64 ppc64le
|
||||||
%define sysname unknown
|
%define sysname unknown
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
%global without_hscolour 1
|
|
||||||
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
|
|
||||||
Name: ghc-bootstrap
|
Name: ghc-bootstrap
|
||||||
Version: 7.8.3
|
Version: 8.2.1
|
||||||
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
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Other
|
Group: Development/Languages/Other
|
||||||
Source: %{name}-%{version}.tar
|
|
||||||
Source1: README.openSUSE
|
Source1: README.openSUSE
|
||||||
Source2: LICENSE
|
Source2: LICENSE
|
||||||
Source10: ghc-7.8.3-i386-unknown-linux-centos65.tar.bz2
|
Source10: ghc-8.2.1-i386-deb8-linux.tar.xz
|
||||||
Source11: ghc-7.8.3-powerpc-unknown-linux.tar.bz2
|
Source12: ghc-8.2.1-powerpc64-unknown-linux.tar.xz
|
||||||
Source12: ghc-7.8.3-powerpc64-unknown-linux.tar.bz2
|
Source13: ghc-8.2.1-powerpc64le-unknown-linux.tar.xz
|
||||||
Source13: ghc-7.8.3-powerpc64le-unknown-linux.tar.bz2
|
Source14: ghc-8.2.1-x86_64-deb8-linux.tar.xz
|
||||||
Source14: ghc-7.8.3-x86_64-unknown-linux-centos65.tar.bz2
|
Source16: ghc-8.2.1-s390x-ibm-linux.tar.xz
|
||||||
Source15: ghc-7.8.4-s390-ibm-linux.tar.bz2
|
Source17: ghc-8.2.1-aarch64-deb8-linux.tar.xz
|
||||||
Source16: ghc-7.8.4-s390x-ibm-linux.tar.bz2
|
Source18: ghc-8.2.1-armv7-deb8-linux.tar.xz
|
||||||
Source17: ghc-7.8.4-aarch64-unknown-linux.tar.bz2
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: libncurses5
|
BuildRequires: libncurses5
|
||||||
Requires: libncurses5
|
%ifarch aarch64 %{arm}
|
||||||
|
BuildRequires: binutils-gold
|
||||||
|
Requires: binutils-gold
|
||||||
|
%endif
|
||||||
Requires: gmp-devel
|
Requires: gmp-devel
|
||||||
|
Requires: libncurses5
|
||||||
|
|
||||||
ExclusiveArch: %{ix86} ppc ppc64 ppc64le x86_64 s390 s390x aarch64
|
ExclusiveArch: %{ix86} ppc64 ppc64le x86_64 s390x aarch64 %{arm}
|
||||||
Provides: ghc-bootstrap-devel
|
Provides: ghc-bootstrap-devel
|
||||||
|
|
||||||
Conflicts: ghc
|
Conflicts: ghc
|
||||||
@ -140,37 +141,24 @@ Haskell home page at <http://www.haskell.org/>.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
|
||||||
cp %SOURCE1 .
|
cp %SOURCE1 .
|
||||||
cp %SOURCE2 .
|
cp %SOURCE2 .
|
||||||
cp %SOURCE10 .
|
cp %SOURCE10 .
|
||||||
cp %SOURCE11 .
|
|
||||||
cp %SOURCE12 .
|
cp %SOURCE12 .
|
||||||
cp %SOURCE13 .
|
cp %SOURCE13 .
|
||||||
cp %SOURCE14 .
|
cp %SOURCE14 .
|
||||||
cp %SOURCE15 .
|
|
||||||
cp %SOURCE16 .
|
cp %SOURCE16 .
|
||||||
cp %SOURCE17 .
|
cp %SOURCE17 .
|
||||||
|
cp %SOURCE18 .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{suse_version} > 1130
|
tar Jxf ghc-%{version}-%{longarch}-%{sysname}-linux.tar.xz
|
||||||
ln -s %{_libdir}/libgmp.so.10 libgmp.so.3
|
cd ghc-%{version}
|
||||||
export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
|
|
||||||
%endif
|
|
||||||
tar jxf ghc-%{xversion}-%{longarch}-%{sysname}-linux%{?os_release}.tar.bz2
|
|
||||||
cd ghc-%{xversion}
|
|
||||||
./configure --prefix=%{_prefix}
|
./configure --prefix=%{_prefix}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if 0%{suse_version} > 1130
|
cd ghc-%{version}
|
||||||
export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
|
|
||||||
%endif
|
|
||||||
cd ghc-%{xversion}
|
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%if 0%{suse_version} > 1130
|
|
||||||
install -dm 0755 %{buildroot}%{_libdir}
|
|
||||||
ln -s %{_libdir}/libgmp.so.10 %{buildroot}%{_libdir}/libgmp.so.3
|
|
||||||
%endif
|
|
||||||
%fdupes -s %{buildroot}
|
%fdupes -s %{buildroot}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -181,13 +169,10 @@ ghc-pkg recache
|
|||||||
%doc README.openSUSE
|
%doc README.openSUSE
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_prefix}/lib/ghc-%{xversion}
|
%{_prefix}/lib/ghc-%{version}
|
||||||
%{_datadir}/doc/*
|
%{_datadir}/doc/*
|
||||||
%if 0%{suse_version} > 1130
|
|
||||||
%{_libdir}/libgmp.so.3
|
%ifarch %{ix86} x86_64 aarch64 %{arm}
|
||||||
%endif
|
|
||||||
# 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…
Reference in New Issue
Block a user