[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/22: guix: build: Switch from asdf:compile-system to asdf:load-system.
From: |
guix-commits |
Subject: |
01/22: guix: build: Switch from asdf:compile-system to asdf:load-system. |
Date: |
Wed, 3 Aug 2022 10:47:59 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit 6b5ef03a2582ab23228478018fd356e17db1daea
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Fri Jul 1 16:37:44 2022 +0200
guix: build: Switch from asdf:compile-system to asdf:load-system.
According to the ASDF manual:
This will make sure all the files in the system are compiled, but not
necessarily load any of them in the current image; on most systems, it
will _not_ load all compiled files in the current image. This function
exists for symmetry with 'load-system' but is not recommended unless you
are writing build scripts and know what you're doing.
* guix/build/lisp-utils.scm (compile-systems): Switch from
asdf:compile-system
to asdf:load-system.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
---
guix/build/lisp-utils.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/build/lisp-utils.scm b/guix/build/lisp-utils.scm
index 17d2637f87..8403c94cb5 100644
--- a/guix/build/lisp-utils.scm
+++ b/guix/build/lisp-utils.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016, 2017 Andy Patterson <ajpatter@uwaterloo.ca>
;;; Copyright © 2020 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2022 Pierre Neidhardt <mail@ambrevar.xyz>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -116,7 +117,7 @@ Load ASD-FILES first."
`(asdf:load-asd (truename ,asd-file)))
asd-files)
,@(map (lambda (system)
- `(asdf:compile-system ,system))
+ `(asdf:load-system ,system))
systems))))
(define (test-system system asd-files test-asd-file)
- 02/22: build-system: asdf: Let ASDF locate the .asd files., (continued)
- 02/22: build-system: asdf: Let ASDF locate the .asd files., guix-commits, 2022/08/03
- 10/22: gnu: sbcl-spatial-trees: Build spatial-trees.nss and fix tests., guix-commits, 2022/08/03
- 06/22: gnu: sbcl-cl-reexport: Remove obsolete test workaround., guix-commits, 2022/08/03
- 11/22: gnu: sbcl-lisp-namespace: Enable tests., guix-commits, 2022/08/03
- 07/22: gnu: Add cl-legion., guix-commits, 2022/08/03
- 17/22: gnu: sbcl-cl-online-learning: Remove unnecessary arguments., guix-commits, 2022/08/03
- 18/22: gnu: sbcl-jzon: Enable tests., guix-commits, 2022/08/03
- 21/22: gnu: sbcl-glop: Remove obsolete test-asd-file parameter., guix-commits, 2022/08/03
- 20/22: gnu: sbcl-stumpwm-kbd-layouts: Fix build., guix-commits, 2022/08/03
- 09/22: gnu: sbcl-cl-irc: Fix tests., guix-commits, 2022/08/03
- 01/22: guix: build: Switch from asdf:compile-system to asdf:load-system.,
guix-commits <=
- 19/22: build-system: asdf: Add asd-operation parameter., guix-commits, 2022/08/03
- 22/22: gnu: ecl-legion: Disable tests., guix-commits, 2022/08/03