mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
suitesparse_4_2: drop
We no longer have dependencies on this old version of suitesparse from 2019.
This commit is contained in:
parent
b35a681762
commit
6a200f8068
4 changed files with 1 additions and 60 deletions
|
@ -1,57 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
gfortran,
|
||||
blas,
|
||||
lapack,
|
||||
}:
|
||||
|
||||
let
|
||||
int_t = if blas.isILP64 then "int64_t" else "int32_t";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "4.2.1";
|
||||
pname = "suitesparse";
|
||||
src = fetchurl {
|
||||
url = "http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-${version}.tar.gz";
|
||||
sha256 = "1ga69637x7kdkiy3w3lq9dvva7220bdangv2lch2wx1hpi83h0p8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gfortran ];
|
||||
buildInputs = [
|
||||
blas
|
||||
lapack
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
mkdir -p $out/lib
|
||||
mkdir -p $out/include
|
||||
|
||||
sed -i "SuiteSparse_config/SuiteSparse_config.mk" \
|
||||
-e 's/METIS .*$/METIS =/' \
|
||||
-e 's/METIS_PATH .*$/METIS_PATH =/' \
|
||||
-e '/CHOLMOD_CONFIG/ s/$/-DNPARTITION -DLONGBLAS=${int_t}/' \
|
||||
-e '/UMFPACK_CONFIG/ s/$/-DLONGBLAS=${int_t}/'
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=\"$(out)\""
|
||||
"INSTALL_LIB=$(out)/lib"
|
||||
"INSTALL_INCLUDE=$(out)/include"
|
||||
"BLAS=-lblas"
|
||||
"LAPACK=-llapack"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://faculty.cse.tamu.edu/davis/suitesparse.html";
|
||||
description = "Suite of sparse matrix algorithms";
|
||||
license = with licenses; [
|
||||
bsd2
|
||||
gpl2Plus
|
||||
lgpl21Plus
|
||||
];
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
|
@ -1770,6 +1770,7 @@ mapAliases {
|
|||
strelka = throw "strelka depends on Python 2.6+, and does not support Python 3."; # Added 2025-03-17
|
||||
subberthehut = throw "'subberthehut' has been removed as it was unmaintained upstream"; # Added 2025-05-17
|
||||
suidChroot = throw "'suidChroot' has been dropped as it was unmaintained, failed to build and had questionable security considerations"; # Added 2025-05-17
|
||||
suitesparse_4_2 = throw "'suitesparse_4_2' has been removed as it was unmaintained upstream"; # Added 2025-05-17
|
||||
suitesparse_4_4 = throw "'suitesparse_4_4' has been removed as it was unmaintained upstream"; # Added 2025-05-17
|
||||
sumneko-lua-language-server = lua-language-server; # Added 2023-02-07
|
||||
sumokoin = throw "sumokoin has been removed as it was abandoned upstream"; # Added 2024-11-23
|
||||
|
|
|
@ -15708,7 +15708,6 @@ with pkgs;
|
|||
|
||||
sageWithDoc = sage.override { withDoc = true; };
|
||||
|
||||
suitesparse_4_2 = callPackage ../development/libraries/science/math/suitesparse/4.2.nix { };
|
||||
suitesparse_5_3 = callPackage ../development/libraries/science/math/suitesparse {
|
||||
inherit (llvmPackages) openmp;
|
||||
};
|
||||
|
|
|
@ -19,7 +19,6 @@ let
|
|||
"octopus"
|
||||
"superlu"
|
||||
"suitesparse_5_3"
|
||||
"suitesparse_4_2"
|
||||
"scs"
|
||||
"scalapack"
|
||||
"petsc"
|
||||
|
@ -95,7 +94,6 @@ let
|
|||
"rspamd"
|
||||
"sundials"
|
||||
"suitesparse_5_3"
|
||||
"suitesparse_4_2"
|
||||
"petsc"
|
||||
"cholmod-extra"
|
||||
"arpack"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue