3
0
Fork 0
forked from mirrors/nixpkgs

Add libc++

This commit is contained in:
Shea Levy 2012-10-08 02:32:09 -04:00
parent 4f178d1698
commit 7786353848
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchsvn, cmake }:
let rev = "165151"; in
stdenv.mkDerivation {
name = "libc++-pre${rev}";
src = fetchsvn {
url = "http://llvm.org/svn/llvm-project/libcxx/trunk";
inherit rev;
sha256 = "00l8xx5nc3cjlmln7c1sy1i4v844has9kbfxrsziwkalzbgwaslz";
};
buildInputs = [ cmake ];
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
enableParallelBuilding = true;
meta = {
homepage = http://libcxx.llvm.org/;
description = "A new implementation of the C++ standard library, targeting C++11";
license = "BSD";
maintainers = stdenv.lib.maintainers.shlevy;
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -3030,6 +3030,8 @@ let
csslint = callPackage ../development/web/csslint { };
libcxx = callPackage ../development/libraries/libc++ { stdenv = pkgs.clangStdenv; };
dejagnu = callPackage ../development/tools/misc/dejagnu { };
ddd = callPackage ../development/tools/misc/ddd { };