opencl-info: fix build
This commit is contained in:
committed by
Daniël de Kok
parent
9232ca2ac1
commit
26d930cb76
@@ -10,6 +10,14 @@ stdenv.mkDerivation {
|
||||
sha256 = "114lxgnjg40ivjjszkv4n3f3yq2lbrvywryvbazf20kqmdz7315l";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# The cl.hpp header was removed from opencl-clhpp. This patch
|
||||
# updates opencl-info to use the new cp2.hpp header.
|
||||
#
|
||||
# Submitted upstream: https://github.com/marchv/opencl-info/pull/2
|
||||
./opencl-info-clhpp2.diff
|
||||
];
|
||||
|
||||
buildInputs = [ opencl-clhpp ocl-icd ];
|
||||
|
||||
NIX_LDFLAGS = "-lOpenCL";
|
||||
|
||||
Reference in New Issue
Block a user