Merge pull request #280303 from dotlambda/pyopencl-fix
python311Packages.pyopencl: fix build
This commit is contained in:
commit
3664945209
1 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
, stdenv
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
, appdirs
|
||||
, cffi
|
||||
, decorator
|
||||
|
@ -34,6 +35,14 @@ in buildPythonPackage rec {
|
|||
hash = "sha256-IgF078qQDp1d5a7yqht3pvJVBQHekrA1qRATrq5NTF4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-conditions-for-CL_UNORM_INT24-availability.patch";
|
||||
url = "https://github.com/inducer/pyopencl/pull/706.patch";
|
||||
hash = "sha256-31aiqYlhbEw3F2k/x3W2rbOX0A90cHwIlfXMivFucMA=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
oldest-supported-numpy
|
||||
setuptools
|
||||
|
|
Loading…
Reference in a new issue