guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates-frozen updated: gnu: texlive-texmf: Disable LuaJIT e


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le.
Date: Sun, 22 Aug 2021 07:21:22 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new bf53a26  gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le.
bf53a26 is described below

commit bf53a26a3a32c2ac9f7bbf7e663aa6fff04421ab
Author: Thiago Jung Bauermann <bauermann@kolabnow.com>
AuthorDate: Thu Aug 19 21:47:15 2021 -0300

    gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le.
    
    LuaJIT isn’t ported to 64-bit PowerPC. ‘texlive-bin’ and
    ‘texlive-latex-base’ already disable the engines that rely on it, so just
    do the same in texlive-texmf.
    
    Fix suggested by Mathieu Othacehe <othacehe@gnu.org>.
    
    * gnu/packages/tex.scm (texlive-texmf)[arguments]: Disable LuaJIT
    engines when building for powerpc64le.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/tex.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 4500f19..43901a3 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6829,9 +6829,15 @@ directly generate PDF documents instead of DVI.")
                      (share (string-append out "/share"))
                      (texmfroot (string-append share "/texmf-dist/web2c"))
                      (texmfcnf (string-append texmfroot "/texmf.cnf"))
+                     (fmtutilcnf (string-append texmfroot "/fmtutil.cnf"))
                      (texlive-bin (assoc-ref inputs "texlive-bin"))
                      (texbin (string-append texlive-bin "/bin"))
                      (tlpkg (string-append texlive-bin "/share/tlpkg")))
+                ;; LuaJIT is not ported to powerpc64* yet.
+                (if ,(target-ppc64le?)
+                    (substitute* fmtutilcnf
+                      (("^(luajittex|luajithbtex|mfluajit)" m)
+                       (string-append "#! " m))))
                 ;; Register SHARE as TEXMFROOT in texmf.cnf.
                 (substitute* texmfcnf
                   (("TEXMFROOT = \\$SELFAUTOPARENT")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]