1babf6ea14
If passing to gcc4.5 the compile flag: "-fplugin=dragonegg.so" it will use the llvm optimizers and code generators. In that previous commit I enabled link time optimization and plugin support in gcc 4.5.0 svn path=/nixpkgs/trunk/; revision=22235
18 lines
544 B
Nix
18 lines
544 B
Nix
{stdenv, fetchurl, gcc, flex, perl, libtool, groff}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "llvm-2.7";
|
|
src = fetchurl {
|
|
url = http://llvm.org/releases/2.7/llvm-2.7.tgz;
|
|
sha256 = "19dwvfyxr851fjfsaxbm56gdj9mlivr37bv6h41hd8q3hpf4nrlr";
|
|
};
|
|
|
|
buildInputs = [ gcc flex perl libtool groff ];
|
|
|
|
meta = {
|
|
homepage = http://llvm.org/;
|
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
platforms = with stdenv.lib.platforms; all;
|
|
};
|
|
}
|