Github messages for voidlinux
 help / color / mirror / Atom feed
From: echoptic <echoptic@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] qbe: update to 1.2.
Date: Sat, 02 Mar 2024 11:15:48 +0100	[thread overview]
Message-ID: <20240302101548.97E452886C@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49016@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

There is an updated pull request by echoptic against master on the void-packages repository

https://github.com/echoptic/void-packages qbe-update
https://github.com/void-linux/void-packages/pull/49016

qbe: update to 1.2.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc


A patch file from https://github.com/void-linux/void-packages/pull/49016.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qbe-update-49016.patch --]
[-- Type: text/x-diff, Size: 1422 bytes --]

From 3e28b5ba722a69afe8a26110e758072ac40b1a58 Mon Sep 17 00:00:00 2001
From: echoptic <bigerchocho@gmail.com>
Date: Fri, 1 Mar 2024 09:58:13 +0100
Subject: [PATCH] qbe: update to 1.2.

---
 srcpkgs/qbe/template | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/qbe/template b/srcpkgs/qbe/template
index e56a69ffcc107b..39e88270f6c1dd 100644
--- a/srcpkgs/qbe/template
+++ b/srcpkgs/qbe/template
@@ -1,6 +1,6 @@
 # Template file for 'qbe'
 pkgname=qbe
-version=1.1
+version=1.2
 revision=1
 build_style=gnu-makefile
 make_use_env=yes
@@ -9,15 +9,23 @@ maintainer="Bryce Vandegrift <bryce@brycevandegrift.xyz>"
 license="MIT"
 homepage="https://c9x.me/compile/"
 distfiles="https://c9x.me/compile/release/qbe-${version}.tar.xz"
-checksum=7d0a53dd40df48072aae317e11ddde15d1a980673160e514e235b9ecaa1db12c
+checksum=a6d50eb952525a234bf76ba151861f73b7a382ac952d985f2b9af1df5368225d
 
 # Currently only aarch64 and x86_64 targets are supported and the checks
 # test the compiled binaries.
 case "$XBPS_TARGET_MACHINE" in
-	aarch64*|x86_64*) ;;
-	*) make_check=no ;;
+	x86_64*) ;;
+	aarch64*) make_check_args="TARGET=arm64" ;;
+	riscv64*) make_check_args="TARGET=rv64" ;;
+	*) make_check=no # no tests for other architectures ;;
 esac
 
+do_build() {
+	if [ "$CROSS_BUILD" ]; then
+		make CC="${XBPS_CROSS_TRIPLET}-gcc"
+	fi
+}
+
 post_install() {
 	vdoc doc/abi.txt
 	vdoc doc/il.txt

  parent reply	other threads:[~2024-03-02 10:15 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-01  9:06 [PR PATCH] " echoptic
2024-03-01  9:10 ` oreo639
2024-03-01  9:43 ` echoptic
2024-03-01  9:46 ` oreo639
2024-03-01 10:53 ` echoptic
2024-03-01 11:08 ` [PR PATCH] [Updated] " echoptic
2024-03-01 14:14 ` echoptic
2024-03-01 14:15 ` echoptic
2024-03-01 16:57 ` Duncaen
2024-03-01 17:00 ` Duncaen
2024-03-01 17:01 ` Duncaen
2024-03-01 17:02 ` [PR REVIEW] " Duncaen
2024-03-02 10:15 ` echoptic [this message]
2024-03-02 10:15 ` echoptic
2024-03-02 10:59 ` echoptic
2024-03-02 11:23 ` oreo639
2024-03-02 11:31 ` oreo639
2024-03-02 11:44 ` [PR PATCH] [Updated] " echoptic
2024-03-02 11:46 ` echoptic
2024-03-02 11:50 ` echoptic
2024-03-02 11:52 ` echoptic
2024-03-02 12:07 ` [PR PATCH] [Updated] " echoptic
2024-03-07 20:46 ` echoptic
2024-03-10 20:29 ` [PR PATCH] [Merged]: " cinerea0

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=20240302101548.97E452886C@inbox.vuxu.org \
    --to=echoptic@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).