osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-bootstrap revision:6, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-bootstrap?expand=0&rev=94
This commit is contained in:
Peter Simons 2023-04-24 21:03:26 +00:00 committed by Git OBS Bridge
parent 7f172f30b7
commit 2e9654101a
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> 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 Source14: ghc-9.2.3-x86_64-unknown-linux.tar.xz
Source16: ghc-9.2.3-s390x-ibm-linux.tar.xz Source16: ghc-9.2.3-s390x-ibm-linux.tar.xz
Source17: ghc-9.2.3-aarch64-unknown-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: chrpath
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gmp-devel BuildRequires: gmp-devel
@ -80,13 +80,8 @@ Requires: pkgconfig(libffi)
Provides: ghc-bootstrap-devel Provides: ghc-bootstrap-devel
ExclusiveArch: ppc64 ppc64le x86_64 s390x aarch64 riscv64 ExclusiveArch: ppc64 ppc64le x86_64 s390x aarch64 riscv64
AutoReq: off AutoReq: off
%ifarch riscv64
Version: 8.10.4
Release: 0
%else
Version: 9.2.3 Version: 9.2.3
Release: 0 Release: 0
%endif
%ifnarch s390x %ifnarch s390x
BuildRequires: libnuma-devel BuildRequires: libnuma-devel
%endif %endif
@ -117,19 +112,11 @@ cp %{SOURCE19} .
%build %build
tar Jxf ghc-%{version}-%{longarch}-%{sysname}-linux.tar.xz tar Jxf ghc-%{version}-%{longarch}-%{sysname}-linux.tar.xz
%ifarch riscv64
cd ghc-%{version}
%else
cd ghc-%{version}-%{longarch}-%{sysname}-linux cd ghc-%{version}-%{longarch}-%{sysname}-linux
%endif
# FIXME: you should use the %%configure macro # FIXME: you should use the %%configure macro
%install %install
%ifarch riscv64
cd ghc-%{version}
%else
cd ghc-%{version}-%{longarch}-%{sysname}-linux cd ghc-%{version}-%{longarch}-%{sysname}-linux
%endif
./configure --prefix=/opt ./configure --prefix=/opt
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d