From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6BIeBXaiPGc2TQAAqHPOHw:P1 (envelope-from ) for ; Tue, 19 Nov 2024 14:36:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6BIeBXaiPGc2TQAAqHPOHw (envelope-from ) for ; Tue, 19 Nov 2024 15:36:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=WEEWAKT1; 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=1732026967; 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: 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=v77FjgMEQNhLg13PBjsWF1ttjxhkgHRXS/bp898zIjs=; b=AV8dwezhpAWClt63WHf5qZ0UfLxGnoAAHKxZe9BRqzTqDsxgMaMYbkeDmT5i1SfWRkPUvi nApfhw5oZT/A/6916bkWcO2BGWxtOmuEww0F3/3mnnMEx/+f4Usq9lDagmn/deuFixSjXE jdGbTpx8UHdpGC6G6m79SdyHpL3tvvCsf4UBWDbBdHXpAk+Fnp+owfckoDBzG4A4xosiuc X4knkhtKpd7G/4t4nN77xlysscgYUVVi7K6DhbpNuK8ZyEItUrWsvOkxEUusmVqu7GW89+ kEt6nCKjfsi8gk2yKeMykfmot5Oxi0hSzDba3OWqiVHyJHMnkhq0r4xMY4uBrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=WEEWAKT1; 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=1732026967; a=rsa-sha256; cv=none; b=tvTGL+WLwPOsWvselmKG3V7QZbOq+/lFDeTlcrv3yhckZz9VNSfjpQ3f60n0Tr516j73B9 KeCYc5G8aVtDWWMx5odyXH5F+jt0PO6h6Hmr7A5ocOolcfyNJn4R9uLzFr93guOli8grPw apHiWcDHZcr6/N1xiWprC76a8xvywBB8+3JIugzkBGX6lAA4bonH7kyZSda0RSbD/Rs2gu BharzZixMTihW6rWJxojbtJPSm3U26mrHB+FsC8um8cspESky35C49qtte48v5smAU6E46 56fGawdnQ/0B82lBSmGhoOed22v7423Iez4+dz1GI78Re+oQHYAMycqnjNEbFA== 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 2A6E98CAF4 for ; Tue, 19 Nov 2024 15:36:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDP4N-0004sB-By; Tue, 19 Nov 2024 09:19:07 -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 1tDP4L-0004re-7h for guix-patches@gnu.org; Tue, 19 Nov 2024 09:19:05 -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 1tDP4K-0005h0-VG for guix-patches@gnu.org; Tue, 19 Nov 2024 09:19:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-reply-to:From:Date:MIME-version:To:Subject; bh=v77FjgMEQNhLg13PBjsWF1ttjxhkgHRXS/bp898zIjs=; b=WEEWAKT1vOxzuTwO/rE7Bzybsw0osmNYdk66DiSCQ9E4Vp2LBGgTHtcjI1nqYGQiwi16jejBJmYaMOLTtKmHFmC9VQOi8iCM6ZGYw3MPxZBX1MrYLwmPNUAiTs6C7esqgl7dh3kbfC+1xZq4M34SUHyc8CB9HOEANw1aVw6Qphe59vHUIt1aQ0QgbLI5fFcb56MfvZuplndVh/uEByZDi8SExOFQgV/6plibueal4Jrox0gs6cIGj9fpBzZVfy+NgUtbhli+4Z55h7ltkGf13UzNynCMDHVyohP23Ku1WfZ1vpwjjFgRUXY7rBPpm5+IYJ9XcvpDDBHTZhDM9QUBAg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDP4I-0008BR-F0; Tue, 19 Nov 2024 09:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74416] [PATCH v2 2/2] gnu: petsc: Remove store references on make and gcc. Resent-From: Lars Bilke Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 14:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74416 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74416@debbugs.gnu.org Cc: Lars Bilke , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 74416-submit@debbugs.gnu.org id=B74416.173202593031413 (code B ref 74416); Tue, 19 Nov 2024 14:19:02 +0000 Received: (at 74416) by debbugs.gnu.org; 19 Nov 2024 14:18:50 +0000 Received: from localhost ([127.0.0.1]:41592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDP46-0008Aa-56 for submit@debbugs.gnu.org; Tue, 19 Nov 2024 09:18:50 -0500 Received: from mailgate5.ufz.de ([141.65.7.212]:55544 helo=mailgate.ufz.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDP43-0008AM-C0 for 74416@debbugs.gnu.org; Tue, 19 Nov 2024 09:18:47 -0500 Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135]) by mailgate.ufz.de (Mailgate5-UFZ) with ESMTP id EB04D1602BB for <74416@debbugs.gnu.org>; Tue, 19 Nov 2024 15:18:41 +0100 (CET) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: TEXT/PLAIN Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) id <0SN700G00B2XUE00@imap.intranet.ufz.de> for 74416@debbugs.gnu.org; Tue, 19 Nov 2024 15:18:41 +0100 (CET) Received: from smtp1.ufz.de ([141.65.7.217]) by imap.intranet.ufz.de (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit (built Feb 27 2020)) with ESMTPS id <0SN700J83BR5EO00@imap.intranet.ufz.de> for 74416@debbugs.gnu.org; Tue, 19 Nov 2024 15:18:41 +0100 (CET) Received: from envinf5.cow-dragon.ts.net (unknown [141.65.34.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp1.ufz.de (smtp2-UFZ) with ESMTPSA id C5AAEE004D; Tue, 19 Nov 2024 15:18:41 +0100 (CET) Date: Tue, 19 Nov 2024 15:18:06 +0100 From: Lars Bilke In-reply-to: Message-id: <663600da2062af7334e0406a752cd571bf627ce0.1732025886.git.lars.bilke@ufz.de> X-Mailer: git-send-email 2.44.0 References: 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: mx11.migadu.com X-Migadu-Spam-Score: -0.59 X-Spam-Score: -0.59 X-Migadu-Queue-Id: 2A6E98CAF4 X-TUID: Gngmo86/jn9+ Reduces closure size from 970 MB to around 700 MB for petsc-openmpi package and also makes `guix pack` packages containing petsc bit-reproducible (by removing make it removes implicit guile dependency). Change-Id: I465c325b152b09befdb746e5bc47fbeaf9a061dc --- gnu/packages/maths.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index d76937265d..caa7b97b0c 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -3422,7 +3422,8 @@ (define-public petsc ;; Prevent build directory from leaking into compiled code (((getcwd)) out) (("Machine characteristics: Linux-[0-9]+\\.[0-9]+\\.[0-9]+-arch[0-9]+-[0-9]+") - "Machine characteristics: Linux-x.x.x-archx-x")) + "Machine characteristics: Linux-x.x.x-archx-x") + (("([[:graph:]]+)/bin/make") "\"make")) (substitute* (find-files "." "petscvariables") ;; Do not expose build machine characteristics, set to defaults. (("MAKE_NP = [[:digit:]]+") "MAKE_NP = 2") @@ -3462,7 +3463,8 @@ (define-public petsc (("([[:graph:]]+)/bin/make") "make") (("([[:graph:]]+)/bin/diff") "diff") (("([[:graph:]]+)/bin/sed") "sed") - (("([[:graph:]]+)/bin/gfortran") "gfortran"))))) + (("([[:graph:]]+)/bin/gfortran") "gfortran") + (("([[:graph:]]+)/bin/gcov") "gcov"))))) ;; Some of the tests get linked with '-L$prefix/lib -lpetsc' (even ;; though that's unnecessary because they also explicitly link -- 2.44.0