summaryrefslogtreecommitdiff
path: root/build-aux
Commit message (Collapse)AuthorAgeFilesLines
...
| * hydra: Add "aarch64-linux-gnu" as a cross-compilation target.Efraim Flashner2017-02-141-0/+1
| | | | | | | | | | * build-aux/hydra/gnu-system.scm (%cross-targets): Add "aarch64-linux-gnu".
* | gnu: Add bootstrap-binaries for 'aarch64-linux'.Efraim Flashner2017-02-201-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These bootstrap-binaries were built against commit 8f8f250bdca917b3ce38aa0902f01b19081859a4. * gnu/packages/bootstrap/aarch64-linux/bash, gnu/packages/bootstrap/aarch64-linux/mkdir, gnu/packages/bootstrap/aarch64-linux/xz, gnu/packages/bootstrap/aarch64-linux/tar: New files. * gnu/local.mk (bootstrap_aarch64_linuxdir) (dist_bootstrap_aarch64_linux_DATA) (nodist_bootstrap_aarch64_linux_DATA): New variables. (DISTCLEANFILES): Add $(nodist_bootstrap_aarch64_linux_DATA). (gnu/packages/bootstrap/aarch64-linux/guile-2.0.14.tar.xz): New target. * build-aux/download.scm (filename->uri): Add aarch64-linux entry. * gnu/packages/bootstrap.scm (raw-build): Use guile-2.0.14.tar.xz on aarch64-linux. (glibc-dynamic-linker, %bootstrap-coreutils&co, %boostrap-binutils) (%bootstrap-glibc, %bootstrap-gcc): Add aarch64-linux cases. * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add aarch64 case. (GUIX_ASSERT_SUPPORTED_SYSTEM): Add aarch64-linux to supported list. * doc/guix.texi (GNU Distribution): Add aarch64-linux to the list of supported systems. * tests/packages.scm (package-search-derivation, snippet): Add aarch64 case.
* | hydra: Add "aarch64-linux-gnu" as a cross-compilation target.Efraim Flashner2017-02-171-0/+1
| | | | | | | | | | * build-aux/hydra/gnu-system.scm (%cross-targets): Add "aarch64-linux-gnu".
* | hydra: Add "i586-pc-gnu" as a cross-compilation target.Ludovic Courtès2017-01-201-2/+3
| | | | | | | | * build-aux/hydra/gnu-system.scm (%cross-targets): Add "i586-pc-gnu".
* | Merge branch 'master' into core-updatesLeo Famulari2017-01-064-105/+26
|\|
| * hydra: Remove 'qemu-image' job.Ludovic Courtès2016-12-312-98/+1
| | | | | | | | | | | | | | | | | | As per the discussion at <https://lists.gnu.org/archive/html/guix-devel/2016-12/msg01098.html>. * build-aux/hydra/gnu-system.scm (demo-os): Remove. (qemu-jobs): Remove 'qemu-image' job. * build-aux/hydra/demo-os.scm: Remove.
| * build: check-final-inputs-self-contained has an exception for 'bash:include'.Ludovic Courtès2016-12-181-1/+6
| | | | | | | | | | | | | | | | Currently 'bash:include' of the final Bash depends on bootstrap stuff. * build-aux/check-final-inputs-self-contained.scm (final-inputs): Add clause for 'bash:include'. * gnu/packages/commencement.scm (bash-final): Add FIXME comment.
| * hydra: Fix wrong-num-args error when computing the cross jobs.Ludovic Courtès2016-12-081-2/+2
| | | | | | | | | | | | | | | | Fixes a regression introduced in dea91108cf6b9bb46071c8f65c9abf834c5b064d. * build-aux/hydra/gnu-system.scm (hydra-jobs)[cross-jobs](either): Add third parameter and honor it.
| * hydra: Adjust to make-bootstrap.scm change.Ludovic Courtès2016-12-081-1/+1
| | | | | | | | | | | | | | This is a followup to commit f13f60cb2620433280ccb2132376b7c6d3dbc06f. * build-aux/hydra/gnu-system.scm (%core-packages): Call '%glibc-bootstrap-tarball' since it's now a thunk, not a package.
| * hydra: Use '%final-inputs' from base.scm, not commencement.scm.Ludovic Courtès2016-12-081-2/+1
| | | | | | | | | | * build-aux/hydra/gnu-system.scm (package->job): Use the '%final-inputs' procedure from (gnu packages base).
| * hydra: Add "i686-w64-mingw32" as a cross-compilation target.Ludovic Courtès2016-12-071-2/+9
| | | | | | | | | | | | * build-aux/hydra/gnu-system.scm (%cross-targets): Add "i686-w64-mingw32". (hydra-jobs)[cross-jobs?](pointless?): New procedure. Use it.
| * pull: Hack to allow compilation with older Guile-SSH packages.Ludovic Courtès2016-11-271-0/+7
| | | | | | | | | | | | | | | | Reported by iyzsong@member.fsf.org (宋文武) at <https://lists.gnu.org/archive/html/guix-devel/2016-11/msg01045.html>. * build-aux/build-self.scm (build): Set 'LTDL_LIBRARY_PATH' when GUILE-SSH has a "0.9." version prefix.
* | hydra: Add "powerpc-linux-gnu" as a cross-compilation target.Ludovic Courtès2017-01-051-2/+3
|/ | | | | * build-aux/hydra/gnu-system.scm (%cross-targets): Add "powerpc-linux-gnu".
* pull: Add guile-ssh to the dependencies.宋文武2016-11-261-2/+10
| | | | | | | Fix regression introduced in 9e76eed. * build-aux/build-self.scm (guile-ssh): New variable. (build)[builder]: Add 'guile-ssh' to %load-path and %load-compiled-path.
* tests: 'make check-system' prints the "build trace".Ludovic Courtès2016-11-031-0/+1
| | | | | * build-aux/run-system-tests.scm (run-system-tests): Pass #:print-build-trace to 'set-build-options*'.
* tests: Use #:fallback? #t when building system tests.Ludovic Courtès2016-10-271-1/+2
| | | | | * build-aux/run-system-tests.scm (run-system-tests): Pass #:fallback? #t to 'set-build-options*'.
* hydra: Add "arm-linux-gnueabihf" as a cross-compilation target.Ludovic Courtès2016-10-201-1/+2
| | | | | * build-aux/hydra/gnu-system.scm (%cross-targets): Add "arm-linux-gnueabihf".
* build: Arrange so temporary .go files are deleted upon SIGINT.Ludovic Courtès2016-10-121-0/+6
| | | | * build-aux/compile-all.scm: Install SIGINT handler.
* build: Improve Guile 2.2 compatibility.Taylan Ulrich Bayırlı/Kammer2016-09-291-0/+3
| | | | | | * build-aux/compile-all.scm (compile-file*): Ensure loading of compilation related modules before going parallel. * guix/build/pull.scm (build-guix): Ditto.
* pull: Update the version string.Ludovic Courtès2016-07-201-2/+11
| | | | | | | | | | | | Fixes <http://bugs.gnu.org/19278>. Reported by Tomáš Čech <tcech@suse.cz>. This allows 'guix --version' to return something that better represents what version is being used. * build-aux/build-self.scm (date-version-string): New procedure. (build): Add #:version. [builder]: Pass it to 'build-guix' as #:package-version.
* pull: Install (guix config) module to override the user's one.Ludovic Courtès2016-07-201-3/+45
| | | | | | | | | | | | | * build-aux/build-self.scm (zlib, gzip, bzip2, xz): New variables. (build)[storedir, localstatedir, sysconfdir, sbindir]: New variables. [builder]: Pass them to 'build-guix'. * guix/build/pull.scm (build-guix): Add #:system, #:storedir, #:localstatedir, #:sysconfdir, #:sbindir, #:package-name, #:package-version, #:bug-report-address, #:home-page-url, #:libgcrypt, #:zlib, #:gzip, #:bzip2, and #:xz. Remove #:gcrypt. Instantiate all the substitution variables in (guix config). Remove code to delete OUT/guix/config.{scm,go}. * guix/config.scm.in: Add note about (guix script pull).
* daemon: Rename 'NIX_CONF_DIR' to 'GUIX_CONFIGURATION_DIRECTORY'.David Craven2016-06-261-6/+6
| | | | | | | | | | | | | | Partly fixes <http://bugs.gnu.org/22459>. Reported by Jeff Mickey <j@codemac.net> and David Craven <david@craven.ch>. * nix/libstore/globals.cc (Settings::processEnvironment()): Change 'NIX_CONF_DIR' to 'GUIX_CONFIGURATION_DIRECTORY'. * nix/local.mk (libstore_a_CPPFLAGS): Likewise. * guix/config.scm.in (%config-directory): Likewise. * build-aux/test-env.in: Likewise. * gnu/packages/patches/hydra-automake-1.15.patch: Likewise. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* hydra: Fix the construction of system test jobs.Ludovic Courtès2016-06-211-7/+19
| | | | | | * build-aux/hydra/gnu-system.scm (system-test-jobs)[test->thunk]: New procedure. [->job]: Use it.
* hydra: 'evaluate' now validates job alists.Ludovic Courtès2016-06-211-1/+14
| | | | | * build-aux/hydra/evaluate.scm (assert-valid-job): New procedure. <top level>: Use it.
* hydra: Set the guile-for-build for the test jobs.Ludovic Courtès2016-06-211-0/+1
| | | | | * build-aux/hydra/gnu-system.scm (system-test-jobs): Call 'set-guile-for-build'.
* hydra: Add jobs for the system tests.Ludovic Courtès2016-06-201-1/+23
| | | | | | | | * build-aux/hydra/gnu-system.scm (%guixsd-supported-systems): New variable. (qemu-jobs): Use it. (system-test-jobs): New procedure. (hydra-jobs): Use it.
* build: 'make check-system' now honors $TESTS.Ludovic Courtès2016-06-201-1/+12
| | | | | * build-aux/run-system-tests.scm (run-system-tests)[tests]: Honor the 'TESTS' environment variable.
* tests: Add a mechanism to describe and discover system tests.Ludovic Courtès2016-06-201-7/+8
| | | | | | | | | | * gnu/tests.scm (<system-test>): New record type. (write-system-test, test-modules, fold-system-tests) (all-system-tests): New procedures. * gnu/tests/base.scm (%test-basic-os): Turn into a <system-test>. * gnu/tests/install.scm (%test-installed-os): Likewise. * build-aux/run-system-tests.scm (%system-tests): Remove. (run-system-tests): Use 'all-system-tests'.
* tests: Add system installation test.Ludovic Courtès2016-06-201-1/+3
| | | | | | | * gnu/tests.scm (define-os-with-source): New macro. * gnu/tests/install.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * build-aux/run-system-tests.scm (%system-tests): Likewise.
* build: Add 'run-system-tests.scm'.Ludovic Courtès2016-05-041-0/+71
| | | | | | | | This file was meant to be added as part of commit e9f693d06f94bd96488c3910dba6504f94a6b6f9. * build-aux/run-system-tests.scm: New file. * Makefile.am (EXTRA_DIST): Add it.
* build: Preserve stderr for shell tests.Ludovic Courtès2016-05-041-4/+10
| | | | | | | | | | Fixes a regression introduced in a9edb211e733b8b34e67ec3b4450567e9376986f where the .log files of the .sh tests would not contain stderr. * build-aux/test-env.in: Redirect stderr only when --quiet-stderr is passed. * Makefile.am (SCM_LOG_DRIVER): Add --quiet-stderr.
* build: 'make assert-binaries-available' shows the list of systems.Ludovic Courtès2016-04-271-2/+3
| | | | * build-aux/check-available-binaries.scm: Display %HYDRA-SUPPORTED-SYSTEMS.
* build: Move environment '.in' scripts to 'build-aux' directory.Mathieu Lirzin2016-04-152-0/+202
| | | | | | | | | * pre-inst-env.in: Move to ... * build-aux/pre-inst-env.in: ... here. * test-env.in: Move to ... * build-aux/test-env.in: ... here. * configure.ac (AC_CONFIG_FILES): Adapt to this. Keep the generated scripts in their current location which is $(top_builddir).
* hydra: Add 'hydra-jobs.scm' target to compute the Hydra jobs.Ludovic Courtès2016-04-131-0/+98
| | | | | * build-aux/hydra/evaluate.scm: New file. * Makefile.am (EXTRA_DIST): Add it.
* hydra: Really completely disable grafting.Ludovic Courtès2016-04-131-15/+20
| | | | | | | | This is a followup to 49c4fd2a. * build-aux/hydra/gnu-system.scm (package->alist): Parameterize %graft?. (qemu-jobs)[->job]: Likewise. (tarball-jobs)[->job]: Likewise.
* build: Add a Guile custom test driver using SRFI-64.Mathieu Lirzin2016-04-031-0/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before that '.log' files for scheme tests were fragmented and not included in test-suite.log. This unifies the semantics of SRFI-64 API with Automake test suite. * build-aux/test-driver.scm: New file. * Makefile.am (SCM_LOG_DRIVER, AM_SCM_LOG_DRIVER_FLAGS): New variables. (SCM_LOG_COMPILER, AM_SCM_LOG_FLAGS): Delete variables. (AM_TESTS_ENVIRONMENT): Set GUILE_AUTO_COMPILE to 0. * test-env.in: Silence guix-daemon. * doc/guix.texi (Running the Test Suite): Describe how to display the detailed results. Bug reports require only 'test-suite.log' file. * tests/base32.scm, tests/build-utils.scm, tests/builders.scm, tests/challenge.scm, tests/cpan.scm, tests/cpio.scm, tests/cran.scm, tests/cve.scm, tests/derivations.scm, tests/elpa.scm, tests/file-systems.scm, tests/gem.scm, tests/gexp.scm, tests/gnu-maintenance.scm, tests/grafts.scm, tests/graph.scm, tests/gremlin.scm, tests/hackage.scm, tests/hash.scm, tests/import-utils.scm, tests/lint.scm, tests/monads.scm, tests/nar.scm, tests/packages.scm, tests/pk-crypto.scm, tests/pki.scm, tests/profiles.scm, tests/publish.scm, tests/pypi.scm, tests/records.scm, tests/scripts-build.scm, tests/scripts.scm, tests/services.scm, tests/sets.scm, tests/size.scm, tests/snix.scm, tests/store.scm, tests/substitute.scm, tests/syscalls.scm, tests/system.scm, tests/ui.scm, tests/union.scm, tests/upstream.scm, tests/utils.scm: Don't exit at the end of test groups. * tests/containers.scm: Likewise. Use 'test-skip' instead of exiting with error code 77.
* doc: We now need 1 GiB for the installation USB image.Ludovic Courtès2016-03-241-1/+1
| | | | | * doc/guix.texi (Building the Installation Image): Change image size to 1G. * build-aux/hydra/gnu-system.scm (qemu-jobs): Likewise.
* build: Use (guix grafts) as needed.Ludovic Courtès2016-03-032-2/+4
| | | | | | | This is a followup to 7adf9b8. * build-aux/check-final-inputs-self-contained.scm: Use (guix grafts). * build-aux/check-available-binaries.scm: Likewise.
* hydra: Completely disable grafting.Ludovic Courtès2016-03-031-23/+33
| | | | | * build-aux/hydra/gnu-system.scm (hydra-jobs): Parameterize '%graft?'. Build package replacements when they are available.
* hydra: Improve readability.Ludovic Courtès2016-03-031-9/+8
| | | | | * build-aux/hydra/gnu-system.scm (hydra-jobs): Use 'filter-map' instead of directly 'fold-packages'.
* build: Remove semicolons from Guile warnings.Ludovic Courtès2016-02-011-5/+12
| | | | | * build-aux/compile-all.scm (compile-file*): Clear *CURRENT-WARNING-PREFIX*.
* build: Really enable Guile warnings.Ludovic Courtès2016-02-011-2/+3
| | | | | | * build-aux/compile-all.scm (compile-options): Rename to... (warnings): ... this. Add 'unsupported-warning'. (compile-file*): Pass '(#:warnings ...) as #:opts.
* Rename 'dmd' to 'shepherd' in comments and strings.Alex Kost2016-01-291-1/+1
| | | | | | | * build-aux/hydra/demo-os.scm (operating-system)[issue]: Point to shepherd instead of dmd. * ROADMAP: Likewise. * gnu/build/install.scm (directives): Adjust comment.
* build: Add 'DL' silent rule.Mathieu Lirzin2016-01-281-1/+1
| | | | | | | | | * Makefile.am (AM_V_DL, AM_V_DL_, AM_V_DL_0): New variables. * gnu-system.am (gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz) (gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz) (gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz) (gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz): Use $(AM_V_DL). * build-aux/download.scm: Print a line break between target and origin.
* hydra: Honor the 'max-silent-time' package property.Ludovic Courtès2016-01-191-1/+4
| | | | | | | Suggested by Mark H Weaver <mhw@netris.org>. * build-aux/hydra/gnu-system.scm (package->alist): Add 'max-silent-time' pair.
* build: Speed up .go compilation.Taylan Ulrich Bayırlı/Kammer2016-01-181-0/+82
| | | | | | * build-aux/compile-all.scm: New file. * Makefile.am (EXTRA_DIST): Add it. (%.go, make-go): New rules.
* hydra: Add missing phase and inputs for 'make dist' job.Ludovic Courtès2016-01-131-7/+21
| | | | | * build-aux/hydra/guix.scm (tarball-package): Inherit from 'guix-devel' rather than 'guix'. Pass #:phases to 'dist-package'.
* hydra: Add Graphviz and help2man as inputs to the Guix job set.Ludovic Courtès2015-10-141-1/+7
| | | | | * build-aux/hydra/guix.scm (tarball-package): Add GRAPHVIZ and HELP2MAN to 'native-inputs' of GUIX.
* hydra: Update demo OS to new service interface.Ludovic Courtès2015-10-131-2/+2
| | | | | * build-aux/hydra/demo-os.scm: Import (gnu services dbus); remove arguments to 'dbus-service'.
* Use "normalized codesets" everywhere.Ludovic Courtès2015-10-041-2/+2
| | | | | | | | | | | | | | | In other words, change "xx_YY.UTF-8" to "xx_YY.utf8". * guix/profiles.scm (ca-certificate-bundle): Use "en_US.utf8" instead of "en_US.UTF-8". * guix/packages.scm (patch-and-repack): Likewise. * guix/build/gnu-build-system.scm (install-locale): Likewise. * guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Likewise. * gnu/packages/python.scm (python-ipython): Likewise. * gnu/packages/gawk.scm (gawk): Likewise. * build-aux/hydra/demo-os.scm: Likewise. * gnu/packages/guile.scm (guile-ncurses)[arguments]: Remove 'change-locale' phase.