mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: hypre: Replace texlive input with minimal texlive-union.
* gnu/packages/maths.scm (hypre)[native-inputs]: Replace texlive with minimal texlive-union.
This commit is contained in:
parent
3159568951
commit
9b405aeaa2
1 changed files with 14 additions and 2 deletions
|
@ -3707,7 +3707,13 @@ (define-public hypre
|
|||
`(("doc++" ,doc++)
|
||||
("netpbm" ,netpbm)
|
||||
("perl" ,perl) ;needed to run 'ppmquant' during tests
|
||||
("texlive" ,texlive) ;full package required for fonts
|
||||
("texlive" ,(texlive-union (list texlive-generic-xypic
|
||||
texlive-fonts-xypic
|
||||
texlive-latex-hyperref
|
||||
texlive-latex-oberdiek
|
||||
texlive-generic-ifxetex
|
||||
texlive-latex-url
|
||||
texlive-bibtex)))
|
||||
("ghostscript" ,ghostscript)))
|
||||
(inputs
|
||||
`(("blas" ,openblas)
|
||||
|
@ -3724,6 +3730,12 @@ (define-public hypre
|
|||
"--with-blas")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'build 'set-HOME
|
||||
(lambda _
|
||||
;; FIXME: texlive-union does not find the built
|
||||
;; metafonts, so it tries to generate them in HOME.
|
||||
(setenv "HOME" "/tmp")
|
||||
#t))
|
||||
(add-before 'configure 'chdir-src
|
||||
(lambda _ (chdir "src")))
|
||||
(replace 'configure
|
||||
|
@ -3738,7 +3750,7 @@ (define-public hypre
|
|||
configure-flags)))))))
|
||||
(add-after 'build 'build-docs
|
||||
(lambda _
|
||||
(zero? (system* "make" "-Cdocs" "pdf" "html"))))
|
||||
(invoke "make" "-Cdocs" "pdf" "html")))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(setenv "LD_LIBRARY_PATH" (string-append (getcwd) "/hypre/lib"))
|
||||
|
|
Loading…
Reference in a new issue