Commit Graph

693 Commits

Author SHA1 Message Date
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
Yury G. Kudryashov
0e397758ee dragonegg-3.0
The old version fails to build, thus I commit it instead of review request.

svn path=/nixpkgs/trunk/; revision=33193
2012-03-17 15:25:00 +00:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +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
dfb27bd181 llvm should build on darwin now
svn path=/nixpkgs/trunk/; revision=30958
2011-12-19 13:00:03 +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
99dede273d Remove unused patch
svn path=/nixpkgs/trunk/; revision=30735
2011-12-05 05:03:18 +00:00
Shea Levy
9943b8da03 Remove llvmSVN, it's outdated and doesn't work
svn path=/nixpkgs/trunk/; revision=30732
2011-12-05 02:53:26 +00:00
Shea Levy
332afc59aa llvm 3.0
This probably breaks clang. I will be updating clang to 3.0 when I can

svn path=/nixpkgs/trunk/; revision=30722
2011-12-03 23:47:59 +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
7c32c9c426 llvm: Use the sw_vers program on darwin
svn path=/nixpkgs/trunk/; revision=29925
2011-10-20 10:15:54 +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
Shea Levy
94dbab27a3 Bootstrap clang with itself
svn path=/nixpkgs/trunk/; revision=29901
2011-10-19 17:11:26 +00:00
Shea Levy
1ed93241cd clang: Don't send extra -I flags to the linker
svn path=/nixpkgs/trunk/; revision=29883
2011-10-19 04:14:55 +00:00
Shea Levy
db619f2d55 First try at a clang-wrapper. Hello world compiles\!
svn path=/nixpkgs/trunk/; revision=29879
2011-10-18 20:03:09 +00:00
Shea Levy
9783d27b7a Bump llvm and clang to 2.9
svn path=/nixpkgs/trunk/; revision=29878
2011-10-18 16:37:28 +00:00
Michael Raskin
5fbf32b737 Missing files
svn path=/nixpkgs/trunk/; revision=28133
2011-08-03 08:38:34 +00:00
Eelco Dolstra
4f87b5338c * Clang/LLVM updated to 2.8.
svn path=/nixpkgs/trunk/; revision=25777
2011-02-05 15:45:02 +00:00
Rob Vermaas
0b747487fd only build dragonegg on linux
svn path=/nixpkgs/trunk/; revision=25417
2011-01-05 10:13:28 +00:00
Lluís Batlle i Rossell
9eb2cf4906 I forgot the licenses for llvm. Here they are.
svn path=/nixpkgs/trunk/; revision=22241
2010-06-12 22:30:09 +00:00
Lluís Batlle i Rossell
8db2f399d1 Changing clang derivation name from llvm-2.7 to clang-2.7. Clearer, I think.
svn path=/nixpkgs/trunk/; revision=22240
2010-06-12 22:14:43 +00:00
Lluís Batlle i Rossell
6bc2fcd511 Fixing the nixpkgs tarball build
Fixing the clang fetchsvn hash. I don't know why it does not match that given by nix-prefetch-svn, but
I set that given by nix-build.

svn path=/nixpkgs/trunk/; revision=22239
2010-06-12 22:01:41 +00:00
Lluís Batlle i Rossell
a4a34dd6e4 Moving dragonegg (gcc shared object plugin) into the llvm directory,
as I think it fits better there than in 'libraries'.

svn path=/nixpkgs/trunk/; revision=22238
2010-06-12 21:52:50 +00:00
Lluís Batlle i Rossell
684aa4b043 Removing llvm-gcc (gcc-4.2 only), because I think dragonegg outdates it (gcc-4.5.0 plugin).
svn path=/nixpkgs/trunk/; revision=22237
2010-06-12 21:52:45 +00:00
Lluís Batlle i Rossell
22a839c86d Making clang build for llvm 2.7
(I've not tested the usage of c++ headers though, but it builds c and c++ simple programs)

svn path=/nixpkgs/trunk/; revision=22236
2010-06-12 21:52:39 +00:00
Lluís Batlle i Rossell
1babf6ea14 Cleaning a bit what I commited about llvm, and making dragonegg build.
If passing to gcc4.5 the compile flag: "-fplugin=dragonegg.so" it will use the llvm optimizers and
code generators.

In that previous commit I enabled link time optimization and plugin support in gcc 4.5.0

svn path=/nixpkgs/trunk/; revision=22235
2010-06-12 20:54:35 +00:00
Lluís Batlle i Rossell
e6ad625902 llvm update attempt + dragonegg
svn path=/nixpkgs/trunk/; revision=22234
2010-06-12 17:42:33 +00:00
Marc Weber
52647ea3b0 FullDepEntry -> fullDepEntry, PackEntry -> packEntry
svn path=/nixpkgs/trunk/; revision=15662
2009-05-19 23:25:58 +00:00
Eelco Dolstra
7689a348c4 * Got rid of a lot of "postInstall=postInstall" and similar lines in
builders.  These are redundant now.
* Inlined some trivial builders.
* Removed a few explicit setup-hook creations.  This is done
  automatically now if setupHook is set.
* Deleted the initscripts package.  NixOS doesn't use it anymore.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
2009-04-23 13:31:10 +00:00
Michael Raskin
2b9c9ab559 Added Lazarus IDE for Free Pascal Compiler.
svn path=/nixpkgs/trunk/; revision=11492
2008-04-08 15:11:34 +00:00
Michael Raskin
a693c53ec4 Attempts to get LLVM-gcc working are not yet succesful; but builder-defs updates are useful.
svn path=/nixpkgs/trunk/; revision=11457
2008-04-02 19:55:40 +00:00
Arie Middelkoop
33cd1691a6 Removed some of the buildInputs for the LLVM nix-expression that are not required.
svn path=/nixpkgs/trunk/; revision=11157
2008-03-17 11:28:52 +00:00
Arie Middelkoop
c65d00efeb LLVM compiler
Low Level Virtual Machine
http://www.llvm.org/

svn path=/nixpkgs/trunk/; revision=11156
2008-03-17 11:18:21 +00:00