From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SEeaJrFqmmXkNAAAkFu2QA (envelope-from ) for ; Sun, 07 Jan 2024 10:11:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8NZjILFqmmWZRAAAe85BDQ (envelope-from ) for ; Sun, 07 Jan 2024 10:11:13 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=DzXozmIZ; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704618673; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=2WZuHZJJBFBwGemV5auITIpDecW4SwAelCe/bX7LCUY=; b=PdZQGoJ+qgRQtEg93ITFSo4I2VZJMSE/bb5TkdUFbOZSzyDvzHpd0OtuThPGz9qjtTe6Kf yeEszRUpnXOxgXrYdY3yVPxSu67RvnqGu98Spnmvf4OcgNZrupUUEC3XvZHnWMfwAXrikO 3HkChfoYbDtVe1+AdiW0CF76Jz/TlhVWOeRwgTP3brihgS8cmrQFbJjPcxFOGhaPW3h5W2 /Ql65gt9kQJq/P/aZdsoUofy0lWiRh5vOSUCuFip/cngmrGOVlPRfIl7i36OPPtVw4SFZQ BmMJ510iUxJSqOhG3VSfAk462TCuzz4KrnWi6EX6bkJ/fGVAsoKBz3+i8y7MTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=DzXozmIZ; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704618673; a=rsa-sha256; cv=none; b=i6OYuPs/iMj+VyrPS053uBzMCpbsaWs1SlAK4xuad6RgNejoZ9r94LTrvL885KUL1OgxzD PWYhULtEx/ukBPxYwBYKlHRkersZ9VMtZPxeTUr5TuyxcrQd2aNzN8QU2qTLFtxkk3nxtO 8ZOFvVUzQDQJ+ldRZwfBcoYBsurrzcUnnp2MTqSwfhSYVrugoGQ6/GFdkZ0KH5Y3T4lPXs iF9lck9klLhLOfKKh5vYuDqUNWD06NgGwiva1TTgRxSSsXcuzIN78mGgI3nc6+JI6WmJnQ ILuDEFBnYVD+prnATzotlis2darCwnwrnwOXOmBD6Ta/c+Vd2JpvatH4IDeg4w== 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 497CE57482 for ; Sun, 7 Jan 2024 10:11:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMPBK-0003G9-HZ; Sun, 07 Jan 2024 04:10:58 -0500 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 1rMPBI-0003Fs-Sq for guix-patches@gnu.org; Sun, 07 Jan 2024 04:10:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMPBI-0000f7-Jj for guix-patches@gnu.org; Sun, 07 Jan 2024 04:10:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMPBO-0000LB-0X for guix-patches@gnu.org; Sun, 07 Jan 2024 04:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67822] [PATCH v3] gnu: maths: petsc: Reduce closure size. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Jan 2024 09:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67822 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Lars Bilke Cc: 67822@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , Andreas Enge , Eric Bavier Received: via spool by 67822-submit@debbugs.gnu.org id=B67822.17046186061220 (code B ref 67822); Sun, 07 Jan 2024 09:11:01 +0000 Received: (at 67822) by debbugs.gnu.org; 7 Jan 2024 09:10:06 +0000 Received: from localhost ([127.0.0.1]:60612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMPAU-0000Jb-4E for submit@debbugs.gnu.org; Sun, 07 Jan 2024 04:10:06 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:58749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMPAS-0000Iz-ST for 67822@debbugs.gnu.org; Sun, 07 Jan 2024 04:10:05 -0500 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-336dcebcdb9so1066809f8f.1 for <67822@debbugs.gnu.org>; Sun, 07 Jan 2024 01:09:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704618593; x=1705223393; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=2WZuHZJJBFBwGemV5auITIpDecW4SwAelCe/bX7LCUY=; b=DzXozmIZWokahSQag5yja/SDLp9Sw0LF1IrbL2pXE6Y9RHsroqPoQ6CFNGk/GjzgPu PQr9RPfxWZsvRl/FLSojXTRsluhPeGuqCQl1twwmu1brcedwRefaSwtpBfT4etwOgUrQ qIhFKespf2BnT/yDyGLx/BkP9ckVUm6R6Ld5Pai7f+pKBhYjoMRgok1uwyY3vudoX3oy JqxnVgK9eAxiAR8+dhWuEqyJgaB/LBaIYxxAC1Xg8pgcB62r4i3PmV96GXeW85uvnYxp a7qHNhBBbwqq03NQrCFEkXgye0Og94uOKmPSNsccKjJ1mkE+YKcu54Z0jjV2XZRJrRyN PB3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704618593; x=1705223393; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2WZuHZJJBFBwGemV5auITIpDecW4SwAelCe/bX7LCUY=; b=w1rIoCwY8+auNAJur13W0TksMoRtBAHMN16P7/jluNfvz9An6Ruz4340an2jI6nn/l EJxCD3QxNsu9s7CdZm+7YBuJvavMMHD+iqgYh+Q6/6P+DeB+ZQfX1kTQayNfdJ9IYch2 Q/WcOzVuD0KBk2zJhokdtBN6K13SHLJbMHhPaQLP/lDP/YXzUspPNGlt5U/rNgTdLpjb l2mSvuHR1FYQ8+sxkwkIMXgjfm0HYQaMKAK27vd2uUIwmoZ2OXtjTj0cAGiGhVJ8K+FG 7Hr3k4ZVGDyNwAHui3n4RuVDHTCMTcc2MMY3nL6AVFMMpL7YtnlgSWZiIKkKHXciOzwY eY2A== X-Gm-Message-State: AOJu0Yz/bnjoXbd8hISoAzULcmm1QpsX3uwzVzu404R5/kufJ1+pIx2a VQfGj6vgiy/yFfqZgEwSPS4= X-Google-Smtp-Source: AGHT+IEFQNADHXEoOFuepLWF0MR4sImK9NlWMvYM4LflPayQGYea6/gLm2C2JmSmXKxu8BtTDvJh8g== X-Received: by 2002:a5d:414c:0:b0:336:c4c1:2d7f with SMTP id c12-20020a5d414c000000b00336c4c12d7fmr445705wrq.224.1704618593166; Sun, 07 Jan 2024 01:09:53 -0800 (PST) Received: from localhost ([141.226.15.142]) by smtp.gmail.com with ESMTPSA id e27-20020adfa45b000000b003375c8f796bsm3968311wra.0.2024.01.07.01.09.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 01:09:52 -0800 (PST) Date: Sun, 7 Jan 2024 11:09:51 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Lars Bilke , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 67822@debbugs.gnu.org, Andreas Enge , Eric Bavier References: <9ba967c61c66acea4b4c3b1db6e1a446ad9e827e.1702558568.git.lars.bilke@ufz.de> <6a6413853ce16af65e143bd727715be6dd7d6048.1702630557.git.lars.bilke@ufz.de> <878r54f35z.fsf@gnu.org> <68C18595-278B-4AB1-9260-B154E7BC8E60@ufz.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QzK5RLd9xGwPhnN9" Content-Disposition: inline In-Reply-To: <68C18595-278B-4AB1-9260-B154E7BC8E60@ufz.de> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.88 X-Spam-Score: -6.88 X-Migadu-Queue-Id: 497CE57482 X-TUID: mybThtYsvkRL --QzK5RLd9xGwPhnN9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 05, 2024 at 12:52:02PM +0100, Lars Bilke wrote: > Hi Ludo, >=20 > On 5 Jan 2024, at 12:08, Ludovic Court=C3=A8s wrote: >=20 > > Can we instead patch the thing that creates =E2=80=98petscvariables=E2= =80=99 in the > > first place? > > > > The reason I=E2=80=99m suggesting it is because in general we avoid har= dcoding > > /gnu/store in substitution patterns because it=E2=80=99s possible to co= nfigure > > Guix with a different store directory. >=20 > Thanks for your feedback! >=20 > In v1 of this patch I removed the 'petscvariables'-file completely but th= is broke dependent packages as well as not-yet packaged projects which use = the file for finding the PETSc library and configuriung their build system. >=20 > Is there a possibility to replace the hard-coded /gnu/store with a variab= le which evaluates to the current store directory? There's %store-directory in (guix build utils). In fact, it looks like git might have some code that you can borrow. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --QzK5RLd9xGwPhnN9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmWaal8ACgkQQarn3Mo9 g1H3zQ/+PXd0WuLcYIxyFs9CP64itsYta23aqEjpMiY3fj/uXwvgU4DA92LEwi0a +KxtH7+UcKrL4bjiTp3j4CEQXT4f0pYsBuhB/Y41WN5KVy+oh8GZ4ldEW0JAEu/y t1WsmiYQZYILHDYgWoT9KlcoRWHkc0YPPm80+xnSIuLB2LHCTyqO9xhnUzAKNgXK 3u38I2alt1z9ZVECs1NKbimsvSucHvNbdEf6XGpXQlkD2ZzkLQhP2UPQFR70CHpn 2kO9HTDV3TsWHHG8AJWlQKtDeOCVpZA5B6AnejiU3AS2s672aix222oRIKsIxNjz GanCeaAnrIb+eVqcuOyn+dBL69tXHHewnlULqJtEzBWDS/5KZDfYIaIEi2vu+Rvt ceggNLNF/CUPqIZDD1kGUesOg+oa8vBX9JugB/2llQvyV7NH173cICDOuMNMRM/w xgq3wrT1/ePNLf3WUq7NMJQWDZEV+EocskF5UfP/KlCFtcOpWWiazF0mXVla3/eU UOGGpmC1LjEJCXXvtbWqFFP7zNkKfFcMnWXKVL5Kxn5jGjCQTlRUVdY922IoqoLe LY0apigkKwGtA4V0QNo11Jy9iha6w2pjVSytMUMeDsG9uTLbBAbS2iCeEkkjxomd nvMyOhmm0uROGPIAO/GgRmrbl4jcVrvGQ0EuN9CpvODnIrDBs9I= =ssFl -----END PGP SIGNATURE----- --QzK5RLd9xGwPhnN9--