mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
libclc: use clang-4
This commit is contained in:
parent
cd121fd3c9
commit
81674e04f3
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, python2, llvm_4, clang }:
|
||||
{ stdenv, fetchFromGitHub, python, llvm, clang }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libclc-2017-02-25";
|
||||
@ -10,7 +10,8 @@ stdenv.mkDerivation {
|
||||
sha256 = "1c20jyh3sdwd9r37zs4vvppmsx8vhf2xbx0cxsrc27bhx5245p0s";
|
||||
};
|
||||
|
||||
buildInputs = [ python2 llvm_4 clang ];
|
||||
nativeBuildInputs = [ python ];
|
||||
buildInputs = [ llvm ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's,llvm_clang =.*,llvm_clang = "${clang}/bin/clang",' configure.py
|
||||
@ -18,7 +19,7 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
${python2.interpreter} ./configure.py --prefix=$out
|
||||
${python.interpreter} ./configure.py --prefix=$out
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -9336,7 +9336,9 @@ with pkgs;
|
||||
|
||||
libchop = callPackage ../development/libraries/libchop { };
|
||||
|
||||
libclc = callPackage ../development/libraries/libclc { };
|
||||
libclc = callPackage ../development/libraries/libclc {
|
||||
inherit (llvmPackages_4) clang llvm;
|
||||
};
|
||||
|
||||
libcli = callPackage ../development/libraries/libcli { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user