mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: texlive-bin: Fix building on riscv64-linux.
* gnu/packages/tex.scm (texlive-bin)[arguments]: Adjust configure-flags for riscv64-linux to skip luajit based binaries. Add phase to skip some tests.
This commit is contained in:
parent
43dd34c777
commit
e217174b7b
1 changed files with 9 additions and 8 deletions
|
@ -337,13 +337,13 @@ (define-public texlive-bin
|
|||
"--with-system-teckit"
|
||||
"--with-system-zlib"
|
||||
"--with-system-zziplib"
|
||||
;; LuaJIT is not ported to powerpc64le* yet.
|
||||
,@(if (string-prefix? "powerpc64le" (or (%current-target-system)
|
||||
(%current-system)))
|
||||
'("--disable-luajittex"
|
||||
"--disable-luajithbtex"
|
||||
"--disable-mfluajit")
|
||||
'()))
|
||||
;; LuaJIT is not ported to some architectures yet.
|
||||
,@(if (or (target-ppc64le?)
|
||||
(target-riscv64?))
|
||||
'("--disable-luajittex"
|
||||
"--disable-luajithbtex"
|
||||
"--disable-mfluajit")
|
||||
'()))
|
||||
|
||||
;; Disable tests on some architectures to cope with a failure of
|
||||
;; luajiterr.test.
|
||||
|
@ -381,7 +381,8 @@ (define-public texlive-bin
|
|||
(substitute* "texk/web2c/omegafonts/check.test"
|
||||
(("^\\./omfonts -ofm2opl \\$srcdir/tests/check tests/xcheck \\|\\| exit 1")
|
||||
"./omfonts -ofm2opl $srcdir/tests/check tests/xcheck || exit 77"))))
|
||||
,@(if (target-ppc32?)
|
||||
,@(if (or (target-ppc32?)
|
||||
(target-riscv64?))
|
||||
;; Some mendex tests fail on some architectures.
|
||||
`((add-after 'unpack 'skip-mendex-tests
|
||||
(lambda _
|
||||
|
|
Loading…
Reference in a new issue