1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/build-support/clang-wrapper
Shea Levy 55e6303d6a Add full llvm build, update libc++ and dragonegg
Some packages in the llvm suite (e.g. compiler-rt) cannot be built
separate from the build of llvm, and while some others (e.g. clang) can
the combined build is much better tested (we've had to work around
annoying issues before). So this puts llvm, clang, clang-tools-extra,
compiler-rt, lld, lldb, and polly all into one big build (llvmFull).
This build includes a static llvm, as dynamic is similarly less tested
and has known failures.

This also updates libc++ and dragonegg. libc++ now builds against
libc++abi as a separate package rather than building it during the
libc++ build.

The clang purity patch is gone. Instead, we simply set --sysroot to
/var/empty for pure builds, as all impure paths are either looked up in
the gcc prefix (which we hard-code at compile time) or in the sysroot.
This also means that if NIX_ENFORCE_PURITY is 0 then clang will look in
the normal Linux paths by default, which is the proper behavior IMO.

polly required an updated isl. When stdenv-updates is merged, perhaps we
can update the isl used by gcc and avoid having two versions.

Since llvm on its own is now separate from the llvm used by clang, I've
removed myself as maintainer from llvm and will leave maintenance of
that to those who are interested in llvm separate from clang.

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-20 05:42:38 -05:00
..
add-flags First try at a clang-wrapper. Hello world compiles\! 2011-10-18 20:03:09 +00:00
builder.sh Add full llvm build, update libc++ and dragonegg 2014-01-20 05:42:38 -05:00
clang-wrapper.sh Add full llvm build, update libc++ and dragonegg 2014-01-20 05:42:38 -05:00
default.nix Add full llvm build, update libc++ and dragonegg 2014-01-20 05:42:38 -05:00
ld-wrapper.sh Add full llvm build, update libc++ and dragonegg 2014-01-20 05:42:38 -05:00
setup-hook.sh First try at a clang-wrapper. Hello world compiles\! 2011-10-18 20:03:09 +00:00
utils.sh Extend compiler wrapper scripts to allow compilation of "/dev/null" input. 2012-07-02 17:15:21 +02:00