Unverified Commit 5b40f721 authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

unified-memory-framework: 1.0.3 -> 1.1.0 (#493489)

parents 32f5cbd5 28ddfd8f
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
{
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  lib,
  cmake,
  ninja,
@@ -25,7 +24,7 @@
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "unified-memory-framework";
  version = "1.0.3";
  version = "1.1.0";

  nativeBuildInputs = [
    cmake
@@ -60,17 +59,9 @@ stdenv.mkDerivation (finalAttrs: {
    owner = "oneapi-src";
    repo = "unified-memory-framework";
    tag = "v${finalAttrs.version}";
    hash = "sha256-j7qQwBetICf1sTz+ssZQLm9P0SiH68lcEvtV1YLuW5s=";
    hash = "sha256-1Z65rNsUNeaeSJmxwpEHPbiU4KEDvyrWL9LyAWFsR1c=";
  };

  patches = [
    (fetchpatch {
      name = "gtest-use-find_package.patch";
      url = "https://github.com/oneapi-src/unified-memory-framework/commit/503d302a72f719a3f11fce0e610f07a3793549d9.patch";
      hash = "sha256-T29pJuWGcj/Kfw3VNW5lNBG5OrBsB1UAvwroQ+km4Vs=";
    })
  ];

  postPatch = ''
    # The CMake tries to find out the version via git.
    # Since we're not in a clone, git describe won't work.