Github messages for voidlinux
 help / color / mirror / Atom feed
From: trommler <trommler@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] ghc-bin: enable build on ppc64
Date: Sat, 29 Jan 2022 18:46:05 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35298@inbox.vuxu.org> (raw)

[-- 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

             reply	other threads:[~2022-01-29 17:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-29 17:46 trommler [this message]
2022-01-29 17:50 ` q66
2022-01-29 17:50 ` [PR PATCH] [Closed]: " q66

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35298@inbox.vuxu.org \
    --to=trommler@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).