intel-gmmlib: 22.3.7 -> 22.3.11

This commit is contained in:
Sandro Jäckel 2023-09-19 17:34:21 +02:00
parent 85fd874639
commit fa1e0ecd34
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1,7 +1,6 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, cmake , cmake
# for passthru.tests # for passthru.tests
, intel-compute-runtime , intel-compute-runtime
@ -10,24 +9,15 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "intel-gmmlib"; pname = "intel-gmmlib";
version = "22.3.7"; version = "22.3.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "intel"; owner = "intel";
repo = "gmmlib"; repo = "gmmlib";
rev = "intel-gmmlib-${version}"; rev = "intel-gmmlib-${version}";
sha256 = "sha256-/iwTPWRVTZk1dhZD2Grcnc76ItgXjf2VrFD+93h8YvM="; sha256 = "sha256-pweKUf/KW64neJkEZwjePh7ft8KEBu1I9zCIx/lMQT8=";
}; };
patches = [
# fix build on i686
# https://github.com/intel/gmmlib/pull/104
(fetchpatch {
url = "https://github.com/intel/gmmlib/commit/2526286f29d8ad3d3a5833bdc29e23e5f3300b34.patch";
hash = "sha256-mChK6wprAt+bo39g6LTNy25kJeGoKabpXFq2gSDhaPw=";
})
];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
passthru.tests = { passthru.tests = {