Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] maxima: dont default sbcl on aarch64, dont makedepends on emacs
@ 2023-04-06 22:12 tornaria
  2023-04-07 15:10 ` dkwo
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: tornaria @ 2023-04-06 22:12 UTC (permalink / raw)
  To: ml

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-05-13  2:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-06 22:12 [PR PATCH] maxima: dont default sbcl on aarch64, dont makedepends on emacs tornaria
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

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).