[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
136/141: gnu: texlive-luajittex-bin: Skip build on ppc64le and riscv64 a
From: |
guix-commits |
Subject: |
136/141: gnu: texlive-luajittex-bin: Skip build on ppc64le and riscv64 architectures. |
Date: |
Wed, 26 Jun 2024 06:35:09 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 0ff38f008b253bbcb511435a53c16dd006d07947
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Jun 24 23:04:33 2024 +0200
gnu: texlive-luajittex-bin: Skip build on ppc64le and riscv64 architectures.
* gnu/packages/tex.scm (texlive-luajittex-bin)[arguments]<#:phases>: Skip
build on ppc64le and riscv64 architectures.
Change-Id: Ifb70cbb2637c64bb8f2cc31598e7059647210789
---
gnu/packages/tex.scm | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c1953692bc..e59413ca9d 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -48518,17 +48518,28 @@ without HarfBuzz.")
;; libraries in the source tree, in particular pplib and luajit,
;; required for LuajitTeX. The following change forces building
;; them.
+ ;;
+ ;; XXX: Skip build on architectures not supporting LuaJIT. It
+ ;; avoid creating conditional inputs in TEXLIVE-LUAJITTEX, which
+ ;; would give more manual work after an update.
(lambda _
- (substitute* "libs/configure"
- (("x\\$need_(pplib|luajit)") "xyes"))))
+ #$@(if (or (target-ppc64le?)
+ (target-riscv64?))
+ '("skip")
+ '((substitute* "libs/configure"
+ (("x\\$need_(pplib|luajit)") "xyes"))))))
(add-after 'install 'install-binaries
(lambda _
- (with-directory-excursion "texk/web2c"
- (invoke "make" "luajittex")
- (invoke "make" "luajithbtex")
- (let ((bin (string-append #$output "/bin")))
- (install-file ".libs/luajittex" bin)
- (install-file ".libs/luajithbtex" bin)))))))))
+ (let ((out #$output))
+ #$@(if (or (target-ppc64le?)
+ (target-riscv64?))
+ '("skip")
+ '((with-directory-excursion "texk/web2c"
+ (invoke "make" "luajittex")
+ (invoke "make" "luajithbtex")
+ (let ((bin (string-append out "/bin")))
+ (install-file ".libs/luajittex" bin)
+ (install-file ".libs/luajithbtex"
bin))))))))))))
(native-inputs (list pkg-config))
(home-page (package-home-page texlive-luajittex))
(synopsis "Binaries for @code{texlive-luajittex}")
- 135/141: gnu: texlive-context: Fix context executable., (continued)
- 135/141: gnu: texlive-context: Fix context executable., guix-commits, 2024/06/26
- 127/141: gnu: texlive-mltex: Create missing symlinks., guix-commits, 2024/06/26
- 138/141: gnu: texlive-luatex: Generate "luatex.fmt" and "dviluatex.fmt"., guix-commits, 2024/06/26
- 141/141: gnu: texlive-xpinyin: Skip build., guix-commits, 2024/06/26
- 134/141: gnu: Update TeX Live to 2024.2., guix-commits, 2024/06/26
- 137/141: gnu: tex: Add comments about TeX Live updating process., guix-commits, 2024/06/26
- 128/141: gnu: texlive-optex: Create missing symlink., guix-commits, 2024/06/26
- 124/141: gnu: texlive-eplain: Create missing symlink., guix-commits, 2024/06/26
- 133/141: gnu: texlive-jadetex: Small refactoring., guix-commits, 2024/06/26
- 140/141: gnu: texlive-autopdf: Fix build., guix-commits, 2024/06/26
- 136/141: gnu: texlive-luajittex-bin: Skip build on ppc64le and riscv64 architectures.,
guix-commits <=