oclgrind: switch to python3

This commit is contained in:
Armeen Mahdian 2022-04-22 17:04:09 -05:00
parent 187764481b
commit 9f9b94fe19

View File

@ -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}"