* [PR PATCH] ghc-bin: enable build on ppc64
@ 2022-01-29 17:46 trommler
2022-01-29 17:50 ` q66
2022-01-29 17:50 ` [PR PATCH] [Closed]: " q66
0 siblings, 2 replies; 3+ messages in thread
From: trommler @ 2022-01-29 17:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]
There is a new pull request by trommler against master on the void-packages repository
https://github.com/trommler/void-packages bootstrap-ghc-ppc64
https://github.com/void-linux/void-packages/pull/35298
ghc-bin: enable build on ppc64
Provide a binary distribution for ppc64 to bootstrap Haskell (ghc) on ppc64.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (ppc64-glibc)
Tagging @q66 for PowerPC.
A patch file from https://github.com/void-linux/void-packages/pull/35298.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bootstrap-ghc-ppc64-35298.patch --]
[-- Type: text/x-diff, Size: 1321 bytes --]
From 34bcb81aa2ea4128f5aa9f53b106977dadc9d6ce Mon Sep 17 00:00:00 2001
From: Peter Trommler <ptrommler@acm.org>
Date: Sat, 1 Jan 2022 15:56:14 +0100
Subject: [PATCH] ghc-bin: enable build on ppc64
---
srcpkgs/ghc-bin/template | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/ghc-bin/template b/srcpkgs/ghc-bin/template
index df74043ea188..b068871dc49a 100644
--- a/srcpkgs/ghc-bin/template
+++ b/srcpkgs/ghc-bin/template
@@ -2,7 +2,7 @@
pkgname=ghc-bin
version=8.10.4
revision=1
-archs="i686 x86_64* ppc64le*"
+archs="i686 x86_64* ppc64 ppc64le*"
wrksrc="ghc-${version%[!0-9]}"
hostmakedepends="perl libffi libnuma"
depends="ncurses perl gcc libffi-devel gmp-devel"
@@ -27,6 +27,10 @@ i686)
distfiles="https://downloads.haskell.org/~ghc/${version%[!0-9]}/ghc-${version}-i386-deb9-linux.tar.xz"
checksum=0022c5b9ac22825bb7b4745af3d92cef0ba1ecd01fab3ef387ddbd47146569ad
;;
+ppc64)
+ distfiles="https://faubox.rrze.uni-erlangen.de/dl/fiLuykeuntXeFzAG5k9RDZP7/ghc-${version}-powerpc64-unknown-linux.tar.xz"
+ checksum=89683855d49d6a879903499885ec56ce8cb9fcfd7abfcda9665469dcd0c165b5
+ ;;
ppc64le)
distfiles="https://alpha.de.repo.voidlinux.org/distfiles/ghc-${version}-powerpc64le-void-linux.tar.xz"
checksum=81065f401c5fc88d44be08db1cc0bdad473af4750bb0a19e54c9d15a5981406b
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ghc-bin: enable build on ppc64
2022-01-29 17:46 [PR PATCH] ghc-bin: enable build on ppc64 trommler
@ 2022-01-29 17:50 ` q66
2022-01-29 17:50 ` [PR PATCH] [Closed]: " q66
1 sibling, 0 replies; 3+ messages in thread
From: q66 @ 2022-01-29 17:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
New comment by q66 on void-packages repository
https://github.com/void-linux/void-packages/pull/35298#issuecomment-1024956727
Comment:
https://github.com/void-linux/void-packages/pull/33850 needs to go in first, and also any necessary `ghc` patches need to go in first
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Closed]: ghc-bin: enable build on ppc64
2022-01-29 17:46 [PR PATCH] ghc-bin: enable build on ppc64 trommler
2022-01-29 17:50 ` q66
@ 2022-01-29 17:50 ` q66
1 sibling, 0 replies; 3+ messages in thread
From: q66 @ 2022-01-29 17:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
There's a closed pull request on the void-packages repository
ghc-bin: enable build on ppc64
https://github.com/void-linux/void-packages/pull/35298
Description:
Provide a binary distribution for ppc64 to bootstrap Haskell (ghc) on ppc64.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, (ppc64-glibc)
Tagging @q66 for PowerPC.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-29 17:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-29 17:46 [PR PATCH] ghc-bin: enable build on ppc64 trommler
2022-01-29 17:50 ` q66
2022-01-29 17:50 ` [PR PATCH] [Closed]: " q66
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).