Github messages for voidlinux
 help / color / mirror / Atom feed
From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] maxima: dont default sbcl on aarch64, dont makedepends on emacs
Date: Fri, 07 Apr 2023 00:12:09 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43311@inbox.vuxu.org> (raw)

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

There is a new pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages maxima-aarch64
https://github.com/void-linux/void-packages/pull/43311

maxima: dont default sbcl on aarch64, dont makedepends on emacs
@dkwo: try this.

 - Default to `~sbcl` for aarch64 since you say it's broken
 - Remove emacs from hostmakedepends; it seems the emacs support files don't really need emacs.

Let's see how this works. Note that your `maxima` package will not contain any binary, you will have to manually install `maxima-ecl`. If this is a good setup we can figure out how to address this. Not a problem for sagemath which depends on `maxima-ecl`.

For cross compiling, we would need to do something more fancy, i.e. an `ecl` binary that can cross-compile for aarch64. This is in principle possible as ecl compiles itself this way using the host ecl.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maxima-aarch64-43311.patch --]
[-- Type: text/x-diff, Size: 1179 bytes --]

From 2e44d4a752bec8d41d2aeb0c8291012ece1dd022 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Thu, 6 Apr 2023 18:59:36 -0300
Subject: [PATCH] maxima: dont default sbcl on aarch64, dont makedepends on
 emacs

---
 srcpkgs/maxima/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/maxima/template b/srcpkgs/maxima/template
index 69e85ec833e8..cfb7470e0a25 100644
--- a/srcpkgs/maxima/template
+++ b/srcpkgs/maxima/template
@@ -4,7 +4,7 @@ version=5.45.1
 revision=4
 build_style=gnu-configure
 configure_args="$(vopt_enable clisp) $(vopt_enable sbcl sbcl-exec) $(vopt_enable ecl)"
-hostmakedepends="python3 perl emacs texinfo patchelf"
+hostmakedepends="python3 perl texinfo patchelf $(vopt_if ecl ecl)"
 makedepends="$(vopt_if clisp clisp) $(vopt_if sbcl sbcl) $(vopt_if ecl ecl)"
 depends="$(vopt_if clisp clisp) rlwrap"
 checkdepends="gnuplot"
@@ -32,7 +32,7 @@ build_options_default="ecl"
 
 # sbcl is only available for these architectures
 case "$XBPS_TARGET_MACHINE" in
-	i686|x86_64*|armv7l|aarch64|ppc64le*)
+	i686|x86_64*|armv7l|ppc64le*)
 		build_options_default+=" sbcl"
 		;;
 esac

             reply	other threads:[~2023-04-06 22:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-06 22:12 tornaria [this message]
2023-04-07 15:10 ` dkwo
2023-04-07 16:25 ` tornaria
2023-04-07 16:29 ` tornaria
2023-04-07 16:31 ` tornaria
2023-04-07 17:55 ` dkwo
2023-04-27 15:16 ` dkwo
2023-05-10 13:19 ` dkwo
2023-05-10 13:21 ` tornaria
2023-05-13  2:36 ` tornaria
2023-05-13  2:36 ` [PR PATCH] [Closed]: " tornaria

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-43311@inbox.vuxu.org \
    --to=tornaria@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).