nixpkgs-suyu/pkgs/development/compilers/llvm/3.4/polly.nix

26 lines
605 B
Nix
Raw Normal View History

2016-11-09 16:05:53 +01:00
{ stdenv, fetch, cmake, isl, python2, gmp, llvm, version }:
stdenv.mkDerivation {
name = "polly-${version}";
src = fetch "polly" "1rqflmgzg1vzjm0r32c5ck8x3q0qm3g0hh8ggbjazh6x7nvmy6lz";
patches = [ ./polly-separate-build.patch ];
2016-11-09 16:05:53 +01:00
buildInputs = [ cmake isl python2 gmp ];
cmakeFlags = [
"-DCMAKE_CXX_FLAGS=-std=c++11"
"-DLLVM_INSTALL_ROOT=${llvm}"
];
enableParallelBuilding = true;
meta = {
description = "A polyhedral optimizer for llvm";
homepage = http://llvm.org/;
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.all;
};
}