Commit graph

14 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
Ludovic Courtès 9991b4f4c6 Cross-GNU: Fix Git revision names.
svn path=/nixpkgs/trunk/; revision=22278
2010-06-15 15:01:15 +00:00
Ludovic Courtès 82db7c3f0e glibc/hurd: Use the date as the version number.
svn path=/nixpkgs/trunk/; revision=21895
2010-05-19 21:28:03 +00:00
Ludovic Courtès e7521238ae glibc: Add comment about things to be fixed.
svn path=/nixpkgs/trunk/; revision=21891
2010-05-19 21:26:48 +00:00
Ludovic Courtès 7a34b3a7a9 glibc: Get the Hurd-specific glibc branch.
svn path=/nixpkgs/trunk/; revision=21761
2010-05-12 23:54:20 +00:00
Ludovic Courtès 7e08174782 glibc 2.11: Cross-build for GNU/Hurd.
svn path=/nixpkgs/trunk/; revision=21752
2010-05-12 15:46:51 +00:00
Lluís Batlle i Rossell 8cf1f739e2 Fixing the cross-glibc soft float case.
svn path=/nixpkgs/trunk/; revision=20276
2010-02-27 20:02:21 +00:00
Lluís Batlle i Rossell b1b7266aa3 After some testing with an ultrasparc cross-compiler:
Updating the cross-build expressions, adding some flexibility.
Updated the linux headers used cross building, as 2.6.28 had bugs on endianness in
sparc64.
There were, as usual some bugs in gcc. Maybe not many make a cross compiler to
ultrasparc.

For the record, I could build an ultrasparc kernel with this base nix:
import /etc/nixos/nixpkgs/default.nix   # The root nixpkgs default.nix
{
    crossSystem = {
        config = "sparc64-unknown-linux";
        bigEndian = true;
        arch = "sparc64";
        float = "soft";
        withTLS = true;
        cpu = "ultrasparc";
    };

    config = pkgs: {
      packageOverrides = pkgs : {
        platform = {
            name = "sparc64";
            kernelHeadersBaseConfig = "sparc64_defconfig";
            kernelBaseConfig = "sparc64_defconfig";
            kernelArch = "sparc";
            kernelAutoModules = false;
            kernelTarget = "zImage";
            uboot = null;
        };
      };
    };
}

Although it did not boot directly in qemu-system-sparc64:
[sparc64] Kernel already loaded
Unhandled Exception 0x0000000000000020
PC = 0x0000000000404000 NPC = 0x0000000000404004

svn path=/nixpkgs/trunk/; revision=20269
2010-02-27 00:52:48 +00:00
Eelco Dolstra 822db4b9a9 * Glibc updated to 2.11.1. Also cleaned up the expression a bit
(don't use args.<attr> for instance).

svn path=/nixpkgs/branches/stdenv-updates/; revision=19745
2010-02-01 09:32:40 +00:00
Eelco Dolstra a9634c0c5a * The postInstall attribute in default.nix did nothing, because
builder.sh already sets postInstall.  As a result Glibc had a
  retained dependency on bootstrap-tools.  Added the "rm" to
  builder.sh.
* localesbuilder.sh -> locales-builder.sh.

svn path=/nixpkgs/branches/stdenv-updates/; revision=19516
2010-01-18 10:50:32 +00:00
Lluís Batlle i Rossell 72fe687cd0 Attempting to fix ntp's MOD_NANO problems.
svn path=/nixpkgs/branches/stdenv-updates/; revision=19021
2009-12-17 22:09:28 +00:00
Lluís Batlle i Rossell 8910d4e646 Adding ports to glibc-2.11.
Making glibc-2.11 the default in cross-compiling and also for the native armv5tel.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18744
2009-12-01 21:33:11 +00:00
Lluís Batlle i Rossell 45886e474d On native builds:
- Disabling guile test, because one fails. I commented on that in the source.
On cross builds:
- Adding stripping
- Updating the glibc-2.11 expression to match the parameters of glibc-2.9,
  which I was updating more.
- Renaming from selfNativeBuildInput to selfBuildNativeInput, so this matches
  better the pattern buildNativeInputs.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18550
2009-11-22 22:48:43 +00:00
Ludovic Courtès 04a15b29b0 glibc 2.11: Factorize the libc/info/locales expressions.
svn path=/nixpkgs/branches/stdenv-updates/; revision=18526
2009-11-22 16:03:56 +00:00