Skip to content

Commit

Permalink
suitesparse: Add version 5.9.0
Browse files Browse the repository at this point in the history
From the [Web site][1]:

> SuiteSparse is a suite of sparse matrix algorithms, including:
>
>     • GraphBLAS: graph algorithms in the language of linear algebra
>     • Mongoose: graph partitioning
>     • ssget: MATLAB and Java interface to the SuiteSparse Matrix
>       Collection
>     • UMFPACK: multifrontal LU factorization.  Appears as LU and x=A\b in
>       MATLAB.
>     • CHOLMOD: supernodal Cholesky.  Appears as CHOL and x=A\b in MATLAB.
>       Now with CUDA acceleration, in collaboration with NVIDIA.
>     • SPQR: multifrontal QR.  Appears as QR and x=A\b in MATLAB, with
>       CUDA acceleration.
>     • KLU and BTF:  sparse LU factorization, well-suited for circuit
>       simulation.
>     • Ordering methods (AMD, CAMD, COLAMD, and CCOLAMD).  AMD and COLAMD
>       appear in MATLAB.
>     • CSparse and CXSparse: a concise sparse Cholesky factorization
>       package for my SIAM book.
>     • spqr_rank: a MATLAB package for reliable sparse rank detection,
>       null set bases, pseudoinverse solutions, and basic solutions.
>     • Factorize: an object-oriented solver for MATLAB (a reusable
>       backslash).
>     • SSMULT and SFMULT: sparse matrix multiplication.  Appears as the
>       built-in C=A*B operator in MATLAB.
>     •... and many other packages.

The build/installation abuses `INSTALL` as `DESTDIR`, although it is
probably meant as `PREFIX`.

[1]: https://people.engr.tamu.edu/davis/suitesparse.html
  • Loading branch information
pmenzel committed Apr 8, 2021
1 parent 99e8bca commit f2411ea
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions suitesparse.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/usr/bin/env beesh

# BEE_VERSION suitesparse-5.9.0-0

SRCURL[0]="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${PKGVERSION}.tar.gz suitesparse-v${PKGVERSION}.tar.gz"

# PATCHURL+=()

# build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}

mee_build() {
bee_build JOBS=80 CMAKE_OPTIONS="-DCMAKE_INSTALL_PREFIX=${PREFIX} -DCMAKE_INSTALL_LIBDIR=${LIBDIR}"
}

mee_install() {
bee_install INSTALL=${D}${PREFIX} CMAKE_OPTIONS="-DCMAKE_INSTALL_PREFIX=${PREFIX} -DCMAKE_INSTALL_LIBDIR=${LIBDIR}"
}

#mee_install_post() {
# exit
#}

0 comments on commit f2411ea

Please sign in to comment.