Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qbe: update to 1.2. #49016

Merged
merged 1 commit into from
Mar 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions srcpkgs/qbe/template
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -9,15 +9,21 @@ 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
# Currently only riscv64, 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

post_patch() {
vsed -e '/^CC/d' -i Makefile
}

post_install() {
vdoc doc/abi.txt
vdoc doc/il.txt
Expand Down