From 04e483ed808f50815d14afca8c68e6142dca79d5 Mon Sep 17 00:00:00 2001 From: qbisi Date: Sat, 4 Oct 2025 08:31:37 +0800 Subject: [PATCH] superlu: use generic blas vendor on all platforms --- pkgs/by-name/su/superlu/package.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/by-name/su/superlu/package.nix b/pkgs/by-name/su/superlu/package.nix index a1ea62050191..6b2455c92f37 100644 --- a/pkgs/by-name/su/superlu/package.nix +++ b/pkgs/by-name/su/superlu/package.nix @@ -45,11 +45,9 @@ stdenv.mkDerivation (finalAttrs: { cmakeFlags = [ (lib.cmakeBool "BUILD_SHARED_LIBS" true) (lib.cmakeBool "enable_fortran" true) - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ # prevent cmake from using Accelerate, which causes tests to segfault # https://github.com/xiaoyeli/superlu/issues/155 - "-DBLA_VENDOR=Generic" + (lib.cmakeFeature "BLA_VENDOR" "Generic") ]; doCheck = true;