Commit Graph

794 Commits

Author SHA1 Message Date
Peter Simons
1a6039cb45 Enable parallel building of gcc, glibc, gmp, mpfr, ncurses, coreutils, perl, python, git, and qt4.
If a build expressions has set "enableParallelBuilding = true", then the
generic builder may utilize more than one CPU core to build that particular
expression. This feature works out of the box for GNU Make. Expressions that
use other build drivers like Boost.Jam or SCons have to specify appropriate
flags such as "-j${NIX_BUILD_CORES}" themselves.

svn path=/nixpkgs/trunk/; revision=23042
2010-08-08 18:51:42 +00:00
Lluís Batlle i Rossell
46082f25f9 Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=23027
2010-08-07 20:14:04 +00:00
Eelco Dolstra
a1e834e85a * Get rid of the ugly `useFromStdenv' hack in all-packages.nix.
Instead, use the generic package override mechanism to use packages
  from earlier bootstrap phases.
* Don't rely on the existence of attributes such as
  `stdenv.coreutils'.

svn path=/nixpkgs/trunk/; revision=22991
2010-08-06 10:34:34 +00:00
Eelco Dolstra
5119fac40e * Don't store the GCC configure flags in the output (visible through
`gcc -v').  It causes build-time only dependencies to be
  unnecessarily retained in the closure (e.g. PPL due to
  `--with-ppl=/nix/store/...').
* Replace $out/bin/c++ with a symlink to g++.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22966
2010-08-05 16:27:46 +00:00
Lluís Batlle i Rossell
50f337ad01 Making gcc not depend on bootstrap-tools (by a postInstall patchelf trick)
svn path=/nixpkgs/branches/stdenv-updates/; revision=22963
2010-08-05 13:39:08 +00:00
Eelco Dolstra
6fe628b99a * Indentation fixes.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22961
2010-08-05 13:21:29 +00:00
Lluís Batlle i Rossell
e0a11f532b Trying to bootstrap gcc 4.5 with ppl, so it does not depend on libstdc++ from the boostrap-tools.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22947
2010-08-04 12:36:35 +00:00
Michael Raskin
1cf7460522 Try appeasing Hydra with correct platform specification outside of assert
svn path=/nixpkgs/trunk/; revision=22922
2010-08-03 10:55:32 +00:00
Lluís Batlle i Rossell
6d15eabdc1 Merging from trunk (the callPackage change)
svn path=/nixpkgs/branches/stdenv-updates/; revision=22915
2010-08-03 08:14:13 +00:00
Michael Raskin
0dfe4c37ed Fix SBCL build
svn path=/nixpkgs/trunk/; revision=22903
2010-08-02 19:02:47 +00:00
Lluís Batlle i Rossell
955b962993 Updating gcc to 4.5.1.
I removed two patches that don't apply anymore (dragonegg, softfp-hurd).
I hope this means it's all fixed upstream.

svn path=/nixpkgs/branches/stdenv-updates/; revision=22879
2010-08-02 15:58:03 +00:00
Lluís Batlle i Rossell
5417c720fd Merging from trunk.
I tried to fix some trivial conflicts.
I don't know if I merged well some more difficult conflicts on openssl/darwin_patch
or haskell-platform.


svn path=/nixpkgs/branches/stdenv-updates/; revision=22878
2010-08-02 15:48:19 +00:00
Michael Raskin
76cef7e1b2 Set HOME for SBCL tests
svn path=/nixpkgs/trunk/; revision=22870
2010-08-02 11:37:23 +00:00
Michael Raskin
5892d8ffc7 Update sbcl
svn path=/nixpkgs/trunk/; revision=22865
2010-08-02 09:57:12 +00:00
Lluís Batlle i Rossell
0f4673788e Fixing the gcc-4.5 cross-build (the native strip destroys the .a cross-built
archives, so we disable it cross building)

svn path=/nixpkgs/branches/stdenv-updates/; revision=22854
2010-08-01 21:27:03 +00:00
Lluís Batlle i Rossell
da3ba13fb5 Trying to make gcc 4.5 cross-buildable
svn path=/nixpkgs/branches/stdenv-updates/; revision=22848
2010-08-01 21:21:26 +00:00
Eelco Dolstra
4bf5b0d36b * Fix some more "args: with args".
svn path=/nixpkgs/trunk/; revision=22828
2010-07-30 14:47:23 +00:00
Eelco Dolstra
907bb1aac6 * ltrace: updated to 0.5.3.
* libdbi / libdbi-drivers: updated to 0.8.3, and make it compile with
  SQLite.
