summaryrefslogtreecommitdiff
path: root/build-aux
Commit message (Collapse)AuthorAge
* base: Write to 'evaluate' output to /var/log/cuirass.Ludovic Courtès2019-10-23
| | | | | | | | | | | This fixes a longstanding issue where evalution output would splatter over the /var/log/cuirass.log and be inscrutable. * src/cuirass/base.scm (%cuirass-state-directory): New variable. (evaluation-log-file): New procedure. (evaluate)[log-file, log-pipe]: New variables. Call 'spawn-fiber' with a logging fiber. Wrap 'open-pipe*' call into 'with-error-to-port'. Close 'log-pipe'.
* build-aux: Add guile-fibers.Danny Milosavljevic2018-01-29
| | | | * build-aux/guix.scm (inputs): Add guile-fibers.
* build: Update 'test-driver.scm' from Guix.Ludovic Courtès2018-01-07
| | | | | * build-aux/test-driver.scm: Update from current Guix. * Makefile.am (SCM_LOG_DRIVER): Add -L and -e flags.
* base: Report git errors.Mathieu Othacehe2017-07-31
| | | | | | | | | * src/cuirass/base.scm (report-git-error): New procedure. (with-git-error-handling): New macro. (process-specs): Use with-git-error-handling to catch and report git errors. * build-aux/guix.scm (package)[inputs]: Add guile-git. * configure.ac: Check for (git) module. Also check that (git) exports git-error-message procedure.
* build-aux: Update to Guile 2.2.Mathieu Othacehe2017-07-12
| | | | build-aux/guix.scm (package): Update to Guile 2.2.
* cuirass: Stop λ/lambda mixing.Mathieu Othacehe2017-07-06
| | | | | | | | | | | | | * bin/cuirass.in: Replace λ by lambda. * bin/evaluate.in: Ditto. * build-aux/guix.scm: Ditto. * examples/gnu-system.scm: Ditto. * examples/guix-track-git.scm: Ditto. * src/cuirass.scm: Ditto. * src/cuirass/base.scm: Ditto. * src/cuirass/database.scm: Ditto. * src/cuirass/ui.scm: Ditto. * src/cuirass/utils.scm: Remove λ* macro.
* repo: Remove dead code.Mathieu Othacehe2017-07-06
| | | | | | | | * Makefile.am (dist_pkgmodule_DATA): Remove repo.scm, (TESTS): Remove repo.scm. * build-aux/guix.scm (package)[disable-repo-tests]: Remove phase. * src/cuirass/repo.scm: Remove. * tests/repo.scm: Remove.
* build: Add '%aux-dir' variable.Mathieu Lirzin2017-01-24
| | | | * build-aux/guix.scm (%aux-dir): New variable. Use it.
* build: Define 'spec+package-list' in "build-aux/guix.scm".Mathieu Lirzin2017-01-23
| | | | * build-aux/guix.scm (spec+package-list): New procedure. Use it.
* build: Don't generate ".version" since it has no use.Mathieu Lirzin2017-01-23
| | | | | | | | | * Makefile.am (.version): Remove target. (EXTRA_DIST): Adapt. (BUILT_SOURCES): Likewise. * build-aux/guix.scm (git-version-gen): Call 'git-version-gen' with '.tarball-version'. * .gitignore: Update.
* build: Add "build-aux/guix.scm".Mathieu Lirzin2016-12-28
| | | | | | | | * guix.scm: Delete. * build-aux/guix-env: Likewise. * build-aux/guix.scm: New file. * configure.ac (AC_REQUIRE_AUX_FILE): Distribute it. * README <Build Instructions>: Document it.
* ci: Remove custom Guix package defintion.Mathieu Lirzin2016-12-28
| | | | | | * guix/ci.scm: Delete file. Guix already provides a package definition for Cuirass. * build-aux/pre-inst-env.in (GUIX_PACKAGE_PATH): Remove.
* maint: Generate version number.Mathieu Lirzin2016-12-28
| | | | | | | | | | * build-aux/git-version-gen: New script. * configure.ac (AC_INIT): Use it. (AC_REQUIRE_AUX_FILE): Distribute it. * Makefile.am (.version): New target. (BUILT_SOURCES, EXTRA_DIST): Add it. (dist-hook): Generate ".tarball-version". * .gitignore: Update.
* build: Set Guile load paths in 'pre-inst-env'.Mathieu Lirzin2016-12-28
| | | | | | | | | | | | | | | | This reverts most of 4f0d665746e0c6efe43c0f281e0eaac5012c79da. The load paths are still hard coded after installation, however 'pre-inst-env' wrapper is used for defining them in the local build environment. This is more convenient for running the tests manually or launching a Guile REPL with all the Cuirass modules accessible. * build-aux/pre-inst-env.in (GUILE_LOAD_PATH, GUILE_LOAD_COMPILED_PATH): New variables. * bin/cuirass.in: Comment Guile load paths. * Makefile.am (local_load_path, local_load_compiled_path): Delete. (AM_TESTS_ENVIRONMENT): Don't set Guile load paths. (do_subst): Use install directories for Guile load paths. (install-exec-hook): Uncomment 'cuirass' hard coded load paths.
* cuirass: Hard code Guile load paths.Mathieu Lirzin2016-11-12
| | | | | | | | | | | | | * configure.ac (bin/cuirass, bin/evaluate): Let 'make' generate them. * bin/cuirass.in: Hard code load paths to find Cuirass modules. * Makefile.am (do_subst): Update substitution. (bin/cuirass, bin/evaluate): New rules. (EXTRA_DIST): Distribute 'bin/cuirass.in' and 'bin/evaluate.in'. (MOSTLYCLEANFILES): Add '$(bin_SCRIPTS)'. (install-exec-hook): New target. (local_load_path, local_load_compiled_path): New variables. (AM_TESTS_ENVIRONMENT): Set Guile load paths. * build-aux/pre-inst-env.in: Don't modify Guile load paths.
* maint: Use absolute directory names in GUIX_PACKAGE_PATH.Mathieu Lirzin2016-10-23
| | | | | | | This fixes "tests/hello-singleton.scm" evaluation. * build-aux/pre-inst-env.in (GUIX_PACKAGE_PATH): Use absolute directory names.
* tests: Track Cuirass' git.Jan Nieuwenhuizen2016-09-23
| | | | | | | | | | | * guix.scm: New file; specify Guix package. * guix/ci.scm: New file; expose to Guix. * build-aux/pre-inst-env.in: Add it to GUIX_PACKAGE_PATH. * bin/evaluate.in (main): Lookup proc using name specified by #:proc. * tests/guix-track-git.scm: New file. * tests/hello-git.scm: Test it. Signed-off-by: Mathieu Lirzin <mthl@gnu.org>
* build: Add a wrapper to 'guix environment'.Mathieu Lirzin2016-08-03
| | | | | * build-aux/guix-env: New file. * configure.ac: Require it.
* database: Use an external SQL schema.Mathieu Lirzin2016-07-25
|
* Add %package-cachedir parameter.Mathieu Lirzin2016-07-02
|
* job: Add load-path field to <job-spec>.Mathieu Lirzin2016-07-02
|
* Initial commit.Mathieu Lirzin2016-05-29