Updating the hydra builds for release-cross.nix
Now the attributes listed as Jobs will look even uglier - very long names, too much repeating. svn path=/nixpkgs/trunk/; revision=20492
This commit is contained in:
parent
d2f598122c
commit
da8c9de5a8
@ -1,5 +1,31 @@
|
|||||||
with (import ./release-lib.nix);
|
with (import ./release-lib.nix);
|
||||||
|
let
|
||||||
|
nativePlatforms = linux;
|
||||||
|
|
||||||
|
/* Basic list of packages to cross-build */
|
||||||
|
basicHostDrv = {
|
||||||
|
bison.hostDrv = nativePlatforms;
|
||||||
|
tightvnc.hostDrv = nativePlatforms;
|
||||||
|
#openoffice.hostDrv = nativePlatforms;
|
||||||
|
wxGTK.hostDrv = nativePlatforms;
|
||||||
|
#firefox = nativePlatforms;
|
||||||
|
xorg = {
|
||||||
|
#xorgserver.hostDrv = nativePlatforms;
|
||||||
|
};
|
||||||
|
nixUnstable.hostDrv = nativePlatforms;
|
||||||
|
linuxPackages_2_6_32.kernel.hostDrv = linux;
|
||||||
|
linuxPackages_2_6_33.kernel.hostDrv = linux;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Basic list of packages to be natively built,
|
||||||
|
but need a crossSystem defined to get meaning */
|
||||||
|
basicBuildDrv = {
|
||||||
|
gdbCross = nativePlatforms;
|
||||||
|
};
|
||||||
|
|
||||||
|
basic = basicHostDrv // basicBuildDrv;
|
||||||
|
|
||||||
|
in
|
||||||
(
|
(
|
||||||
|
|
||||||
/* Test some cross builds to the Sheevaplug */
|
/* Test some cross builds to the Sheevaplug */
|
||||||
@ -13,21 +39,12 @@ let
|
|||||||
platform = pkgs.platforms.sheevaplug;
|
platform = pkgs.platforms.sheevaplug;
|
||||||
openssl.system = "linux-generic32";
|
openssl.system = "linux-generic32";
|
||||||
};
|
};
|
||||||
nativePlatforms = linux;
|
|
||||||
in {
|
in {
|
||||||
crossSheevaplugLinux = mapTestOnCross crossSystem (rec {
|
crossSheevaplugLinux = mapTestOnCross crossSystem (
|
||||||
bison = nativePlatforms;
|
basic //
|
||||||
tightvnc = nativePlatforms;
|
{
|
||||||
#openoffice = nativePlatforms;
|
ubootSheevaplug.hostDrv = nativePlatforms;
|
||||||
wxGTK = nativePlatforms;
|
|
||||||
#firefox = nativePlatforms;
|
|
||||||
xorg = {
|
|
||||||
#xorgserver = nativePlatforms;
|
|
||||||
};
|
|
||||||
nixUnstable = linux;
|
|
||||||
linuxPackages_2_6_32.kernel = linux;
|
|
||||||
linuxPackages_2_6_33.kernel = linux;
|
|
||||||
gdbCross = nativePlatforms;
|
|
||||||
});
|
});
|
||||||
}) // (
|
}) // (
|
||||||
|
|
||||||
@ -50,22 +67,8 @@ let
|
|||||||
};
|
};
|
||||||
openssl.system = "linux-generic32";
|
openssl.system = "linux-generic32";
|
||||||
};
|
};
|
||||||
nativePlatforms = linux;
|
|
||||||
in {
|
in {
|
||||||
crossMipselLinux = mapTestOnCross crossSystem (rec {
|
crossMipselLinux = mapTestOnCross crossSystem basic;
|
||||||
bison = nativePlatforms;
|
|
||||||
tightvnc = nativePlatforms;
|
|
||||||
#openoffice = nativePlatforms;
|
|
||||||
wxGTK = nativePlatforms;
|
|
||||||
#firefox = nativePlatforms;
|
|
||||||
xorg = {
|
|
||||||
#xorgserver = nativePlatforms;
|
|
||||||
};
|
|
||||||
nixUnstable = linux;
|
|
||||||
linuxPackages_2_6_32.kernel = linux;
|
|
||||||
linuxPackages_2_6_33.kernel = linux;
|
|
||||||
gdbCross = nativePlatforms;
|
|
||||||
});
|
|
||||||
}) // (
|
}) // (
|
||||||
|
|
||||||
/* Test some cross builds to the ultrasparc */
|
/* Test some cross builds to the ultrasparc */
|
||||||
@ -88,20 +91,6 @@ let
|
|||||||
};
|
};
|
||||||
openssl.system = "linux64-sparcv9";
|
openssl.system = "linux64-sparcv9";
|
||||||
};
|
};
|
||||||
nativePlatforms = linux;
|
|
||||||
in {
|
in {
|
||||||
crossUltraSparcLinux = mapTestOnCross crossSystem (rec {
|
crossUltraSparcLinux = mapTestOnCross crossSystem basic;
|
||||||
bison = nativePlatforms;
|
|
||||||
tightvnc = nativePlatforms;
|
|
||||||
#openoffice = nativePlatforms;
|
|
||||||
wxGTK = nativePlatforms;
|
|
||||||
#firefox = nativePlatforms;
|
|
||||||
xorg = {
|
|
||||||
#xorgserver = nativePlatforms;
|
|
||||||
};
|
|
||||||
nixUnstable = linux;
|
|
||||||
linuxPackages_2_6_32.kernel = linux;
|
|
||||||
linuxPackages_2_6_33.kernel = linux;
|
|
||||||
gdbCross = nativePlatforms;
|
|
||||||
});
|
|
||||||
})
|
})
|
||||||
|
@ -54,7 +54,7 @@ rec {
|
|||||||
job = toJob value;
|
job = toJob value;
|
||||||
getPkg = pkgs: setCrossMaintainers
|
getPkg = pkgs: setCrossMaintainers
|
||||||
(pkgs.lib.addMetaAttrs { schedulingPriority = toString job.schedulingPriority; }
|
(pkgs.lib.addMetaAttrs { schedulingPriority = toString job.schedulingPriority; }
|
||||||
(pkgs.lib.getAttrFromPath (path ++ ["hostDrv"]) pkgs));
|
(pkgs.lib.getAttrFromPath path pkgs));
|
||||||
in testOnCross crossSystem job.systems getPkg);
|
in testOnCross crossSystem job.systems getPkg);
|
||||||
|
|
||||||
setCrossMaintainers = pkg: pkg // { meta.maintainers = crossMaintainers; };
|
setCrossMaintainers = pkg: pkg // { meta.maintainers = crossMaintainers; };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user