guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: build-system: cmake: Add substitutable keyword.


From: guix-commits
Subject: branch master updated: build-system: cmake: Add substitutable keyword.
Date: Tue, 16 Jun 2020 09:55:35 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 3646a44  build-system: cmake: Add substitutable keyword.
3646a44 is described below

commit 3646a44a14337f284139faab0e8992448517aafb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jun 16 16:39:32 2020 +0300

    build-system: cmake: Add substitutable keyword.
    
    * guix/build-system/cmake.scm (cmake-build, cmake-cross-build): Add
    substitutable keyword.
---
 guix/build-system/cmake.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/guix/build-system/cmake.scm b/guix/build-system/cmake.scm
index 29259c5..f590b6e 100644
--- a/guix/build-system/cmake.scm
+++ b/guix/build-system/cmake.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2013, 2014, 2015, 2020 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
 ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -113,6 +114,7 @@
                       (phases '(@ (guix build cmake-build-system)
                                   %standard-phases))
                       (system (%current-system))
+                      (substitutable? #t)
                       (imported-modules %cmake-build-system-modules)
                       (modules '((guix build cmake-build-system)
                                  (guix build utils))))
@@ -162,6 +164,7 @@ provides a 'CMakeLists.txt' file as its build system."
                                 #:inputs inputs
                                 #:modules imported-modules
                                 #:outputs outputs
+                                #:substitutable? substitutable?
                                 #:guile-for-build guile-for-build))
 
 
@@ -192,6 +195,7 @@ provides a 'CMakeLists.txt' file as its build system."
                                                   "bin" "sbin"))
                             (phases '(@ (guix build cmake-build-system)
                                         %standard-phases))
+                            (substitutable? #t)
                             (system (%current-system))
                             (build (nix-system->gnu-triplet system))
                             (imported-modules %cmake-build-system-modules)
@@ -271,6 +275,7 @@ build system."
                                 #:inputs (append native-drvs target-drvs)
                                 #:outputs outputs
                                 #:modules imported-modules
+                                #:substitutable? substitutable?
                                 #:guile-for-build guile-for-build))
 
 (define cmake-build-system



reply via email to

[Prev in Thread] Current Thread [Next in Thread]