opencl-clhpp: 2.0.15 -> 2024.05.08 (#335392)

This commit is contained in:
Sebastián Mancilla 2024-08-31 15:02:49 -04:00 committed by GitHub
commit 65816cd390
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 3 deletions

View File

@ -49,6 +49,7 @@
# { libsOnly = true; };
# }
, nvidiaComputeDrivers ? null
, fetchpatch
}:
# ArrayFire compiles with 64-bit BLAS, but some tests segfault or throw
@ -130,7 +131,15 @@ stdenv.mkDerivation rec {
# ArrayFire have a repo with assets for the examples. Since we don't build
# the examples anyway, remove the dependency on assets.
patches = [ ./no-assets.patch ./no-download.patch ];
patches = [
./no-assets.patch
./no-download.patch
# Fix for newer opencl-clhpp. Remove with the next release.
(fetchpatch {
url = "https://github.com/arrayfire/arrayfire/pull/3562.patch";
hash = "sha256-AdWlpcRTn9waNAaVpZfK6sJ/xBQLiBC4nBeEYiGNN50";
})
];
postPatch = ''
mkdir -p ./extern/af_glad-src

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "opencl-clhpp";
version = "2.0.15";
version = "2024.05.08";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "OpenCL-CLHPP";
rev = "v${version}";
sha256 = "sha256-A12GdevbMaO2QkGAk3VsXzwcDkF+6dEapse2xfdqzPM=";
sha256 = "sha256-bIm4tGqwWX0IPKH3BwLgkf0T7YFrkN6vemYvdPrqUpw=";
};
nativeBuildInputs = [ cmake python3 ];