* qemu-image: fix the URL.
* gdmap: make it build again (requires an older GTK+).
* rlwrap: updated to 0.37.
* smbfs-fuse -> fusesmb to match the upstream name.
* x11vnc: updated to 0.9.10.
* clearlyU: fix the URL.
* Various packages: follow the coding conventions.

svn path=/nixpkgs/trunk/; revision=22814
2010-07-29 18:55:16 +00:00
Eelco Dolstra
ba498d4a43 * composedArgsAndFun -> makeOverridable for consistency.
* Rename a few single-version packages to "default.nix".

svn path=/nixpkgs/trunk/; revision=22803
2010-07-29 08:21:21 +00:00
Eelco Dolstra
749b8607ca * More cleanup.
svn path=/nixpkgs/trunk/; revision=22795
2010-07-28 15:35:01 +00:00
Eelco Dolstra
6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00
Ludovic Courtès
d88cd100c9 GCC 4.5: Fix libpthread-related `LIB_SPEC' on GNU.
svn path=/nixpkgs/trunk/; revision=22610
2010-07-15 14:06:09 +00:00
Ludovic Courtès
f0de698503 GCC 4.5: Augment `LIB_SPEC' so that GNU's libpthread's deps are visible.
svn path=/nixpkgs/trunk/; revision=22603
2010-07-14 23:21:36 +00:00
Ludovic Courtès
29ee6afbea GCC 4.5: Patch the right header file for pthread on GNU.
svn path=/nixpkgs/trunk/; revision=22593
2010-07-13 23:42:25 +00:00
Ludovic Courtès
83335bda50 GCC 4.5: Add `-L${libpthread}/lib' unconditionally on GNU.
svn path=/nixpkgs/trunk/; revision=22585
2010-07-13 18:06:17 +00:00
Ludovic Courtès
97ab4c05b2 GCC 4.5: Fix pthread support for GNU.
svn path=/nixpkgs/trunk/; revision=22583
2010-07-13 16:32:26 +00:00
Lluís Batlle i Rossell
a8c5534849 Adding virtualgl (and therefore, libjpeg-turbo, a SIMD API-compatible libjpeg)
svn path=/nixpkgs/trunk/; revision=22553
2010-07-10 08:45:44 +00:00
David Guibert
74b7818349 vala - Compiler for the GObject type system
svn path=/nixpkgs/trunk/; revision=22546
2010-07-09 13:15:40 +00:00
Michael Raskin
522d4f9d85 GCL at the ansi level
svn path=/nixpkgs/trunk/; revision=22541
2010-07-09 03:34:29 +00:00
Andres Löh
eb2cb9afd4 Added ghc-6.12.3. Does not build yet for me -- still have to figure out why.
svn path=/nixpkgs/trunk/; revision=22525
2010-07-08 11:43:06 +00:00
Michael Raskin
40fb98d671 Fix a typo; thanks to viric for showing me my being silly.
svn path=/nixpkgs/trunk/; revision=22517
2010-07-07 20:19:48 +00:00
Michael Raskin
c009e9d2f0 Assert the stdenv requirements of the expression for now
svn path=/nixpkgs/trunk/; revision=22516
2010-07-07 18:44:57 +00:00
Michael Raskin
af34f7a80a Request a larger version
svn path=/nixpkgs/trunk/; revision=22500
2010-07-06 20:27:48 +00:00
Michael Raskin
ce2f4992f1 Work around a gcl bug related to temporary directories - bug report sent upstream
svn path=/nixpkgs/trunk/; revision=22499
2010-07-06 19:59:10 +00:00
Michael Raskin
058ccd7714 Apparently fixed GCL build
svn path=/nixpkgs/trunk/; revision=22498
2010-07-06 16:48:03 +00:00
Lluís Batlle i Rossell
cf30574d4e Quite fixing the path64 compiler. It builds programs in C even finding the libc header files.
Nevertheless, although all stages work, pathcc keeps on saying "INTERNAL ERROR happened",
but resultign binaries work fine.

It needs some upstream fixing - they have all too much hardcoded to /usr, for example.

svn path=/nixpkgs/trunk/; revision=22449
2010-07-04 11:10:58 +00:00
Lluís Batlle i Rossell
6aa4b636dc Adding a skeleton for the path64 compiler.
It builds, but it needs some reworks as running it lookes at /usr/bin/ld and things like that.
I leave that for another day.

svn path=/nixpkgs/trunk/; revision=22442
2010-07-02 21:44:31 +00:00
Peter Simons
70240d36ac Enable parallel building of gcc, glibc, gmp, mpfr, coreutils, perl, git, and qt4.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22400
2010-06-23 14:35:18 +00:00
Marc Weber
f3e7f0fdf0 reverting my patch series adding -j -l support for make
svn path=/nixpkgs/branches/stdenv-updates/; revision=22336
2010-06-19 15:52:28 +00:00
Lluís Batlle i Rossell
da9e4402ee Pinta still does not build (xbuild pkgconfig problems), but mono and gtk-sharp-2 build fine.
svn path=/nixpkgs/trunk/; revision=22322
2010-06-18 08:16:21 +00:00
Ludovic Courtès
c930debb54 GCC 4.5: Remove unnecessary `configure' flags.
The `--enable-lto' and `--enable-plugin' flags are automatically implied
when all their prerequisites are satisfied.  However, passing them
explicitly breaks cases where some of the prerequisites are not met,
such as static (`--without-headers') cross-compilers.

svn path=/nixpkgs/trunk/; revision=22316
2010-06-17 21:23:22 +00:00
Marc Weber
2dafd54743 opt-out some failing phases
svn path=/nixpkgs/branches/stdenv-updates/; revision=22285
2010-06-15 19:00:58 +00:00
Sander van der Burg
cc6acb3e40 Added my very experimental Visual Studio build stuff. You should be even more brave to use this
svn path=/nixpkgs/trunk/; revision=22273
2010-06-15 11:32:19 +00:00
Marc Weber
02adc9484b adobe_flex_sdk, use - instead of _ in name
svn path=/nixpkgs/trunk/; revision=22269
2010-06-14 22:35:40 +00:00
Marc Weber
88d7d68c77 update Adobe Flex SDK
svn path=/nixpkgs/trunk/; revision=22260
2010-06-14 16:52:15 +00:00
Lluís Batlle i Rossell
86345919c2 Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=22254
2010-06-14 09:28:10 +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
Lluís Batlle i Rossell
22b3336161 I had also to disable the tests for 'net' in go for it to build in chroot.
(I thought I had chroots enabled in my computer - I did not, hence so much commits)

svn path=/nixpkgs/trunk/; revision=22232
2010-06-12 11:45:30 +00:00
Lluís Batlle i Rossell
2ba5bba371 Disabling the http tests on go (fail on hydra)
svn path=/nixpkgs/trunk/; revision=22231
2010-06-12 11:31:39 +00:00
Lluís Batlle i Rossell
0530f43655 Updating go, and making the go expression work in both i686-linux and x86_64-linux.
svn path=/nixpkgs/trunk/; revision=22230
2010-06-12 11:21:20 +00:00
Marc Weber
603fd4f206 HaXe and Neko update, C backend does work on NixOS
haxelib install hxcpp; Maybe export HXCPP_M64=1 then take off :)

svn path=/nixpkgs/trunk/; revision=22055
2010-05-29 18:26:45 +00:00
Michael Raskin
90c859d0c7 Add Gambit Scheme compiler
svn path=/nixpkgs/trunk/; revision=22026
2010-05-28 06:01:35 +00:00
Rob Vermaas
41aa02a8b4 inital try with jdk6 on cygwin
svn path=/nixpkgs/trunk/; revision=22000
2010-05-27 11:04:45 +00:00
Ludovic Courtès
caf8fe39cf GCJ 4.5: Fix `java.home'.
svn path=/nixpkgs/trunk/; revision=21999
2010-05-27 10:23:42 +00:00
Ludovic Courtès
7132072986 GCJ 4.5: Fix value of the `java.home' property.
svn path=/nixpkgs/trunk/; revision=21988
2010-05-26 14:53:04 +00:00
Lluís Batlle i Rossell
fa1a414aee Merging from trunk - I had to resolve conflicts on coreutils; I hope I resolved that
well


svn path=/nixpkgs/branches/stdenv-updates/; revision=21975
2010-05-25 20:38:18 +00:00
Ludovic Courtès
fc6b345f94 GCJ 4.5: Build with `--enable-java-home' & co.
svn path=/nixpkgs/trunk/; revision=21973
2010-05-25 19:38:13 +00:00
Ludovic Courtès
000c2c51fd GCC 4.5: Patch the spec string for GNU/Hurd to add the right `-I' flags.
svn path=/nixpkgs/trunk/; revision=21934
2010-05-21 13:46:46 +00:00
Ludovic Courtès
882ff5a41b GCC 4.5: Handle cross-glibc's propagated build inputs.
svn path=/nixpkgs/trunk/; revision=21907
2010-05-19 21:32:31 +00:00
Ludovic Courtès
63abc2ed86 GCC 4.5: Add support for a separate libpthread; rearrange target flags handling.
svn path=/nixpkgs/trunk/; revision=21905
2010-05-19 21:32:19 +00:00
Ludovic Courtès
91e3147622 GCC 4.5: Unset $CPATH and $LIBRARY_PATH if and only if they are empty.
svn path=/nixpkgs/trunk/; revision=21904
2010-05-19 21:31:49 +00:00
Ludovic Courtès
aa26710b44 GCC 4.5: Add patch to fix GNU/Hurd builds.
svn path=/nixpkgs/trunk/; revision=21903
2010-05-19 21:31:21 +00:00
Lluís Batlle i Rossell
6d88da9a23 Merging from trunk (conflict on glibc, I think I resolved it)
svn path=/nixpkgs/branches/stdenv-updates/; revision=21879
2010-05-19 15:26:00 +00:00
Lluís Batlle i Rossell
4547dffb5d Fixing gcc-4.5 related to the patch for ultrasparc. The patch should not be
needed anymore

svn path=/nixpkgs/trunk/; revision=21633
2010-05-06 19:19:02 +00:00
Lluís Batlle i Rossell
c548c084bb Making gcc-4.5 cross-build to mingw32 too (set by the proper config and libc = "msvcrt"
in the crossSystem)

svn path=/nixpkgs/trunk/; revision=21630
2010-05-06 18:22:51 +00:00
Ludovic Courtès
8da4605505 GCC 4.5: Remove redundant `--disable-multilib'.
svn path=/nixpkgs/trunk/; revision=21553
2010-05-02 09:27:39 +00:00
Lluís Batlle i Rossell
1ae5a63425 Fixing the yasm 'name'
svn path=/nixpkgs/trunk/; revision=21471
2010-04-30 22:25:25 +00:00
Lluís Batlle i Rossell
1215f3a7a4 Adding yasm, and making x264 and xvid codecs be compiled with their assembly code
svn path=/nixpkgs/trunk/; revision=21470
2010-04-30 21:58:47 +00:00
Lluís Batlle i Rossell
fa6c22b5c6 Adding the expressions for gcc 4.5 for cross building.
Although I still have set gcc 4.4 for that, I tested with the 4.5 expression
and it cross built perfectly bison for the sheevaplug.

svn path=/nixpkgs/trunk/; revision=21463
2010-04-30 19:12:59 +00:00
Andres Löh
b3224edee3 Updated the expression for EHC/UHC.
This is not yet properly tested, but it should be an improvement over
what was there before ...

svn path=/nixpkgs/trunk/; revision=21435
2010-04-29 17:35:09 +00:00
Andres Löh
7d2ae46bce Add missing binaries to the GHC wrapper.
svn path=/nixpkgs/trunk/; revision=21434
2010-04-29 17:35:05 +00:00
Ludovic Courtès
5929f9d3bd GCC 4.5.0.
svn path=/nixpkgs/trunk/; revision=21403
2010-04-28 12:37:11 +00:00
Ludovic Courtès
689914a5b2 update-gcc.sh: Add support for Ada.
svn path=/nixpkgs/trunk/; revision=21401
2010-04-28 12:37:02 +00:00
Andres Löh
8bf3f76256 Let GHC wrapper inherit meta from the wrapped expression.
svn path=/nixpkgs/trunk/; revision=21330
2010-04-26 20:39:51 +00:00
Andres Löh
b48dfda990 Added ghc-6.12.2.
svn path=/nixpkgs/trunk/; revision=21303
2010-04-25 17:27:21 +00:00
Ludovic Courtès
a89f709a91 GNU/MIT Scheme: Restrict to GNU/* and FreeBSD.
svn path=/nixpkgs/trunk/; revision=21302
2010-04-24 21:03:00 +00:00
Ludovic Courtès
805d99ffc7 Reverting "GNU/MIT Scheme: Attempt to fix Cygwin builds."
svn path=/nixpkgs/trunk/; revision=21301
2010-04-24 21:02:52 +00:00
Ludovic Courtès
4f9ffa5e59 GNU/MIT Scheme: Attempt to fix Cygwin builds.
svn path=/nixpkgs/trunk/; revision=21295
2010-04-24 16:02:08 +00:00
Ludovic Courtès
4fcbad8476 GNU/MIT Scheme: Build from the binary distributions when available.
svn path=/nixpkgs/trunk/; revision=21293
2010-04-24 11:09:53 +00:00
Andres Löh
776d8267c6 Added a couple of comments to ghc expression and myself as maintainer,
in preparation for adding ghc-6.12.2 ...

svn path=/nixpkgs/trunk/; revision=21268
2010-04-23 12:38:34 +00:00
Lluís Batlle i Rossell
6f2fac6466 Merging from trunk.
I hope I resolved the conflicts well (gmp and gccCross)


svn path=/nixpkgs/branches/stdenv-updates/; revision=21251
2010-04-22 21:44:33 +00:00
Sander van der Burg
3921737991 Upgraded jdk to 1.6.0_20
svn path=/nixpkgs/trunk/; revision=21180
2010-04-20 11:29:40 +00:00
Marc Weber
b8fc0df586 updating HaXe and Neko
svn path=/nixpkgs/trunk/; revision=21150
2010-04-18 22:01:50 +00:00
Lluís Batlle i Rossell
d6f653770b Updating the 'ecl' url (new version, and updated sourceforge url scheme)
svn path=/nixpkgs/trunk/; revision=21134
2010-04-16 17:35:26 +00:00
Ludovic Courtès
7f6b1e9abd GCC 4.4: Fix shared library support of sparc64-linux-gnu cross-compiler.
svn path=/nixpkgs/trunk/; revision=20975
2010-04-07 15:53:34 +00:00
Marc Weber
01b602c7f4 update Scala 2.7.7
patch provided by Francois Perrad
I readded license line

svn path=/nixpkgs/trunk/; revision=20861
2010-03-29 23:36:25 +00:00
Michael Raskin
96eba79858 Update SBCL
svn path=/nixpkgs/trunk/; revision=20750
2010-03-18 21:12:45 +00:00
Ludovic Courtès
6574a35e56 Add MIT/GNU Scheme.
svn path=/nixpkgs/trunk/; revision=20719
2010-03-17 15:32:12 +00:00
Ludovic Courtès
d5c0333db8 Stalin: Add dependency on ncompress.
svn path=/nixpkgs/trunk/; revision=20713
2010-03-17 14:44:46 +00:00
Ludovic Courtès
9e16b812e0 Mono: Don't strip binaries.
svn path=/nixpkgs/trunk/; revision=20708
2010-03-17 13:56:40 +00:00
Ludovic Courtès
2dfbcfcc7c Stalin: Add maintainer.
svn path=/nixpkgs/trunk/; revision=20707
2010-03-17 13:56:36 +00:00
Lluís Batlle i Rossell
4824ecbb62 Trying to remove more hydra evaluation errors related to gcc.
svn path=/nixpkgs/trunk/; revision=20687
2010-03-17 10:17:32 +00:00
Marc Weber
19f0cd20fd HaXe: support nekotools boot - add haxelib
svn path=/nixpkgs/trunk/; revision=20674
2010-03-16 23:34:56 +00:00