From: Leo Famulari <leo@famulari.name>
To: 63004@debbugs.gnu.org
Subject: [bug#63004] [PATCH 1/2] build-system/cmake: Add support for the #:disallowed-references key.
Date: Fri, 21 Apr 2023 16:49:57 -0400 [thread overview]
Message-ID: <32e4684cb2a52c963e84485e53e2680f25f2eddf.1682110198.git.leo@famulari.name> (raw)
In-Reply-To: <ZEL2Vh8OQitoll1h@jasmine.lan>
* guix/build-system/cmake.scm (cmake-build, cmake-cross-build):
Add #:disallowed-references.
---
guix/build-system/cmake.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/guix/build-system/cmake.scm b/guix/build-system/cmake.scm
index 09e3ac85db..ed979b9c6b 100644
--- a/guix/build-system/cmake.scm
+++ b/guix/build-system/cmake.scm
@@ -116,7 +116,8 @@ (define* (cmake-build name inputs
(substitutable? #t)
(imported-modules %cmake-build-system-modules)
(modules '((guix build cmake-build-system)
- (guix build utils))))
+ (guix build utils)))
+ disallowed-references)
"Build SOURCE using CMAKE, and with INPUTS. This assumes that SOURCE
provides a 'CMakeLists.txt' file as its build system."
(define build
@@ -158,6 +159,7 @@ (define build
#:target #f
#:graft? #f
#:substitutable? substitutable?
+ #:disallowed-references disallowed-references
#:guile-for-build guile)))
\f
@@ -193,7 +195,8 @@ (define* (cmake-cross-build name
(build (nix-system->gnu-triplet system))
(imported-modules %cmake-build-system-modules)
(modules '((guix build cmake-build-system)
- (guix build utils))))
+ (guix build utils)))
+ disallowed-references)
"Cross-build NAME using CMAKE for TARGET, where TARGET is a GNU triplet and
with INPUTS. This assumes that SOURCE provides a 'CMakeLists.txt' file as its
build system."
--
2.39.2
next prev parent reply other threads:[~2023-04-21 20:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-21 20:47 [bug#63004] Add support for disallowed-references to cmake and don't let ldc depend on tzdata Leo Famulari
2023-04-21 20:49 ` Leo Famulari [this message]
2023-04-21 20:49 ` [bug#63004] [PATCH 2/2] gnu: ldc-bootstrap: Don't " Leo Famulari
2023-05-06 15:16 ` [bug#63004] Add support for disallowed-references to cmake and don't let ldc " Ludovic Courtès
2023-05-26 17:44 ` Leo Famulari
2023-05-17 21:26 ` bug#63004: [PATCH 2/2] gnu: ldc-bootstrap: Don't " Josselin Poiret via Guix-patches via
2023-05-18 16:59 ` [bug#63004] " Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=32e4684cb2a52c963e84485e53e2680f25f2eddf.1682110198.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=63004@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.