From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KAmYGEL3QmSf+gAASxT56A (envelope-from ) for ; Fri, 21 Apr 2023 22:51:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kG+SGEL3QmQragEAauVa8A (envelope-from ) for ; Fri, 21 Apr 2023 22:51:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2710D2DA16 for ; Fri, 21 Apr 2023 22:51:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppxii-0002io-Vb; Fri, 21 Apr 2023 16:51:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppxih-0002iH-Dm for guix-patches@gnu.org; Fri, 21 Apr 2023 16:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ppxig-0004ee-R8 for guix-patches@gnu.org; Fri, 21 Apr 2023 16:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ppxig-0004mF-ML for guix-patches@gnu.org; Fri, 21 Apr 2023 16:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63004] [PATCH 1/2] build-system/cmake: Add support for the #:disallowed-references key. References: In-Reply-To: Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Apr 2023 20:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63004 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 63004@debbugs.gnu.org Received: via spool by 63004-submit@debbugs.gnu.org id=B63004.168211021018256 (code B ref 63004); Fri, 21 Apr 2023 20:51:02 +0000 Received: (at 63004) by debbugs.gnu.org; 21 Apr 2023 20:50:10 +0000 Received: from localhost ([127.0.0.1]:41267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppxhq-0004kJ-3h for submit@debbugs.gnu.org; Fri, 21 Apr 2023 16:50:10 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppxhn-0004jt-T0 for 63004@debbugs.gnu.org; Fri, 21 Apr 2023 16:50:08 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id CD72C5C00A9; Fri, 21 Apr 2023 16:50:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 21 Apr 2023 16:50:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=mesmtp; t=1682110202; x=1682196602; bh=zQx6C6W Cu9dXdYxC3COulMIcXzJHX6+UR0+j6nb5pw8=; b=aKbuWqpt4a3XXSnxi95Zb20 a4TqChEzf5FE8xGuS0JuKAOi4ZV4dhTqNNmqsWHv3mefn0ISatyUJyEcTvo6p+uq JMzCHhSp+mppAnG4IKwcIYtyui4BbUEGg+4SShiE2AEvrvWh9TCNYmle0/z7Ss8q xKwosnCkKXkkhuBfet6A= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1682110202; x=1682196602; bh=zQx6C6WCu9dXdYxC3COulMIcXzJH X6+UR0+j6nb5pw8=; b=dHtm6+jXtO1YKnnWDDSUSt4lU/rMjrQZadiAErjY3jy8 PzM7+WkroPExSOZ9dSF4j4K5/4J40HF9PYwd69b6kSEaZEOXBoPnhKrgY/50PYBB 43gi/abv/CyheZiL1a8SRV0hYP8Pb1z1vW9Dr3QkG1J0jHoFqx8wj0k1MDMU8Va6 1kVC9kItMl4/I3j9Z4cI11QU+RejFq0zna9ftyb9CIvKCFhf9pRBOpnNiXQIKf4r h/IRAmNRwfs5yBJmc9a8l15ZdV/bb+6Jjw9wzASCW5iMyJmRBQuPp7rJhn5uxUTW bIgmwiV3XqI/V5AxBwaFFXOdzVwWUfSwz5sMa+HguA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtgedgudehvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertd ertddtnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghr ihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeetueeigfelheekveffveetffeugeeuud dvgeeiffevkeeuffefteduvdfhhfduhfenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <63004@debbugs.gnu.org>; Fri, 21 Apr 2023 16:50:02 -0400 (EDT) From: Leo Famulari Date: Fri, 21 Apr 2023 16:49:57 -0400 Message-Id: <32e4684cb2a52c963e84485e53e2680f25f2eddf.1682110198.git.leo@famulari.name> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682110274; a=rsa-sha256; cv=none; b=odIxlEx+GaHpX+yH7FCTpYva/OfphlvzLFu3V/jns27X8GwuqlMahAon2i5HrqwdtKphhJ 9VlYSElCHlvh+r8Sxsv55IfT6TWgJ9LdYLXtajGIoYqE4kNUyOtTaPQejWG0bA0+wMcTgG y8cPrezQ+7Gm02idZWuIToYUe9c06DvauK+wXNYz0soA5aPxJK/0N7pWZULRmqc3hGXKsx fYtw3uxOzr0/JjnICIbc5SdxcaIJLQJLqhvgOnMAz0bbMVbuQTExjMMn0HvelKTSRvLFzh PvZAWOZ6+GaRIiEGCKj8vp9SCEqLGC4/hraoVSNwHn3CIYkzdgtaFQdwzCA7bA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=famulari.name header.s=mesmtp header.b=aKbuWqpt; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=dHtm6+jX; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682110274; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tnEYvQlxlwjBFsU+kTsD85a3LOVTiC09PWnz3+abCRE=; b=gOf9BAZKFoRjbxVP2RfX6vAn6Lbv7kCMWqTzbumZRZqpNzCz8L7k1JzvVDjP/CNE8V8BNX MBVlG4D+TIvQGVFiCdV3w8B+FCho+PDesBHlzVCyCp/VVhceYJpR2N9sliwZxZdjytLiKo P0xEZW+kxJsbGvZcnB5FQL5Wug9q4FklZMhj27riAj+aunX+cnavqg0OF75iNEpUOhRwz4 /5PgB5l8OLbN5OjCzRD/13EV/D7qTwNcGqjkGj5JuLGOt+1VyPZaOWnbXyRhlW6UapNOBf MqJH1G8J6C5hWU28mrfaJ7QbFRWo6FgWvLWltJFEOVQgDYktW6XqfKJmxOPZEw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=famulari.name header.s=mesmtp header.b=aKbuWqpt; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=dHtm6+jX; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.19 X-Spam-Score: 2.19 X-Migadu-Queue-Id: 2710D2DA16 X-TUID: yWVK+bhtz8Z9 * 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))) @@ -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