Merge pull request #268395 from athas/oclgrind-fix
oclgrind: use LLVM 12
This commit is contained in:
commit
bcdffb9bb6
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python3 }:
|
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages_12, readline, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "oclgrind";
|
pname = "oclgrind";
|
||||||
|
@ -13,10 +13,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
nativeCheckInputs = [ python3 ];
|
nativeCheckInputs = [ python3 ];
|
||||||
buildInputs = [ llvmPackages.llvm llvmPackages.clang-unwrapped readline ];
|
buildInputs = [ llvmPackages_12.llvm llvmPackages_12.clang-unwrapped readline ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCLANG_ROOT=${llvmPackages.clang-unwrapped}"
|
"-DCLANG_ROOT=${llvmPackages_12.clang-unwrapped}"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue