From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aCafCfhmRWQaUAAASxT56A (envelope-from ) for ; Sun, 23 Apr 2023 19:12:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gM6yCPhmRWR4jQAAG6o9tA (envelope-from ) for ; Sun, 23 Apr 2023 19:12:24 +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 E4EA73F969 for ; Sun, 23 Apr 2023 19:12:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqdFx-0007dD-CF; Sun, 23 Apr 2023 13:12:09 -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 1pqdFs-0007c0-CC for guix-patches@gnu.org; Sun, 23 Apr 2023 13:12:04 -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 1pqdFr-0003ls-91 for guix-patches@gnu.org; Sun, 23 Apr 2023 13:12:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqdFq-0000rD-VM for guix-patches@gnu.org; Sun, 23 Apr 2023 13:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63038] [PATCH 2/5] build-system/cmake: Add support for the #:disallowed-references key. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Apr 2023 17:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63038 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 63038@debbugs.gnu.org Received: via spool by 63038-submit@debbugs.gnu.org id=B63038.16822699193279 (code B ref 63038); Sun, 23 Apr 2023 17:12:02 +0000 Received: (at 63038) by debbugs.gnu.org; 23 Apr 2023 17:11:59 +0000 Received: from localhost ([127.0.0.1]:46919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqdFn-0000ql-AZ for submit@debbugs.gnu.org; Sun, 23 Apr 2023 13:11:59 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:40091) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqdFl-0000q6-An for 63038@debbugs.gnu.org; Sun, 23 Apr 2023 13:11:57 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 493BA5C00D6; Sun, 23 Apr 2023 13:11:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 23 Apr 2023 13:11:52 -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:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=mesmtp; t=1682269912; x=1682356312; bh=zQx6C6WCu9dXdYxC3COulMIcXzJHX6+UR0+j6nb5pw8=; b= kv32SGTwEJki8FarVIZ+Mc6qla+5RgIDOiy1JIo6WIYpK7DDXe8SkAvmFpGMFo9R xhrHujF9LVPqtp8BlTdvn1GE2GeHk5ba5qbaMPw7V5oEIyi18KMKMJEptsDclk0h C9SQhAfoK9MpQ7UaYzTjt/fnWxruOtfaQ0UiTcK4d6k= 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 :in-reply-to:message-id:mime-version:references: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=1682269912; x=1682356312; bh=z Qx6C6WCu9dXdYxC3COulMIcXzJHX6+UR0+j6nb5pw8=; b=LEEjl0l8DMdCcka+f zdZoMoxTP2621cv/Df/M9hfM1u/4+DKVPdCljI0ou7oxu9TSNnDuwegZDN69A2fw lb8fKgsU1ByTPOpjP+MqWrqrVuVU6rhtkNPFMfZ7+dBj/mSUFXwo2g+anbCqlGOv P5bRpWeCPm7Pta6xalgGQIA/g6vZhxnpjfnKu4uUnil5qdVrRarvpYBY/ZYH/Ruq ZhMrnfoNGUkGD1I4a2mpKAkkg6Iz+Ip7z2/6N7NSQ4JOLzbJUr3lhDhrj2M0F89W VnQidGY6+eyfSYTO9RiAW++nt2TaPRWs/HExUoFM0OJmNsEiGRFplmKJzXaJ8HSO XNe7w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtkedguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhl rghrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpefhgeegteeitddvudduveeuhedvhe fhfeehgfehvdfhudegueekhedvhfffhffhgeenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <63038@debbugs.gnu.org>; Sun, 23 Apr 2023 13:11:51 -0400 (EDT) From: Leo Famulari Date: Sun, 23 Apr 2023 13:11:45 -0400 Message-Id: <00e2c85ad3d1d4504666bcd7e34ea29683c8059d.1682269908.git.leo@famulari.name> X-Mailer: git-send-email 2.39.2 In-Reply-To: <3ddfb053e7baefefe88c560a41096d2e2aa7ed69.1682269908.git.leo@famulari.name> References: <3ddfb053e7baefefe88c560a41096d2e2aa7ed69.1682269908.git.leo@famulari.name> 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682269943; a=rsa-sha256; cv=none; b=QSRiDJxDa7igDYpKQYI93nZZnYHxY/p/sXhIj1oGJvnjuEB8BgyKCclx5M/VATlIKCjbgv WwNJOON2Zz57IIxoTNkoFMuqu9bXzJGp69Q23Gvx/SkDoBonif5s/ba7vocUQK5a/Tg4yt iaWY+SnjobWVksrm+ojpMOeGFstSWjS9+3ujmCbvfNw2GHTMyXe0Lz5XWDMfjFo2dr3IeU jwPLnTa1kGLVxhNrmw5oF1i/iEuq5Zurb2/sZKvRn6uTWX2K2gAHlCYm+dRSGPWxKYoUB+ /I1yCSradNkAyLXiF+M5nYbHG9IYnIcTqoNKeDmhS0kNoUGlOgjiDFNKxh+y3A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=famulari.name header.s=mesmtp header.b=kv32SGTw; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=LEEjl0l8; 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=1682269943; 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=K1F81VkuVwe14eHUeJb0YTSR/D8GdOh41N5sUC4q+4dTleH56ENs+N42C68kietlRTElqJ kzftboW+kJrtVrRvB+MvCR080Zjr3arFudizbeqUa0zHVAYimbt/fZQIS4fFKKG84DKMve wBJhgXhHkmP+lM0kEPRwsmfEKmmE8uDqkSoeXPbS0CixzKOaFYLnjGSmMGAkfKF9ZX2pQh fVql4bVL+RkbPJvtwkQ1CTZLR4k9VW4kFjZibMNvrAMAyTP27KDmt9yJqK2p46j+8ErhMh 1asx1SZEcgNlqetxWMZLjn9Jsfd0X3hwYdQaMWD5IdfIRrR7gsGwIdzZa8qaCA== X-Migadu-Spam-Score: -0.51 X-Spam-Score: -0.51 X-Migadu-Queue-Id: E4EA73F969 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=famulari.name header.s=mesmtp header.b=kv32SGTw; dkim=fail ("body hash did not verify") header.d=messagingengine.com header.s=fm3 header.b=LEEjl0l8; 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-TUID: jVkYtmRSx7UF * 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