Unverified Commit 5957cf94 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

suitesparse: remove ? null, remove empty list

parent dc72a9d2
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
  config,
  enableCuda ? config.cudaSupport,
  cudaPackages,
  openmp ? null,
  llvmPackages,
}@inputs:

let
@@ -36,9 +36,8 @@ effectiveStdenv.mkDerivation rec {
    sha256 = "sha256-Anen1YtXsSPhk8DpA4JtADIz9m8oXFl9umlkb4iImf8=";
  };

  nativeBuildInputs = [
  ]
  ++ lib.optionals effectiveStdenv.hostPlatform.isDarwin [
  nativeBuildInputs =
    lib.optionals effectiveStdenv.hostPlatform.isDarwin [
      fixDarwinDylibNames
    ]
    ++ lib.optionals enableCuda [
@@ -57,7 +56,7 @@ effectiveStdenv.mkDerivation rec {
      mpfr
    ]
    ++ lib.optionals effectiveStdenv.cc.isClang [
      openmp
      llvmPackages.openmp
    ]
    ++ lib.optionals enableCuda [
      cudaPackages.cuda_cudart
+1 −3
Original line number Diff line number Diff line
@@ -11627,9 +11627,7 @@ with pkgs;
    lapack = lapack-ilp64;
  };

  suitesparse_5_3 = callPackage ../development/libraries/science/math/suitesparse {
    inherit (llvmPackages) openmp;
  };
  suitesparse_5_3 = callPackage ../development/libraries/science/math/suitesparse { };
  suitesparse = suitesparse_5_3;

  trilinos-mpi = trilinos.override { withMPI = true; };