Merge pull request #268395 from athas/oclgrind-fix

oclgrind: use LLVM 12
This commit is contained in:
Stig 2023-11-29 10:09:46 +01:00 committed by GitHub
commit bcdffb9bb6
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, python3 }:
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages_12, readline, python3 }:
stdenv.mkDerivation rec {
pname = "oclgrind";
@ -13,10 +13,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
nativeCheckInputs = [ python3 ];
buildInputs = [ llvmPackages.llvm llvmPackages.clang-unwrapped readline ];
buildInputs = [ llvmPackages_12.llvm llvmPackages_12.clang-unwrapped readline ];
cmakeFlags = [
"-DCLANG_ROOT=${llvmPackages.clang-unwrapped}"
"-DCLANG_ROOT=${llvmPackages_12.clang-unwrapped}"
];
meta = with lib; {