me
/
guix
Archived
1
0
Fork 0

gnu: texlive-bin: Fix compilation on powerpc64le*.

* 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>
master
Leo Le Bouter 2021-02-08 03:13:53 +01:00 committed by Chris Marusich
parent 69b3907adf
commit e9938dc8f0
No known key found for this signature in database
GPG Key ID: DD409A15D822469D
1 changed files with 14 additions and 4 deletions

View File

@ -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")
"--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 mips64/aarch64 to cope with a failure of luajiterr.test.
;; XXX FIXME fix luajit properly on mips64 and aarch64.
;; 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