mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
move libcxx[abi] into llvm tree
This commit is contained in:
parent
fe49487a05
commit
4a467ec02b
@ -1,4 +1,4 @@
|
||||
{ newScope, stdenv, isl, fetchurl }:
|
||||
{ pkgs, newScope, stdenv, isl, fetchurl }:
|
||||
let
|
||||
callPackage = newScope (self // { inherit stdenv isl version fetch; });
|
||||
|
||||
@ -33,5 +33,9 @@ let
|
||||
polly = callPackage ./polly.nix {};
|
||||
|
||||
dragonegg = callPackage ./dragonegg.nix {};
|
||||
|
||||
libcxx = callPackage ./libc++ { stdenv = pkgs.clangStdenv; };
|
||||
|
||||
libcxxabi = callPackage ./libc++abi { stdenv = pkgs.clangStdenv; };
|
||||
};
|
||||
in self
|
||||
|
@ -36,9 +36,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
inherit libcxxabi;
|
||||
|
||||
# Remove a Makefile that causes many retained dependencies.
|
||||
postInstall = "rm $out/include/c++/v1/Makefile";
|
||||
|
||||
setupHook = ./setup-hook.sh;
|
||||
|
||||
meta = {
|
@ -130,10 +130,9 @@ rec {
|
||||
cc = pkgs.llvmPackages.clang;
|
||||
coreutils = pkgs.coreutils;
|
||||
shell = "${pkgs.bash}/bin/bash";
|
||||
extraPackages = [ pkgs.libcxx ];
|
||||
};
|
||||
|
||||
extraBuildInputs = [ pkgs.libcxx ];
|
||||
|
||||
shell = "${pkgs.bash}/bin/bash";
|
||||
};
|
||||
|
||||
|
@ -3638,7 +3638,7 @@ let
|
||||
|
||||
llvm_v = path: callPackage path { };
|
||||
|
||||
llvmPackages = llvmPackages_35;
|
||||
llvmPackages = if stdenv.isDarwin then llvmPackages_35 else llvmPackages_34;
|
||||
|
||||
llvmPackages_34 = recurseIntoAttrs (import ../development/compilers/llvm/3.4 {
|
||||
inherit stdenv newScope fetchurl;
|
||||
@ -3647,7 +3647,7 @@ let
|
||||
llvmPackagesSelf = import ../development/compilers/llvm/3.4 { inherit newScope fetchurl; isl = isl_0_12; stdenv = libcxxStdenv; };
|
||||
|
||||
llvmPackages_35 = import ../development/compilers/llvm/3.5 {
|
||||
inherit stdenv newScope fetchurl isl;
|
||||
inherit pkgs stdenv newScope fetchurl isl;
|
||||
};
|
||||
|
||||
manticore = callPackage ../development/compilers/manticore { };
|
||||
@ -4685,8 +4685,8 @@ let
|
||||
|
||||
csslint = callPackage ../development/web/csslint { };
|
||||
|
||||
libcxx = callPackage ../development/libraries/libc++ { stdenv = pkgs.clangStdenv; };
|
||||
libcxxabi = callPackage ../development/libraries/libc++abi { stdenv = pkgs.clangStdenv; };
|
||||
libcxx = llvmPackages_35.libcxx;
|
||||
libcxxabi = llvmPackages_35.libcxxabi;
|
||||
|
||||
libsigrok = callPackage ../development/tools/libsigrok { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user