aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/tex.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-08-17 09:43:32 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-08-17 09:46:33 +0300
commit3567b916d309e3ce3038c001707839094505a905 (patch)
treedd3bec74debd20202af57197c6399ab3557aea4a /gnu/packages/tex.scm
parent7393764680fa68461dcac76a484d7103dc0f3540 (diff)
downloadguix-3567b916d309e3ce3038c001707839094505a905.tar
guix-3567b916d309e3ce3038c001707839094505a905.tar.gz
gnu: texlive-bin: Fix building on powerpc-linux.
* gnu/packages/tex.scm (texlive-bin)[arguments]: Add phase on powerpc-linux to adjust the test suite.
Diffstat (limited to 'gnu/packages/tex.scm')
-rw-r--r--gnu/packages/tex.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 70166941d5..c00c2ae177 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -385,6 +385,15 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use.
(("^\\./omfonts -ofm2opl \\$srcdir/tests/check tests/xcheck \\|\\| exit 1")
"./omfonts -ofm2opl $srcdir/tests/check tests/xcheck || exit 77"))
#t))
+ ,@(if (target-ppc32?)
+ ;; Some mendex tests fail on some architectures.
+ `((add-after 'unpack 'skip-mendex-tests
+ (lambda _
+ (substitute* '("texk/mendexk/tests/mendex.test"
+ "texk/upmendex/tests/upmendex.test")
+ (("srcdir/tests/pprecA-0.ind pprecA-0.ind1 \\|\\| exit 1")
+ "srcdir/tests/pprecA-0.ind pprecA-0.ind1 || exit 77")))))
+ '())
(add-after 'unpack 'unpack-texlive-extra
(lambda* (#:key inputs #:allow-other-keys)
(mkdir "texlive-extra")