3
0
Fork 0
forked from mirrors/nixpkgs

Trying to remove evaluation errors in hydra nixpkgs for the cross compiler related

derivations.
I remove their 'meta platforms' attribute, defined in the gcc expression, so hydra
does not attempt to build them in the nixpkgs evaluation.

svn path=/nixpkgs/trunk/; revision=20678
This commit is contained in:
Lluís Batlle i Rossell 2010-03-17 09:05:11 +00:00
parent 1163f22972
commit f0ce6cfe94

View file

@ -1974,19 +1974,20 @@ let
cross = assert crossSystem != null; crossSystem;
};
gcc44_realCross = makeOverridable (import ../development/compilers/gcc-4.4) {
inherit stdenv fetchurl texinfo gmp mpfr ppl cloogppl noSysDirs
gettext which;
binutilsCross = binutilsCross;
libcCross = libcCross;
profiledCompiler = false;
enableMultilib = false;
# cross-building for ultrasparc in 4.4.3 will require disabling shared due to a gcc bug.
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818
enableShared = if (crossSystem.arch == "sparc64") then false else true;
crossStageStatic = false;
cross = assert crossSystem != null; crossSystem;
};
gcc44_realCross = lib.addMetaAttrs { platforms = []; } (
makeOverridable (import ../development/compilers/gcc-4.4) {
inherit stdenv fetchurl texinfo gmp mpfr ppl cloogppl noSysDirs
gettext which;
binutilsCross = binutilsCross;
libcCross = libcCross;
profiledCompiler = false;
enableMultilib = false;
# cross-building for ultrasparc in 4.4.3 will require disabling shared due to a gcc bug.
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41818
enableShared = if (crossSystem.arch == "sparc64") then false else true;
crossStageStatic = false;
cross = assert crossSystem != null; crossSystem;
});
gccCrossStageStatic = wrapGCCCross {
gcc = forceBuildDrv (gcc44_realCross.override {