Commit graph

22 commits

Author SHA1 Message Date
Petr Rockai 2c9f0e059a clang: Do not try to build clang-tblgen in LLVM's build path. 2013-11-16 13:53:48 +01:00
Shea Levy 6425ad2847 clang: Update to 3.3
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-06-21 19:50:56 -04:00
Shea Levy 88864e331a Try to fix the tarball.
stdenv.gcc.gcc might be null, e.g. on ppc-linux

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-04 17:30:04 -04:00
Shea Levy c4edee4d39 clang: Pass the real gcc install prefix
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-05-04 15:18:37 -04:00
Shea Levy 296cd66009 clang requires libxlm2, on darwin at least 2013-01-22 16:29:28 -05:00
Shea Levy 857742ea22 clang/llvm: 3.2 2013-01-22 14:33:55 -05:00
Shea Levy 4f178d1698 clang: Bump to 3.1 2012-10-08 01:57:39 -04:00
Ludovic Courtès 04600bbec1 Darwin: Add mig', lipo', etc. to `stdenvNative'.
Consequently, remove `darwinLipoUtility', `darwinArchUtility', etc.

svn path=/nixpkgs/trunk/; revision=33893
2012-04-23 15:47:31 +00:00
Shea Levy cd83eb3173 Build clang to support all of llvm's targets
svn path=/nixpkgs/trunk/; revision=33518
2012-04-01 14:33:23 +00:00
Shea Levy ec305ac161 clang builds on darwin now
Also, get rid of the clang bootstrap, there's no need for it

svn path=/nixpkgs/trunk/; revision=30973
2011-12-19 23:58:57 +00:00
Shea Levy cf247dcce0 Try to fix tarball
svn path=/nixpkgs/trunk/; revision=30968
2011-12-19 13:40:33 +00:00
Shea Levy 2a033caa1d llvm+clang don't yet build on non-Linux platforms
svn path=/nixpkgs/trunk/; revision=30957
2011-12-19 12:53:07 +00:00
Shea Levy 006d8dcdc1 clang-3.0
This required moving to the cmake build for llvm in order to build clang
separately from llvm.

svn path=/nixpkgs/trunk/; revision=30956
2011-12-19 12:48:09 +00:00
Shea Levy 51eab4deaa Only build clang on Linux until the wrapper is set up for non-Linux stdenvs
svn path=/nixpkgs/trunk/; revision=30302
2011-11-07 19:24:01 +00:00
Shea Levy 0892d42613 The clang static analyzer can be accessed through clang --analyze, no need for scan-build and view
svn path=/nixpkgs/trunk/; revision=30051
2011-10-27 06:04:00 +00:00
Eelco Dolstra 75c3c1418d * Fix powerpc-linux evaluation (does anybody care?).
svn path=/nixpkgs/trunk/; revision=29958
2011-10-21 16:10:07 +00:00
Eelco Dolstra 5e51aadc10 * Fix evaluation errors.
svn path=/nixpkgs/trunk/; revision=29955
2011-10-21 14:43:18 +00:00
Shea Levy 252286194e clang: have gcc tell us its target triplet, no need to limit to x86 linuces
svn path=/nixpkgs/trunk/; revision=29924
2011-10-20 02:07:00 +00:00
Shea Levy 1214310f5d Use the right triplet for 1686
Not sure why we're inconsistent between arches there...

svn path=/nixpkgs/trunk/; revision=29923
2011-10-20 00:15:49 +00:00
Shea Levy 188df14951 clang: Use configureFlags instead of env vars to tell which compiler to use
svn path=/nixpkgs/trunk/; revision=29922
2011-10-19 23:49:22 +00:00
Shea Levy 1d7f2e1e90 clang: Install static analysis tools
svn path=/nixpkgs/trunk/; revision=29921
2011-10-19 21:47:28 +00:00
Shea Levy 6e3cde6383 Enable building clang separately from llvm
Note that there is some duplication when building clang now. The llvm source
is unpacked twice, ./configure is run twice, and two small unit test
libraries are compiled twice. IMO this is a fair tradeoff for having
llvm be a separate build unaffected by changes to clang

svn path=/nixpkgs/trunk/; revision=29919
2011-10-19 20:57:18 +00:00