Merge pull request #169859 from armeenm/oclgrind-python3

oclgrind: switch to python3
This commit is contained in:
Artturi 2022-04-23 05:00:46 +03:00 committed by GitHub
commit b3c59ebe5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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