build: Check the availability of i686-linux binaries.
authorLudovic Courtès <ludo@gnu.org>
Wed, 17 Jul 2013 09:07:28 +0000 (11:07 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 17 Jul 2013 09:07:28 +0000 (11:07 +0200)
* build-aux/check-available-binaries.scm (%supported-systems): New
  variable.
  (native): Map over these.

build-aux/check-available-binaries.scm

index 5599e5e..8fd64fe 100644 (file)
              (srfi srfi-1)
              (srfi srfi-26))
 
+(define %supported-systems
+  '("x86_64-linux" "i686-linux"))
+
 (let* ((store  (open-connection))
-       (native (map (cut package-derivation store <>)
-                    (list %bootstrap-tarballs emacs)))
+       (native (append-map (lambda (system)
+                             (map (cut package-derivation store <> system)
+                                  (list %bootstrap-tarballs emacs)))
+                           %supported-systems))
        (cross  (map (cut package-cross-derivation store
                          %bootstrap-tarballs <>)
                     '("mips64el-linux-gnuabi64")))