oclgrind: switch to python3
This commit is contained in:
parent
187764481b
commit
9f9b94fe19
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python2 }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "oclgrind";
|
||||
|
@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ llvmPackages.llvm llvmPackages.clang-unwrapped readline python2 ];
|
||||
checkInputs = [ python3 ];
|
||||
buildInputs = [ llvmPackages.llvm llvmPackages.clang-unwrapped readline ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCLANG_ROOT=${llvmPackages.clang-unwrapped}"
|
||||
|
|
Loading…
Reference in a new issue