llvm_34: use python2
This commit is contained in:
parent
b1f60ba8cf
commit
7ab6edd171
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetch, cmake, llvm, ncurses, zlib, python, version }:
|
||||
{ stdenv, fetch, cmake, llvm, ncurses, zlib, python2, version }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "lld-${version}";
|
||||
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
||||
export cmakeFlags="$cmakeFlags -DLLD_PATH_TO_LLVM_SOURCE="`ls -d $PWD/llvm-*`
|
||||
'';
|
||||
|
||||
buildInputs = [ cmake ncurses zlib python ];
|
||||
buildInputs = [ cmake ncurses zlib python2 ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
||||
|
@ -8,7 +8,7 @@
|
||||
, libedit
|
||||
, llvm
|
||||
, clang
|
||||
, python
|
||||
, python2
|
||||
, version
|
||||
}:
|
||||
|
||||
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
scripts/Python/build-swig-Python.sh
|
||||
'';
|
||||
|
||||
buildInputs = [ cmake python which swig ncurses zlib libedit ];
|
||||
buildInputs = [ cmake python2 which swig ncurses zlib libedit ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
||||
|
@ -3,7 +3,7 @@
|
||||
, perl
|
||||
, groff
|
||||
, cmake
|
||||
, python
|
||||
, python2
|
||||
, libffi
|
||||
, binutils
|
||||
, libxml2
|
||||
@ -30,7 +30,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs =
|
||||
[ perl groff cmake libxml2 libffi ]
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) python /*
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) python2 /*
|
||||
++ stdenv.lib.optional stdenv.isLinux valgrind */;
|
||||
|
||||
propagatedBuildInputs = [ ncurses zlib ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetch, cmake, isl, python, gmp, llvm, version }:
|
||||
{ stdenv, fetch, cmake, isl, python2, gmp, llvm, version }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "polly-${version}";
|
||||
@ -7,7 +7,7 @@ stdenv.mkDerivation {
|
||||
|
||||
patches = [ ./polly-separate-build.patch ];
|
||||
|
||||
buildInputs = [ cmake isl python gmp ];
|
||||
buildInputs = [ cmake isl python2 gmp ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
||||
|
Loading…
Reference in New Issue
Block a user