Unverified Commit 2bbf7ca8 authored by Fabián Heredia Montiel's avatar Fabián Heredia Montiel Committed by GitHub
Browse files

clblast: fix build with CMake 4 (#448902)

parents 3fa25e25 a1190a30
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchpatch,
  fetchFromGitHub,
  cmake,
  ninja,
@@ -19,6 +20,15 @@ stdenv.mkDerivation rec {
    hash = "sha256-fzenYFCAQ0B2NQgh5OaErv/yNEzjznB6ogRapqfL6P4=";
  };

  patches = [
    (fetchpatch {
      name = "clblast-fix-cmake4.patch";
      url = "https://github.com/CNugteren/CLBlast/commit/dd714f1b72aa8c341e5a27aa9e968b4ecdaf1abb.patch";
      includes = [ "CMakeLists.txt" ];
      hash = "sha256-AVFzEdj1CaVSJxOcn5PoqFb+b8k5YgSMD3VhvHeBd7o=";
    })
  ];

  nativeBuildInputs = [
    cmake
    ninja