forked from mirrors/nixpkgs
llvm should build on darwin now
svn path=/nixpkgs/trunk/; revision=30958
This commit is contained in:
parent
2a033caa1d
commit
dfb27bd181
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, perl, groff, darwinSwVersUtility, cmake }:
|
||||
{ stdenv, fetchurl, perl, groff, darwinSwVersUtility, darwinInstallNameToolUtility, cmake }:
|
||||
|
||||
let version = "3.0"; in
|
||||
|
||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
|||
};
|
||||
|
||||
buildInputs = [ perl groff cmake ] ++
|
||||
stdenv.lib.optional stdenv.isDarwin darwinSwVersUtility;
|
||||
stdenv.lib.optionals stdenv.isDarwin [ darwinSwVersUtility darwinInstallNameToolUtility ];
|
||||
|
||||
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
||||
|
||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
|||
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||
license = "BSD";
|
||||
maintainers = with stdenv.lib.maintainers; [viric shlevy];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
platforms = with stdenv.lib.platforms; all;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue