blasfeo: backport patch for CMake 4

Co-authored-by: Guilhem Saurel <guilhem.saurel@laas.fr>
This commit is contained in:
Emily
2025-09-19 16:29:10 +01:00
co-authored by Guilhem Saurel
parent 166e159ad7
commit e9b67e2e9d
+9
View File
@@ -1,6 +1,7 @@
{
cmake,
fetchFromGitHub,
fetchpatch,
lib,
stdenv,
withTarget ? "GENERIC",
@@ -17,6 +18,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-p1pxqJ38h6RKXMg1t+2RHlfmRKPuM18pbUarUx/w9lw=";
};
patches = [
(fetchpatch {
name = "blasfeo-fix-cmake-4.patch";
url = "https://github.com/giaf/blasfeo/commit/75078e2b6153d1c8bc5329e83a82d4d4d3eefd76.patch";
hash = "sha256-bH5xUKAjNFCO9rRc655BcMiUesNFFln+iEPC5JHcQAU=";
})
];
nativeBuildInputs = [ cmake ];
cmakeFlags = [ "-DTARGET=${withTarget}" ];