llvm-3.6 packages: Rearrange directory structure
This commit is contained in:
parent
c62b5456f5
commit
b37fd11351
@ -23,7 +23,7 @@ in stdenv.mkDerivation {
|
|||||||
(stdenv.lib.optional stdenv.isLinux "-DGCC_INSTALL_PREFIX=${gcc}") ++
|
(stdenv.lib.optional stdenv.isLinux "-DGCC_INSTALL_PREFIX=${gcc}") ++
|
||||||
(stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.cc.libc}/include");
|
(stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.cc.libc}/include");
|
||||||
|
|
||||||
patches = [ ./clang-purity.patch ./clang-exports.patch ];
|
patches = [ ./purity.patch ./cmake-exports.patch ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/Tools.cpp
|
sed -i -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/Tools.cpp
|
@ -18,7 +18,7 @@ let
|
|||||||
inherit compiler-rt_src;
|
inherit compiler-rt_src;
|
||||||
};
|
};
|
||||||
|
|
||||||
clang = callPackage ./clang.nix {
|
clang = callPackage ./clang {
|
||||||
inherit clang-tools-extra_src;
|
inherit clang-tools-extra_src;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -26,6 +26,6 @@ let
|
|||||||
|
|
||||||
libcxx = callPackage ./libc++ { stdenv = pkgs.clangStdenv; };
|
libcxx = callPackage ./libc++ { stdenv = pkgs.clangStdenv; };
|
||||||
|
|
||||||
libcxxabi = callPackage ./libc++abi { stdenv = pkgs.clangStdenv; };
|
libcxxabi = callPackage ./libc++abi.nix { stdenv = pkgs.clangStdenv; };
|
||||||
};
|
};
|
||||||
in self
|
in self
|
||||||
|
Loading…
x
Reference in New Issue
Block a user