1
0
forked from pool/ghc-bootstrap

Accepting request 1082946 from devel:languages:haskell

update

OBS-URL: https://build.opensuse.org/request/show/1082946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-bootstrap?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2023-04-26 15:26:26 +00:00 committed by Git OBS Bridge
commit 35a4bd64ea
4 changed files with 9 additions and 17 deletions

View File

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

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 24 11:06:22 UTC 2023 - Andreas Schwab <schwab@suse.de>
- Update riscv64 bootstrap compiler
-------------------------------------------------------------------
Mon Apr 3 09:13:52 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -62,7 +62,7 @@ Source13: ghc-9.2.3-powerpc64le-unknown-linux.tar.xz
Source14: ghc-9.2.3-x86_64-unknown-linux.tar.xz
Source16: ghc-9.2.3-s390x-ibm-linux.tar.xz
Source17: ghc-9.2.3-aarch64-unknown-linux.tar.xz
Source19: ghc-8.10.4-riscv64-unknown-linux.tar.xz
Source19: ghc-9.2.3-riscv64-unknown-linux.tar.xz
BuildRequires: chrpath
BuildRequires: fdupes
BuildRequires: gmp-devel
@ -80,13 +80,8 @@ Requires: pkgconfig(libffi)
Provides: ghc-bootstrap-devel
ExclusiveArch: ppc64 ppc64le x86_64 s390x aarch64 riscv64
AutoReq: off
%ifarch riscv64
Version: 8.10.4
Release: 0
%else
Version: 9.2.3
Release: 0
%endif
%ifnarch s390x
BuildRequires: libnuma-devel
%endif
@ -117,19 +112,11 @@ cp %{SOURCE19} .
%build
tar Jxf ghc-%{version}-%{longarch}-%{sysname}-linux.tar.xz
%ifarch riscv64
cd ghc-%{version}
%else
cd ghc-%{version}-%{longarch}-%{sysname}-linux
%endif
# FIXME: you should use the %%configure macro
%install
%ifarch riscv64
cd ghc-%{version}
%else
cd ghc-%{version}-%{longarch}-%{sysname}-linux
%endif
./configure --prefix=/opt
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d