mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 09:53:17 +00:00
947c26972b
* All projects are available under NCSA license, other than dragonegg. * "Runtime" projects are dual-licensed under both NCSA and MIT: libc++, libc++abi, compiler-rt * I don't mention MIT for compiler-rt as we only build it as part of LLVM.
26 lines
603 B
Nix
26 lines
603 B
Nix
{ stdenv, fetch, cmake, isl, python, gmp, llvm, version }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "polly-${version}";
|
|
|
|
src = fetch "polly" "1s6v54czmgq626an4yk2k34lrzkwmz1bjrbiafh7j23yc2w4nalx";
|
|
|
|
patches = [ ./polly-separate-build.patch ];
|
|
|
|
buildInputs = [ cmake isl python 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.ncsa;
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|