release-cross: Add arms test from Darwin for binutils

This does a decent job of testing everything in this PR up to here.
This commit is contained in:
John Ericson 2017-02-07 12:25:01 -05:00
parent 20fa6fd871
commit d34079c2d9

View File

@ -1,5 +1,8 @@
{ # The platforms for which we build Nixpkgs. /* This file defines some basic smoke tests for cross compilation.
supportedSystems ? [ builtins.currentSystem ] */
{ # The platforms *from* which we cross compile.
supportedSystems ? [ "x86_64-linux" "x86_64-darwin" ]
, # Strip most of attributes when evaluating to spare memory usage , # Strip most of attributes when evaluating to spare memory usage
scrubJobs ? true scrubJobs ? true
}: }:
@ -83,6 +86,25 @@ in
guile = nativePlatforms; guile = nativePlatforms;
}; };
darwinToAarch64 = let
crossSystem = {
config = "aarch64-apple-darwin14";
arch = "arm64";
libc = "libSystem";
};
in mapTestOnCross crossSystem {
buildPackages.binutils = darwin;
};
darwinToArm = let
crossSystem = {
config = "arm-apple-darwin10";
arch = "armv7-a";
libc = "libSystem";
};
in mapTestOnCross crossSystem {
buildPackages.binutils = darwin;
};
/* Test some cross builds to the Sheevaplug */ /* Test some cross builds to the Sheevaplug */
crossSheevaplugLinux = let crossSheevaplugLinux = let