Hello community, here is the log from the commit of package ghc for openSUSE:Factory checked in at 2020-02-04 19:56:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc (Old) and /work/SRC/openSUSE:Factory/.ghc.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc" Tue Feb 4 19:56:04 2020 rev:80 rq:769887 version:8.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc/ghc.changes 2020-01-22 22:43:12.612483161 +0100 +++ /work/SRC/openSUSE:Factory/.ghc.new.26092/ghc.changes 2020-02-04 19:56:09.113419537 +0100 @@ -1,0 +2,10 @@ +Thu Jan 23 09:41:53 UTC 2020 - Peter Trommler <[email protected]> + +- use ghc-bootstrap-helpers on all archs +- lower build env requirements on riscv64 + * make sure we can build on smaller systems + * adjust parallelism so we don't hog big workers for almost a week + * many thanks to Stefan Bruens for pointing out the issue and + helping with the solution + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc.spec ++++++ --- /var/tmp/diff_new_pack.ZWUAH9/_old 2020-02-04 19:56:11.321420825 +0100 +++ /var/tmp/diff_new_pack.ZWUAH9/_new 2020-02-04 19:56:11.337420835 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -44,6 +44,7 @@ BuildRequires: binutils-devel BuildRequires: gcc BuildRequires: ghc-bootstrap >= 8.4 +BuildRequires: ghc-bootstrap-helpers BuildRequires: ghc-rpm-macros-extra BuildRequires: glibc-devel BuildRequires: gmp-devel @@ -68,9 +69,11 @@ %endif %ifarch aarch64 %{arm} %{ix86} x86_64 %if 0%{?suse_version} >= 1550 -BuildRequires: llvm7-devel +BuildRequires: llvm7 +Requires: llvm7 %else -BuildRequires: llvm-devel +BuildRequires: llvm +Requires: llvm %endif %endif %if %{undefined without_manual} @@ -81,21 +84,14 @@ BuildRequires: libnuma-devel %endif -# bogus requires -%ifarch x86_64 -BuildRequires: ghc-bootstrap-helpers -%else -BuildRequires: alex -BuildRequires: happy -%endif - PreReq: update-alternatives Requires: ghc-compiler = %{version}-%{release} Requires: ghc-ghc-devel = %{version}-%{release} Requires: ghc-libraries = %{version}-%{release} + # PATCH-FIX-UPSTREAM Disable-unboxed-arrays.patch [email protected] -- Do not use unboxed arrays on big-endian platforms. See Haskell Trac #15411. Patch3: Disable-unboxed-arrays.patch -# PATCH-FIX-UPSTREAM fix-unregisterised-v8.4-8.6.patch +# PATCH-FIX-UPSTREAM fix-unregisterised-v8.4-8.6.patch [email protected] -- Fix/workaround an issue with unregisterised builds bootstrapped with GHC 8.4 and 8.6. Similar to upstream ticket #15913. Patch6: fix-unregisterised-v8.4-8.6.patch # PATCH-FIX-UPSTREAM ghc-pie.patch - set linux as default PIE platform Patch35: ghc-pie.patch @@ -271,16 +267,16 @@ --sharedstatedir=%{_sharedstatedir} --mandir=%{_mandir} \ --with-system-libffi -%ifnarch s390 s390x riscv64 %if 0%{?suse_version} >= 1500 +%ifarch unregisterised_archs +%limit_build -m 8000 +%else %limit_build -m 2000 +%endif make %{?_smp_mflags} %else make -j 2 %endif -%else -make -%endif %install %if 0%{?suse_version} <= 1320 @@ -448,8 +444,6 @@ %{ghcdocbasedir}/users_guide %endif %{ghcdocbasedir}/libraries/gen_contents_index -#%%{ghcdocbasedir}/libraries/hslogo-16.png -#%%{ghcdocbasedir}/libraries/ocean.css %{ghcdocbasedir}/libraries/linuwial.css %{ghcdocbasedir}/libraries/quick-jump.css %{ghcdocbasedir}/libraries/prologue.txt ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.ZWUAH9/_old 2020-02-04 19:56:11.413420879 +0100 +++ /var/tmp/diff_new_pack.ZWUAH9/_new 2020-02-04 19:56:11.417420882 +0100 @@ -13,9 +13,9 @@ <arch>aarch64</arch> </conditions> <hardware> - <physicalmemory> + <memory> <size unit="G">10</size> - </physicalmemory> + </memory> </hardware> </overwrite> <overwrite> @@ -23,9 +23,9 @@ <arch>riscv64</arch> </conditions> <hardware> - <physicalmemory> - <size unit="G">20</size> - </physicalmemory> + <memory> + <size unit="G">17</size> + </memory> </hardware> </overwrite> </constraints>
