mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
suitesparse: 5.3.0 -> 5.4.0 (#53128)
This commit is contained in:
parent
574700085a
commit
04ba895ecd
@ -1,9 +1,10 @@
|
||||
{ stdenv, fetchurl, gfortran, openblas, cmake, fixDarwinDylibNames
|
||||
, gnum4
|
||||
, enableCuda ? false, cudatoolkit
|
||||
}:
|
||||
|
||||
let
|
||||
version = "5.3.0";
|
||||
version = "5.4.0";
|
||||
name = "suitesparse-${version}";
|
||||
|
||||
SHLIB_EXT = stdenv.hostPlatform.extensions.sharedLibrary;
|
||||
@ -13,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-${version}.tar.gz";
|
||||
sha256 = "0gcn1xj3z87wpp26gxn11k8073bxv6jswfd8jmddlm64v09rgrlh";
|
||||
sha256 = "1lfvjj787yqyhk25w7brlrkrl7dnnn5dq4ijxws3wrbcd4vd2k9p";
|
||||
};
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
@ -119,8 +120,10 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ]
|
||||
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
gnum4
|
||||
] ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||
|
||||
buildInputs = [ openblas gfortran.cc.lib ]
|
||||
++ stdenv.lib.optional enableCuda cudatoolkit;
|
||||
|
Loading…
Reference in New Issue
Block a user