[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: gnu: janet: Prepare for cross-compilation.
From: |
guix-commits |
Subject: |
09/09: gnu: janet: Prepare for cross-compilation. |
Date: |
Fri, 15 Oct 2021 05:18:10 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit 90e92befbc8379b90ef58e4bbde975ba5a99d88c
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Fri Oct 15 11:12:52 2021 +0200
gnu: janet: Prepare for cross-compilation.
* gnu/packages/lisp.scm (janet)[arguments]: Use 'cc-for-target'. Replace
custom 'check' phase by 'test-target' parameter.
---
gnu/packages/lisp.scm | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index f81e55f..6e1b9c0 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1172,14 +1172,11 @@ including a built-in database engine and a GUI system.")
(list
(string-append "DESTDIR=" (assoc-ref %outputs "out"))
(string-append "PREFIX=")
- (string-append "CC=" (assoc-ref %build-inputs "gcc")
- "/bin/gcc"))
+ (string-append "CC=" ,(cc-for-target)))
+ #:test-target "test"
#:phases
(modify-phases %standard-phases
- (delete 'configure)
- (replace 'check
- (lambda _
- (invoke "make" "test"))))))
+ (delete 'configure))))
(home-page "https://janet-lang.org/")
(synopsis "Functional, imperative and embeddable programming language")
(description
- branch master updated (87d04cd -> 90e92be), guix-commits, 2021/10/15
- 01/09: gnu: libhx: Update to 4.1., guix-commits, 2021/10/15
- 03/09: gnu: Add cl-diff., guix-commits, 2021/10/15
- 02/09: gnu: Add cl-linedit., guix-commits, 2021/10/15
- 06/09: gnu: cl-prove: Update to 1.0.0-2.5d71f02., guix-commits, 2021/10/15
- 08/09: gnu: janet: Upgrade to 1.18.0., guix-commits, 2021/10/15
- 05/09: gnu: cl-ansi-text: Update to 2.0.1., guix-commits, 2021/10/15
- 07/09: gnu: Add cl-charms., guix-commits, 2021/10/15
- 04/09: gnu: Add cl-montezuma., guix-commits, 2021/10/15
- 09/09: gnu: janet: Prepare for cross-compilation.,
guix-commits <=