aboutsummaryrefslogtreecommitdiff
path: root/build-aux
Commit message (Collapse)AuthorAge
...
* build: Use Gnulib's 'git-version-gen'.Ludovic Courtès2017-05-04
| | | | | | | | | * Makefile.am (EXTRA_DIST, BUILT_SOURCES): Add $(top_srcdir)/.version. ($(top_srcdir)/.version, gen-tarball-version): New targets. (dist-hook): Depend on 'gen-tarball-version'. (.PHONY): Add 'gen-tarball-version'. * build-aux/git-version-gen: New file, from Gnulib v0.1-1312-ga87d5e5c6. * configure.ac: Use it in 'AC_INIT'. Use 'https' for the URL.
* ui: Rename '_' to 'G_'.Ludovic Courtès2017-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids collisions with '_' when the latter is used as a 'match' pattern for instance. See <https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00464.html>. * guix/ui.scm: Rename '_' to 'G_'. * po/guix/Makevars (XGETTEXT_OPTIONS): Adjust accordingly. * build-aux/compile-all.scm (warnings): Remove 'format'. * gnu/packages.scm, gnu/services.scm, gnu/services/shepherd.scm, gnu/system.scm, gnu/system/shadow.scm, guix/gnupg.scm, guix/http-client.scm, guix/import/cpan.scm, guix/import/elpa.scm, guix/import/pypi.scm, guix/nar.scm, guix/scripts.scm, guix/scripts/archive.scm, guix/scripts/authenticate.scm, guix/scripts/build.scm, guix/scripts/challenge.scm, guix/scripts/container.scm, guix/scripts/container/exec.scm, guix/scripts/copy.scm, guix/scripts/download.scm, guix/scripts/edit.scm, guix/scripts/environment.scm, guix/scripts/gc.scm, guix/scripts/graph.scm, guix/scripts/hash.scm, guix/scripts/import.scm, guix/scripts/import/cpan.scm, guix/scripts/import/cran.scm, guix/scripts/import/crate.scm, guix/scripts/import/elpa.scm, guix/scripts/import/gem.scm, guix/scripts/import/gnu.scm, guix/scripts/import/hackage.scm, guix/scripts/import/nix.scm, guix/scripts/import/pypi.scm, guix/scripts/import/stackage.scm, guix/scripts/lint.scm, guix/scripts/offload.scm, guix/scripts/pack.scm, guix/scripts/package.scm, guix/scripts/perform-download.scm, guix/scripts/publish.scm, guix/scripts/pull.scm, guix/scripts/refresh.scm, guix/scripts/size.scm, guix/scripts/substitute.scm, guix/scripts/system.scm, guix/ssh.scm, guix/upstream.scm: Use 'G_' instead of '_'. Most of this change was obtained by running: "sed -i -e's/(_ "/(G_ "/g' `find -name \*.scm`".
* build: Download aarch64 bootstrap binaries from alpha.gnu.org.Ludovic Courtès2017-04-14
| | | | | * build-aux/download.scm (file-name->uri): Remove flashner.co.il URL. * gnu/packages/package-management.scm (boot-guile-uri): Likewise.
* hydra: Don't build deprecated packages.Ludovic Courtès2017-03-30
| | | | | * build-aux/hydra/gnu-system.scm (hydra-jobs): When iterating over the packages, exclude those that match 'package-superseded'.
* Merge branch 'master' into core-updatesMarius Bakke2017-03-30
|\ | | | | | | Most conflicts are from 6fd52309b8f52c9bb59fccffac53e029ce94b698.
| * hydra: Include the localstatedir in the binary tarball.Ludovic Courtès2017-03-30
| | | | | | | | | | | | | | This is a followup to 6b63c43e0661406bf9e8c4c54f517744fc2ffdb3. * build-aux/hydra/gnu-system.scm (tarball-jobs): Pass #:localstatedir? #t to 'self-contained-tarball'.
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2017-03-23
|\|
| * build: 'test-driver.scm' prints Scheme values with 'write'.Ludovic Courtès2017-03-22
| | | | | | | | | | | | | | | | Previously it would print them with 'display', which was inconvenient. * build-aux/test-driver.scm (test-display): Use ~S for VALUE. (test-runner-gnu): Use 'format' instead of 'test-display' for the test name, location, and result kind.
* | Merge branch 'master' into core-updatesMark H Weaver2017-03-19
|\|
| * build: Require Guile >= 2.0.9.Ludovic Courtès2017-03-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Bump requirement to 2.0.9. * doc/guix.texi (Requirements): Adjust accordingly. * README (Requirements): Likewise. * build-aux/download.scm: Remove workaround for <http://bugs.gnu.org/13095>. * guix/build/download.scm: Likewise. (http-fetch)[post-2.0.7?]: Remove. Remove conditional code for not POST-2.0.7?. * guix/http-client.scm: Remove workaround for <http://bugs.gnu.org/13095>. (http-fetch)[post-2.0.7?]: Remove. Remove conditional code for not POST-2.0.7?. * guix/serialization.scm (read-latin1-string): Remove mention of 2.0.9. * tests/nar.scm: Use (ice-9 control). (let/ec): Remove.
| * utils: Move base16 procedures to (guix base16).Ludovic Courtès2017-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/utils.scm (bytevector->base16-string, base16-string->bytevector): Move to... * guix/base16.scm: ... here. New file. * tests/utils.scm ("bytevector->base16-string->bytevector"): Move to... * tests/base16.scm: ... here. New file. * Makefile.am (MODULES): Add guix/base16.scm. (SCM_TESTS): Add tests/base16.scm. * build-aux/download.scm, guix/derivations.scm, guix/docker.scm, guix/import/snix.scm, guix/pk-crypto.scm, guix/scripts/authenticate.scm, guix/scripts/download.scm, guix/scripts/hash.scm, guix/store.scm, tests/hash.scm, tests/pk-crypto.scm: Adjust imports accordingly.
* | Merge branch 'master' into core-updatesMarius Bakke2017-03-15
|\|
| * build: On 2.2, build package files with almost no optimizations.Ludovic Courtès2017-03-14
| | | | | | | | | | | | | | * build-aux/compile-all.scm (%default-optimizations) (%lightweight-optimizations): New variables. (optimization-options): New procedure. (compile-file*): Use it.
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2017-03-13
|\|
| * Add 'guix pack'.Ludovic Courtès2017-03-12
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/system/install.scm (self-contained-tarball): Move to... * guix/scripts/pack.scm: ... here. New file. * doc/guix.texi (Binary Installation): Mention 'guix pack'. (Invoking guix pack): New node. * build-aux/make-binary-tarball.scm: Remove. * Makefile.am (MODULES): Add guix/scripts/pack.scm. (EXTRA_DIST): Remove build-aux/make-binary-tarball.scm. (guix-binary.%.tar.xz): Rewrite using 'guix pack'. * build-aux/hydra/gnu-system.scm (tarball-jobs): Adjust accordingly.
* | Merge branch 'master' into core-updatesLudovic Courtès2017-03-09
|\|
| * hydra: Really disable 32-to-64-bit cross-builds.Ludovic Courtès2017-03-09
| | | | | | | | | | | | | | | | | | | | Fixes <http://bugs.gnu.org/26022>. Reported by Efraim Flashner <efraim@flashner.co.il>. * build-aux/hydra/gnu-system.scm (hydra-jobs)[cross-jobs](from-32-to-64?): Check whether TARGET contains "64" rather than checking whether TARGET ends in "64", which is rarely the case. (same?): Add special case for armhf-linux.
| * build: Unset 'NIX_BUILD_HOOK' when offloading support is missing.Ludovic Courtès2017-03-08
| | | | | | | | | | * build-aux/pre-inst-env.in: Export 'NIX_BUILD_HOOK' only when nix/scripts/offload is executable; unset it otherwise.
| * hydra: Add "aarch64-linux-gnu" as a cross-compilation target.Efraim Flashner2017-02-14
| | | | | | | | | | * build-aux/hydra/gnu-system.scm (%cross-targets): Add "aarch64-linux-gnu".
* | gnu: Add bootstrap-binaries for 'aarch64-linux'.Efraim Flashner2017-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-17
| | | | | | | | | | * 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-20
| | | | | | | | * build-aux/hydra/gnu-system.scm (%cross-targets): Add "i586-pc-gnu".
* | Merge branch 'master' into core-updatesLeo Famulari2017-01-06
|\|
| * hydra: Remove 'qemu-image' job.Ludovic Courtès2016-12-31
| | | | | | | | | | | | | | | | | | 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-18
| | | | | | | | | | | | | | | | 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-08
| | | | | | | | | | | | | | | | 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-08
| | | | | | | | | | | | | | 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-08
| | | | | | | | | | * 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-07
| | | | | | | | | | | | * 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-27
| | | | | | | | | | | | | | | | 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-05
|/ | | | | * build-aux/hydra/gnu-system.scm (%cross-targets): Add "powerpc-linux-gnu".
* pull: Add guile-ssh to the dependencies.宋文武2016-11-26
| | | | | | | 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-03
| | | | | * 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-27
| | | | | * 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-20
| | | | | * 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-12
| | | | * build-aux/compile-all.scm: Install SIGINT handler.
* build: Improve Guile 2.2 compatibility.Taylan Ulrich Bayırlı/Kammer2016-09-29
| | | | | | * 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-20
| | | | | | | | | | | | 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-20
| | | | | | | | | | | | | * 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-26
| | | | | | | | | | | | | | 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-21
| | | | | | * 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-21
| | | | | * 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-21
| | | | | * 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-20
| | | | | | | | * 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-20
| | | | | * 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-20
| | | | | | | | | | * 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-20
| | | | | | | * 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-04
| | | | | | | | 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-04
| | | | | | | | | | 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-27
| | | | * build-aux/check-available-binaries.scm: Display %HYDRA-SUPPORTED-SYSTEMS.