[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47182] [PATCH 10/18] gnu: texlive-bin: Fix compilation on powerpc64
From: |
Chris Marusich |
Subject: |
[bug#47182] [PATCH 10/18] gnu: texlive-bin: Fix compilation on powerpc64le*. |
Date: |
Mon, 15 Mar 2021 23:45:03 -0700 |
From: Leo Le Bouter <lle-bout@zaclys.net>
* gnu/packages/tex.scm (texlive-bin)[arguments]: Append "--disable-luajittex"
and "--disable-mfluajit" to keyword argument "#:configure-flags" on
powerpc64le* because LuaJIT is not ported to powerpc64le* yet. Also set
"#:tests?" to "#f" on powerpc64le*.
Signed-off-by: Chris Marusich <cmmarusich@gmail.com>
---
gnu/packages/tex.scm | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c0f4ff0fcdc..508537acdaf 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -15,6 +15,7 @@
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020, 2021 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021 Leo Le Bouter <lle-bout@zaclys.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -342,14 +343,23 @@ files from LOCATIONS with expected checksum HASH. CODE
is not currently in use.
"--with-system-teckit"
"--with-system-xpdf"
"--with-system-zlib"
- "--with-system-zziplib")
-
- ;; Disable tests on mips64/aarch64 to cope with a failure of
luajiterr.test.
- ;; XXX FIXME fix luajit properly on mips64 and aarch64.
+ "--with-system-zziplib"
+ ;; LuaJIT is not ported to powerpc64le* yet.
+ ,@(if (string-prefix? "powerpc64le" (or (%current-target-system)
+ (%current-system)))
+ '("--disable-luajittex"
+ "--disable-mfluajit")
+ '()))
+
+ ;; Disable tests on some architectures to cope with a failure of
+ ;; luajiterr.test.
+ ;; XXX FIXME fix luajit properly on these architectures.
#:tests? ,(let ((s (or (%current-target-system)
(%current-system))))
(not (or (string-prefix? "aarch64" s)
- (string-prefix? "mips64" s))))
+ (string-prefix? "mips64" s)
+ (string-prefix? "powerpc64le" s))))
+
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'configure-ghostscript-executable
--
2.26.2
- [bug#47182] [PATCH 02/18] utils: Add target-powerpc? procedure., (continued)
[bug#47182] [PATCH 05/18] gnu: gcc-boot0: Enable 128-bit long double for POWER9., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 06/18] gnu: binutils-final: Provide bash for binary on powerpc-linux., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 04/18] gnu: glibc: Fix ldd path on powerpc*., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 10/18] gnu: texlive-bin: Fix compilation on powerpc64le*.,
Chris Marusich <=
[bug#47182] [PATCH 13/18] Add powerpc64le-linux as a supported Guix architecture., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 08/18] gnu: bdb-4.8: Fix configure on powerpc64le-linux., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 09/18] gnu: guile-avahi: Fix compilation on powerpc64le-linux., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 12/18] gnu: libelf: Fix compilation for powerpc64le-linux., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 11/18] gnu: texlive-latex-base: Fix compilation on powerpc64le*., Chris Marusich, 2021/03/16
[bug#47182] [PATCH 14/18] syscalls: Fix clone on powerpc64le-linux., Chris Marusich, 2021/03/16