opencl-clhpp: use python3
This commit is contained in:
parent
548c9c0daa
commit
5603cabc2f
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, cmake, python, opencl-headers }:
|
{ lib, stdenv, fetchFromGitHub, cmake, python3, opencl-headers }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "opencl-clhpp";
|
pname = "opencl-clhpp";
|
||||||
@ -11,10 +11,12 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "04g3mg2cpbi048fxxkghra81bpxzqr4r3gspx5mvqipx1lzypsci";
|
sha256 = "04g3mg2cpbi048fxxkghra81bpxzqr4r3gspx5mvqipx1lzypsci";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake python ];
|
nativeBuildInputs = [ cmake python3 ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ opencl-headers ];
|
propagatedBuildInputs = [ opencl-headers ];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DBUILD_EXAMPLES=OFF"
|
"-DBUILD_EXAMPLES=OFF"
|
||||||
"-DBUILD_TESTS=OFF"
|
"-DBUILD_TESTS=OFF"
|
||||||
|
Loading…
Reference in New Issue
Block a user