ocl-icd: fix cross-compilation
This commit is contained in:
parent
63a1c0c807
commit
d64748295a
@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0f14gpa13sdm0kzqv5yycp4pschbmi6n5fj7wl4ilspzsrqcgqr2";
|
||||
};
|
||||
|
||||
buildInputs = [ ruby opencl-headers ];
|
||||
nativeBuildInputs = [ ruby ];
|
||||
|
||||
buildInputs = [ opencl-headers ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's,"/etc/OpenCL/vendors","${mesa_noglu.driverLink}/etc/OpenCL/vendors",g' ocl_icd_loader.c
|
||||
|
Loading…
Reference in New Issue
Block a user