blas-reference: remove

blas-reference has been moved into lapack-reference.
It is no longer maintained as free-standing package
and the current version is outdated. Use lapack-reference instead.
This commit is contained in:
Markus Kowalewski
2025-10-21 19:09:04 +02:00
parent 9ecae119b7
commit f00deff49f
2 changed files with 1 additions and 62 deletions
@@ -1,62 +0,0 @@
{
lib,
stdenv,
fetchurl,
cmake,
gfortran,
# Whether to build with ILP64 interface
blas64 ? false,
}:
stdenv.mkDerivation rec {
pname = "blas";
version = "3.12.0";
src = fetchurl {
url = "http://www.netlib.org/blas/${pname}-${version}.tgz";
sha256 = "sha256-zMQbXQiOUNsAMDF66bDJrzdXEME5KsrR/iCWAtpaWq0=";
};
passthru = { inherit blas64; };
nativeBuildInputs = [
cmake
gfortran
];
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ] ++ lib.optional blas64 "-DBUILD_INDEX64=ON";
# CMake 4 is no longer retro compatible with versions < 3.5
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail \
"cmake_minimum_required(VERSION 3.2)" \
"cmake_minimum_required(VERSION 3.5)"
'';
postInstall =
let
canonicalExtension =
if stdenv.hostPlatform.isLinux then
"${stdenv.hostPlatform.extensions.sharedLibrary}.${lib.versions.major version}"
else
stdenv.hostPlatform.extensions.sharedLibrary;
in
lib.optionalString blas64 ''
ln -s $out/lib/libblas64${canonicalExtension} $out/lib/libblas${canonicalExtension}
'';
preFixup = lib.optionalString stdenv.hostPlatform.isDarwin ''
for fn in $(find $out/lib -name "*.so*"); do
if [ -L "$fn" ]; then continue; fi
install_name_tool -id "$fn" "$fn"
done
'';
meta = with lib; {
description = "Basic Linear Algebra Subprograms";
license = licenses.publicDomain;
maintainers = [ maintainers.markuskowa ];
homepage = "http://www.netlib.org/blas/";
platforms = platforms.unix;
};
}
+1
View File
@@ -544,6 +544,7 @@ mapAliases {
bisq-desktop = throw "bisq-desktop has been removed because OpenJFX 11 was removed"; # Added 2024-11-17
bitmeter = throw "bitmeter has been removed, use `x42-meter 18` from the x42-plugins pkg instead."; # Added 2025-10-03
bitwarden = bitwarden-desktop; # Added 2024-02-25
blas-reference = throw "blas-reference has been removed since it has been discontinued as free-standing package. It is now contained within lapack-reference."; # Added 2025-10-21
blender-with-packages =
args:
lib.warnOnInstantiate