aboutsummaryrefslogtreecommitdiff
path: root/build-aux
Commit message (Collapse)AuthorAge
* build: Move environment '.in' scripts to 'build-aux' directory.Mathieu Lirzin2016-04-15
| | | | | | | | | * 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-13
| | | | | * build-aux/hydra/evaluate.scm: New file. * Makefile.am (EXTRA_DIST): Add it.
* hydra: Really completely disable grafting.Ludovic Courtès2016-04-13
| | | | | | | | 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-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-24
| | | | | * 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-03
| | | | | | | 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-03
| | | | | * build-aux/hydra/gnu-system.scm (hydra-jobs): Parameterize '%graft?'. Build package replacements when they are available.
* hydra: Improve readability.Ludovic Courtès2016-03-03
| | | | | * 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-01
| | | | | * build-aux/compile-all.scm (compile-file*): Clear *CURRENT-WARNING-PREFIX*.
* build: Really enable Guile warnings.Ludovic Courtès2016-02-01
| | | | | | * 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-29
| | | | | | | * 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-28
| | | | | | | | | * 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-19
| | | | | | | 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-18
| | | | | | * 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-13
| | | | | * 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-14
| | | | | * 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-13
| | | | | * build-aux/hydra/demo-os.scm: Import (gnu services dbus); remove arguments to 'dbus-service'.
* Use "normalized codesets" everywhere.Ludovic Courtès2015-10-04
| | | | | | | | | | | | | | | 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.
* hydra: Remove cross-builds from armhf-linux to mips64el-linux-gnuabi64.Mark H Weaver2015-09-09
| | | | | * build-aux/hydra/gnu-system.scm (hydra-jobs)[cross-jobs]: Modify 'from-32-to-64?' to include 'armhf-linux' in the set of 32-bit systems.
* check-available-binaries: Use 'substitutable-paths'.Ludovic Courtès2015-07-21
| | | | | | | * build-aux/check-available-binaries.scm: Rewrite to use 'substitutable-paths' instead of 'substitution-oracle'. The latter does more than we need, and it no longer check the substitutability of valid items, which is not what we want. Use 'lset-difference' instead of iterating over the items.
* gnu: gcc-5.1, gcc-toolchain-5.1, libstdc++-doc-5.1: Rename to *-5.Mark H Weaver2015-07-19
| | | | | | | | | | | | | This reflects the new version numbering scheme for GCC 5 and up. See <https://gcc.gnu.org/develop.html>. * gnu/packages/gcc.scm (gcc-5.1): Rename to ... (gcc-5): ... this. (libstdc++-doc-5.1): Rename to ... (libstdc++-doc-5): ... this, and use gcc-5. * gnu/packages/commencement.scm (gcc-toolchain-5.1): Rename to ... (gcc-toolchain-5): ... this, and use gcc-5. * build-aux/hydra/gnu-system.scm (%core-packages): Use gcc-5.
* build: Generate 'AUTHORS'.Alex Kost2015-07-06
| | | | | | * build-aux/generate-authors.scm: New file. * Makefile.am (gen-AUTHORS): New target. (dist-hook, .PHONY): Add it.
* Merge branch 'master' into core-updatesMark H Weaver2015-06-18
|\
| * hydra: Fix the demo OS.Mark H Weaver2015-06-18
| | | | | | | | | | | | * build-aux/hydra/demo-os.scm: Don't try to import (gnu services dbus), which no longer exists. Use 'use-service-modules' and 'use-package-modules'. Use "en_US.UTF-8" as system locale.
| * list-packages: Move to guix-artwork repository.Mathieu Lirzin2015-06-17
| | | | | | | | | | | | | | | | In order to integrate the package list in the GuixSD website, the listing of packages has been moved into the website implementation. * build-aux/list-packages.scm: Remove file. * Makefile.am (EXTRA_DIST): Adapt to it.
* | hydra: Remove GCC 4.7 from the core set, and add 4.9 and 5.1.Ludovic Courtès2015-06-16
|/ | | | | * build-aux/hydra/gnu-system.scm (%core-packages): Remove GCC-4.7. Add GCC-4.9 and GCC-5.1.
* hydra: Support per-package absolute build timeouts.Mark H Weaver2015-05-29
| | | | | * build-aux/hydra/gnu-system.scm (package->alist): Use the 'timeout' value in the package 'properties' alist, if present.
* ui: Deduplicate 'show-what-to-build*'.David Thompson2015-05-21
| | | | | | | * guix/ui.scm (show-what-to-build*): New procedure. * guix/scripts/environment.scm (show-what-to-build*): Delete. * guix/scripts/system.scm (show-what-to-build*): Likewise. * build-aux/make-binary-tarball.scm (show-what-to-build*): Likewise.
* hydra: Increase USB image size.Ludovic Courtès2015-05-15
| | | | | * build-aux/hydra/gnu-system.scm (qemu-jobs): Increase disk image size to 860 MiB, for x86_64.
* build: check-final-inputs-self-contained uses %HYDRA-SUPPORTED-SYSTEMS.Ludovic Courtès2015-05-10
| | | | | * build-aux/check-final-inputs-self-contained.scm: Change '%supported-systems' to '%hydra-supported-systems'.
* Merge branch 'core-updates'Ludovic Courtès2015-05-02
|\
| * check-available-binaries: Use %HYDRA-SUPPORTED-SYSTEMS.Ludovic Courtès2015-05-01
| | | | | | | | | | * build-aux/check-available-binaries.scm: Use %HYDRA-SUPPORTED-SYSTEMS instead of %SUPPORTED-SYSTEMS.
| * list-packages: Add status link only for systems supported on Hydra.Ludovic Courtès2015-05-01
| | | | | | | | | | | | * build-aux/list-packages.scm (package->sxml)[status]: Intersect (package-transitive-supported-systems package) with %HYDRA-SUPPORTED-SYSTEMS.
| * packages: Add '%hydra-supported-systems'.Ludovic Courtès2015-05-01
| | | | | | | | | | * build-aux/hydra/gnu-system.scm (%hydra-supported-systems): Remove. * guix/packages.scm (%hydra-supported-systems): New variable.
* | hydra: Update Guix job set.Ludovic Courtès2015-05-02
|/ | | | | | | * build-aux/hydra/guix.scm (tarball-package): Remove 'nix-checkout' parameter. Remove 'arguments', 'native-inputs', and 'location' fields. Adjust caller accordingly. (hydra-jobs): Remove 'nix-checkout'.
* hydra: Add %hydra-supported-systems variable and use it.Mark H Weaver2015-04-22
| | | | | * build-aux/hydra/gnu-system.scm (%hydra-supported-systems): New variable. (hydra-jobs): Use %hydra-supported-systems instead of %supported-systems.
* packages: Add 'supported-package?'.Ludovic Courtès2015-04-19
| | | | | | | * guix/packages.scm (supported-package?): New procedure. * tests/packages.scm ("supported-package?"): New test. * build-aux/hydra/gnu-system.scm (package->job): Use it instead of 'package-transitive-supported-systems'.
* Merge branch 'master' into core-updatesMark H Weaver2015-04-17
|\ | | | | | | | | | | Conflicts: gnu-system.am gnu/packages/gstreamer.scm
| * build: Add missing 'make-binary-tarball.scm' script.Ludovic Courtès2015-04-14
| | | | | | | | | | | | | | This script is used by the target added in 9d3fb6c. * build-aux/make-binary-tarball.scm: New file. * Makefile.am (EXTRA_DIST): Add it.
| * hydra: Add jobs for the self-contained tarball.Ludovic Courtès2015-04-14
| | | | | | | | | | * build-aux/hydra/gnu-system.scm (tarball-jobs): New procedure. (hydra-jobs): Use it.
* | hydra: Increase size of USB image.Ludovic Courtès2015-04-16
|/ | | | | * build-aux/hydra/gnu-system.scm (qemu-jobs) <usb-image>: Increase from 800 MiB to 850 MiB.
* list-packages: Use GuixSD logo and name.Ludovic Courtès2015-03-06
| | | | | * build-aux/list-packages.scm (packages->sxml): Change to use GuixSD-V.png and use the name "Guix System Distribution".
* build: Disable grafting in sanity checks.Ludovic Courtès2015-02-24
| | | | | | * build-aux/check-available-binaries.scm: Wrap body in 'parameterize' form that clears '%graft?'. * build-aux/check-final-inputs-self-contained.scm: Likewise.
* Merge branch 'core-updates'Ludovic Courtès2015-01-16
|\ | | | | | | | | Conflicts: gnu/packages/bootstrap.scm
| * check-available-binaries: Use 'substitution-oracle'.Ludovic Courtès2015-01-14
| | | | | | | | | | * build-aux/check-available-binaries.scm: Use 'substitution-oracle'. Changer caller and 'warn' accordingly.
| * check-available-binaries: Use 'with-store'.Ludovic Courtès2015-01-14
| | | | | | | | | | * build-aux/check-available-binaries.scm: Use 'with-store' instead of an explicit 'open-connection'.
| * build: Use the canonical list of supported systems in 'assert-*'.Ludovic Courtès2015-01-14
| | | | | | | | | | | | * build-aux/check-available-binaries.scm (%supported-systems): Remove. * build-aux/check-final-inputs-self-contained.scm (%supported-systems): Remove.
| * gnu: Add bootstrap binaries for 'armhf-linux'.Mark H Weaver2015-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/bootstrap/armhf-linux/bash, gnu/packages/bootstrap/armhf-linux/mkdir, gnu/packages/bootstrap/armhf-linux/tar, gnu/packages/bootstrap/armhf-linux/xz: New files. * gnu-system.am (bootstrap_armhf_linuxdir, dist_bootstrap_armhf_linux_DATA) (nodist_bootstrap_armhf_linux_DATA): New variables. (DISTCLEANFILES): Add $(nodist_bootstrap_armhf_linux_DATA). (gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz): New target. * build-aux/download.scm (file-name->uri): Use newer date in URI for armhf-linux. * gnu/packages/bootstrap.scm (raw-build): Use "guile-2.0.11.tar.xz" on armhf-linux. (glibc-dynamic-linker, %bootstrap-coreutils&co, %bootstrap-binutils) (%bootstrap-glibc, %bootstrap-gcc): Add armhf-linux cases. * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add armhf case. (GUIX_ASSERT_SUPPORTED_SYSTEM): Add armhf-linux to list of supported systems. * doc/guix.texi (GNU Distribution): Add armhf-linux to the list of supported systems.
* | monads: Move '%store-monad' and related procedures where they belong.Ludovic Courtès2015-01-14
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This turns (guix monads) into a generic module for monads, and moves the store monad and related monadic procedures in their corresponding module. * guix/monads.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file, package-file, package->derivation, package->cross-derivation, origin->derivation, imported-modules, compiled, modules, built-derivations, run-with-store): Move to... * guix/store.scm (store-return, store-bind, %store-monad, store-lift, text-file, interned-file): ... here. (%guile-for-build): New variable. (run-with-store): Moved from monads.scm. Remove default value for #:guile-for-build. * guix/packages.scm (default-guile): Export. (set-guile-for-build): New procedure. (package-file, package->derivation, package->cross-derivation, origin->derivation): Moved from monads.scm. * guix/derivations.scm (%guile-for-build): Remove. (imported-modules): Rename to... (%imported-modules): ... this. (compiled-modules): Rename to... (%compiled-modules): ... this. (built-derivations, imported-modules, compiled-modules): New procedures. * gnu/services/avahi.scm, gnu/services/base.scm, gnu/services/dbus.scm, gnu/services/dmd.scm, gnu/services/networking.scm, gnu/services/ssh.scm, gnu/services/xorg.scm, gnu/system/install.scm, gnu/system/linux-initrd.scm, gnu/system/shadow.scm, guix/download.scm, guix/gexp.scm, guix/git-download.scm, guix/profiles.scm, guix/svn-download.scm, tests/monads.scm: Adjust imports accordingly. * guix/monad-repl.scm (default-guile-derivation): New procedure. (store-monad-language, run-in-store): Use it. * build-aux/hydra/gnu-system.scm (qemu-jobs): Add explicit 'set-guile-for-build' call. * guix/scripts/archive.scm (derivation-from-expression): Likewise. * guix/scripts/build.scm (options/resolve-packages): Likewise. * guix/scripts/environment.scm (guix-environment): Likewise. * guix/scripts/system.scm (guix-system): Likewise. * doc/guix.texi (The Store Monad): Adjust module names accordingly.
* list-packages: Expand 'mirror://' URIs for patches.Ludovic Courtès2014-12-29
| | | | | * build-aux/list-packages.scm (package->sxml)[patches](patch-url): Use 'maybe-expand-mirrors' to get the real URL.