summary refs log tree commit diff
path: root/pkgs/build-support/clang-wrapper
Commit message (Collapse)AuthorAge
* Partially merge gcc-wrapper and clang-wrapperEelco Dolstra2014-07-02
| | | | | | | Having a separate clang-wrapper is really unfortunate because it means that we'll forever forget to apply changes to both (e.g. commit 289895fe2ceae2ade5aad635018eaeeaeaa669c6). This commit gets rid of the redundant copies of ld-wrapper.sh and utils.sh.
* Darwin: Search for libraries in $sdk/usr/libEelco Dolstra2014-07-01
| | | | | This required adding a new environment variable NIX_LDFLAGS_AFTER that ensures that the -L.../usr/lib flag happens last.
* preferLocalBuild: set to true for wrappers and fetchersVladimír Čunát2014-02-10
|
* Add a stdenv adapter ‘useGoldLinker’ to force use of GoldEelco Dolstra2014-02-05
|
* clang-wrapper: Set $CXX to clangEelco Dolstra2014-01-23
| | | | | | This is useful for non-Autoconf-based packages, since GNU Make's default for CXX is "g++". (The CC default is "cc" so should work fine with Clang already.)
* clang-wrapper: Sync with gcc-wrapperEelco Dolstra2014-01-23
|
* Add full llvm build, update libc++ and dragoneggShea Levy2014-01-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* clang-wrapper: Optionally use libc++ instead of libstdc++.Petr Rockai2013-11-16
|
* clang-wrapper: Guard against LD_LIBRARY_PATH.Petr Rockai2013-11-16
|
* Rename hostDrv -> crossDrv, buildDrv -> nativeDrvEelco Dolstra2012-12-28
| | | | | | This is for consistency with terminology in stdenv (and the terms "hostDrv" and "buildDrv" are not very intuitive, even if they're consistent with GNU terminology).
* Extend compiler wrapper scripts to allow compilation of "/dev/null" input.Peter Simons2012-07-02
| | | | | | | This feature sounds crazy, but it is used in some configure scripts (e.g. xbmc). This patch causes an almost complete rebuild of Nixpkgs. Patch submitted by Jan Malakhovski <oxij@oxij.org>.
* Add armv7l support.Nicolas Pierron2012-04-15
| | | | svn path=/nixpkgs/trunk/; revision=33798
* svn merge ^/nixpkgs/trunkYury G. Kudryashov2012-01-26
|\ | | | | | | | | | | Conflicts: cups, all-packages.nix (gcc45_debug) svn path=/nixpkgs/branches/stdenv-updates/; revision=31863
| * Changing every reference from mips64-linux to mips64el-linux. That'sLluís Batlle i Rossell2012-01-21
| | | | | | | | | | | | | | | | | | what the new nix thinks the fuloong is. Anyone having the old nix should use a nixpkgs previous to this change to build the new nix. And then, with the new nix, he can use any newer nixpkgs revision. svn path=/nixpkgs/trunk/; revision=31751
* | * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointlessEelco Dolstra2012-01-18
| | | | | | | | | | | | function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
* | * Remove the NIX_STRIP_DEBUG flag. It was undocumented and confusingEelco Dolstra2011-12-12
|/ | | | | | in its interaction with the ‘dontStrip’ attribute. svn path=/nixpkgs/branches/stdenv-updates/; revision=30848
* Use -isystem instead of -I for system headers to avoid warnings when using ↵Shea Levy2011-10-27
| | | | | | -pedantic svn path=/nixpkgs/trunk/; revision=30052
* First try at a clang-wrapper. Hello world compiles\!Shea Levy2011-10-18
svn path=/nixpkgs/trunk/; revision=29879