me
/
guix
Archived
1
0
Fork 0

gnu: Propagate suitesparse-* inputs referenced in header files.

* gnu/packages/maths.scm (suitesparse-amd, suitesparse-btf, suitesparse-camd,
suitesparse-colamd, suitesparse-ccolamd, gklib-suitesparse,
suitesparse-cholmod, suitesparse-cxsparse, suitesparse-klu, suitesparse-ldl,
suitesparse-rbio, suitesparse-mongoose, suitesparse-spex, suitesparse-spqr,
suitesparse-umfpack)[inputs]: Move relevant suitesparse-* packages ...
[propagated-inputs]: ... to here.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
David Elsing 2023-10-19 22:31:17 +00:00 committed by Ludovic Courtès
parent b3d0797d27
commit 37792ee352
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 34 additions and 41 deletions

View File

@ -5283,7 +5283,7 @@ package contains a library with common configuration options.")
(install-file "../AMD/Doc/License.txt" (install-file "../AMD/Doc/License.txt"
(string-append #$output "/share/doc/" (string-append #$output "/share/doc/"
#$name "-" #$version))))))) #$name "-" #$version)))))))
(inputs (list suitesparse-config)) (propagated-inputs (list suitesparse-config))
(native-inputs (list gfortran (texlive-updmap.cfg '()))) (native-inputs (list gfortran (texlive-updmap.cfg '())))
(home-page "https://people.engr.tamu.edu/davis/suitesparse.html") (home-page "https://people.engr.tamu.edu/davis/suitesparse.html")
(synopsis "Sparse matrix ordering for Cholesky factorization") (synopsis "Sparse matrix ordering for Cholesky factorization")
@ -5317,7 +5317,7 @@ to Cholesky factorization (or for LU factorization with diagonal pivoting).")
(install-file "../BTF/Doc/License.txt" (install-file "../BTF/Doc/License.txt"
(string-append #$output "/share/doc/" (string-append #$output "/share/doc/"
#$name "-" #$version))))))) #$name "-" #$version)))))))
(inputs (list suitesparse-config)) (propagated-inputs (list suitesparse-config))
(home-page "https://people.engr.tamu.edu/davis/suitesparse.html") (home-page "https://people.engr.tamu.edu/davis/suitesparse.html")
(synopsis "Library for permuting matrices into block upper triangular form") (synopsis "Library for permuting matrices into block upper triangular form")
(description "BTF (Block Triangular Form) is a C library for permuting a (description "BTF (Block Triangular Form) is a C library for permuting a
@ -5359,7 +5359,7 @@ matrix into block upper triangular form.")
(install-file "../CAMD/Doc/License.txt" (install-file "../CAMD/Doc/License.txt"
(string-append #$output "/share/doc/" (string-append #$output "/share/doc/"
#$name "-" #$version))))))) #$name "-" #$version)))))))
(inputs (list suitesparse-config)) (propagated-inputs (list suitesparse-config))
(native-inputs (list (texlive-updmap.cfg '()))) (native-inputs (list (texlive-updmap.cfg '())))
(home-page "https://people.engr.tamu.edu/davis/suitesparse.html") (home-page "https://people.engr.tamu.edu/davis/suitesparse.html")
(synopsis "Sparse matrix ordering for Cholesky factorization with constraints") (synopsis "Sparse matrix ordering for Cholesky factorization with constraints")
@ -5395,7 +5395,7 @@ ordering.")
(install-file "../COLAMD/Doc/License.txt" (install-file "../COLAMD/Doc/License.txt"
(string-append #$output "/share/doc/" (string-append #$output "/share/doc/"
#$name "-" #$version))))))) #$name "-" #$version)))))))
(inputs (list suitesparse-config)) (propagated-inputs (list suitesparse-config))
(home-page "https://people.engr.tamu.edu/davis/suitesparse.html") (home-page "https://people.engr.tamu.edu/davis/suitesparse.html")
(synopsis "Column Approximate Minimum Degree Ordering") (synopsis "Column Approximate Minimum Degree Ordering")
(description "COLAMD is library for computing a permutation vector for a (description "COLAMD is library for computing a permutation vector for a
@ -5428,7 +5428,7 @@ matrix with which the LU factorization becomes sparser.")
(install-file "../CCOLAMD/Doc/License.txt" (install-file "../CCOLAMD/Doc/License.txt"
(string-append #$output "/share/doc/" (string-append #$output "/share/doc/"
#$name "-" #$version))))))) #$name "-" #$version)))))))
(inputs (list suitesparse-config)) (propagated-inputs (list suitesparse-config))
(home-page "https://people.engr.tamu.edu/davis/suitesparse.html") (home-page "https://people.engr.tamu.edu/davis/suitesparse.html")
(synopsis "Column Approximate Minimum Degree Ordering with constraints") (synopsis "Column Approximate Minimum Degree Ordering with constraints")
(description "CCOLAMD is library for computing a permutation vector for a (description "CCOLAMD is library for computing a permutation vector for a
@ -5457,9 +5457,7 @@ COLAMD which has the the option to apply constraints to the ordering.")
all all
"target_link_libraries(GKlib PUBLIC" "target_link_libraries(GKlib PUBLIC"
" ${SUITESPARSE_CONFIG_LIBRARIES} m)\n"))))))))) " ${SUITESPARSE_CONFIG_LIBRARIES} m)\n")))))))))
(inputs (propagated-inputs (list suitesparse-config))))
(modify-inputs (package-inputs gklib)
(prepend suitesparse-config)))))
(define-public metis-suitesparse (define-public metis-suitesparse
(package/inherit metis-5.2 (package/inherit metis-5.2
@ -5561,8 +5559,8 @@ target_link_libraries(CHOLMOD_static PRIVATE ${METIS_LIBRARY} ${GKLIB_LIBRARY})"
suitesparse-amd suitesparse-amd
suitesparse-camd suitesparse-camd
suitesparse-ccolamd suitesparse-ccolamd
suitesparse-colamd suitesparse-colamd))
suitesparse-config)) (propagated-inputs (list suitesparse-config))
(native-inputs (list (texlive-updmap.cfg '()))) (native-inputs (list (texlive-updmap.cfg '())))
(home-page "https://people.engr.tamu.edu/davis/suitesparse.html") (home-page "https://people.engr.tamu.edu/davis/suitesparse.html")
(synopsis "Library for solving sparse symmetric positive definite linear (synopsis "Library for solving sparse symmetric positive definite linear
@ -5599,7 +5597,7 @@ and other related operations.")
"/share/doc/" #$name "-" #$version))) "/share/doc/" #$name "-" #$version)))
(install-file "../CXSparse/Doc/License.txt" out) (install-file "../CXSparse/Doc/License.txt" out)
(install-file "../CXSparse/Doc/lesser.txt" out))))))) (install-file "../CXSparse/Doc/lesser.txt" out)))))))
(inputs (list suitesparse-config)) (propagated-inputs (list suitesparse-config))
(home-page "https://people.engr.tamu.edu/davis/suitesparse.html") (home-page "https://people.engr.tamu.edu/davis/suitesparse.html")
(synopsis "Concise eXtended Sparse Matrix Package") (synopsis "Concise eXtended Sparse Matrix Package")
(description "CXSparse is a collection of sparse matrix algorithms for (description "CXSparse is a collection of sparse matrix algorithms for
@ -5655,13 +5653,14 @@ direct methods on both real and complex matrices.")
(string-append #$output "/share/doc/" (string-append #$output "/share/doc/"
#$name "-" #$version))))))) #$name "-" #$version)))))))
(inputs (inputs
(list suitesparse-amd (list suitesparse-camd
suitesparse-btf
suitesparse-camd
suitesparse-ccolamd suitesparse-ccolamd
suitesparse-cholmod
suitesparse-colamd suitesparse-colamd
suitesparse-config)) suitesparse-config))
(propagated-inputs
(list suitesparse-amd
suitesparse-btf
suitesparse-cholmod))
(native-inputs (list (texlive-updmap.cfg '()))) (native-inputs (list (texlive-updmap.cfg '())))
(home-page "https://people.engr.tamu.edu/davis/suitesparse.html") (home-page "https://people.engr.tamu.edu/davis/suitesparse.html")
(synopsis "Routines for solving sparse linear problems with a LU factorization") (synopsis "Routines for solving sparse linear problems with a LU factorization")
@ -5712,9 +5711,8 @@ for real and complex matrices.")
(install-file "../LDL/Doc/License.txt" (install-file "../LDL/Doc/License.txt"
(string-append #$output "/share/doc/" (string-append #$output "/share/doc/"
#$name "-" #$version))))))) #$name "-" #$version)))))))
(inputs (inputs (list suitesparse-amd))
(list suitesparse-amd (propagated-inputs (list suitesparse-config))
suitesparse-config))
(native-inputs (list (texlive-updmap.cfg '()))) (native-inputs (list (texlive-updmap.cfg '())))
(home-page "https://people.engr.tamu.edu/davis/suitesparse.html") (home-page "https://people.engr.tamu.edu/davis/suitesparse.html")
(synopsis "LDL' factorization method for sparse, symmetric matrices") (synopsis "LDL' factorization method for sparse, symmetric matrices")
@ -5754,7 +5752,7 @@ code.")
"/share/doc/" #$name "-" #$version))) "/share/doc/" #$name "-" #$version)))
(install-file "../RBio/Doc/License.txt" out) (install-file "../RBio/Doc/License.txt" out)
(install-file "../RBio/Doc/gpl.txt" out))))))) (install-file "../RBio/Doc/gpl.txt" out)))))))
(inputs (list suitesparse-config)) (propagated-inputs (list suitesparse-config))
(home-page "https://people.engr.tamu.edu/davis/suitesparse.html") (home-page "https://people.engr.tamu.edu/davis/suitesparse.html")
(synopsis "Library for the Rutherford/Boeing sparse matrix format") (synopsis "Library for the Rutherford/Boeing sparse matrix format")
(description "This package provides the C library of RBio. It can be used (description "This package provides the C library of RBio. It can be used
@ -5803,7 +5801,7 @@ for reading and writing sparse matrices in the Rutherford/Boeing format.")
(install-file "../Mongoose/Doc/License.txt" (install-file "../Mongoose/Doc/License.txt"
(string-append #$output "/share/doc/" (string-append #$output "/share/doc/"
#$name "-" #$version))))))) #$name "-" #$version)))))))
(inputs (list suitesparse-config)) (propagated-inputs (list suitesparse-config))
(native-inputs (native-inputs
(list texlive-epstopdf (list texlive-epstopdf
(texlive-updmap.cfg (texlive-updmap.cfg
@ -5872,12 +5870,8 @@ edge cuts using a coarsening and refinement framework.")
(install-file "../SPEX/Doc/SPEX_UserGuide.pdf" (install-file "../SPEX/Doc/SPEX_UserGuide.pdf"
(string-append #$output "/share/doc/" (string-append #$output "/share/doc/"
#$name "-" #$version))))))) #$name "-" #$version)))))))
(inputs (inputs (list suitesparse-amd suitesparse-colamd))
(list gmp (propagated-inputs (list gmp mpfr suitesparse-config))
mpfr
suitesparse-amd
suitesparse-colamd
suitesparse-config))
(native-inputs (native-inputs
(list (texlive-updmap.cfg (list (texlive-updmap.cfg
(list texlive-paralist (list texlive-paralist
@ -5950,14 +5944,13 @@ LU factorization for solving unsymmetric sparse linear systems.")
(install-file "../SPQR/Doc/License.txt" (install-file "../SPQR/Doc/License.txt"
(string-append #$output "/share/doc/" (string-append #$output "/share/doc/"
#$name "-" #$version))))))) #$name "-" #$version)))))))
(inputs (inputs (list openblas
(list openblas suitesparse-amd
suitesparse-amd suitesparse-camd
suitesparse-camd suitesparse-ccolamd
suitesparse-ccolamd suitesparse-colamd
suitesparse-cholmod suitesparse-config))
suitesparse-colamd (propagated-inputs (list suitesparse-cholmod))
suitesparse-config))
(native-inputs (native-inputs
(list (texlive-updmap.cfg (list (texlive-updmap.cfg
(list texlive-epsf)))) (list texlive-epsf))))
@ -6016,13 +6009,13 @@ matrices.")
#$name "-" #$version))) #$name "-" #$version)))
(install-file "../UMFPACK/Doc/License.txt" outdir) (install-file "../UMFPACK/Doc/License.txt" outdir)
(install-file "../UMFPACK/Doc/gpl.txt" outdir))))))) (install-file "../UMFPACK/Doc/gpl.txt" outdir)))))))
(inputs (inputs (list openblas
(list openblas suitesparse-camd
suitesparse-amd suitesparse-ccolamd
suitesparse-camd suitesparse-cholmod
suitesparse-ccolamd suitesparse-colamd))
suitesparse-cholmod (propagated-inputs
suitesparse-colamd (list suitesparse-amd
suitesparse-config)) suitesparse-config))
(native-inputs (native-inputs
(list (texlive-updmap.cfg (list (texlive-updmap.cfg