From unknown Mon Jun 23 18:27:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#69634 <69634@debbugs.gnu.org> To: bug#69634 <69634@debbugs.gnu.org> Subject: Status: [PATCH] gnu: hypre: don't run test phase when tests? is false Reply-To: bug#69634 <69634@debbugs.gnu.org> Date: Tue, 24 Jun 2025 01:27:27 +0000 retitle 69634 [PATCH] gnu: hypre: don't run test phase when tests? is false reassign 69634 guix-patches submitter 69634 Lars Bilke severity 69634 normal tag 69634 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 08 07:25:29 2024 Received: (at submit) by debbugs.gnu.org; 8 Mar 2024 12:25:29 +0000 Received: from localhost ([127.0.0.1]:56968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riZI0-00025J-Lf for submit@debbugs.gnu.org; Fri, 08 Mar 2024 07:25:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:45064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riZHy-000259-7c for submit@debbugs.gnu.org; Fri, 08 Mar 2024 07:25:27 -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 1riZHR-00036v-Qi for guix-patches@gnu.org; Fri, 08 Mar 2024 07:24:53 -0500 Received: from mailgate4.ufz.de ([141.65.7.211] helo=mailgate.ufz.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riZHO-0000bH-JG for guix-patches@gnu.org; Fri, 08 Mar 2024 07:24:53 -0500 Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135]) by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id 6EE351602D9 for ; Fri, 8 Mar 2024 13:24:45 +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 <0SA10080037BXC00@imap.intranet.ufz.de> for guix-patches@gnu.org; Fri, 08 Mar 2024 13:24:45 +0100 (CET) Received: from smtp2.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 <0SA100H2T3T9YB40@imap.intranet.ufz.de> for guix-patches@gnu.org; Fri, 08 Mar 2024 13:24:45 +0100 (CET) Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp2.ufz.de (smtp2-UFZ) with ESMTPSA id 4580DE0069; Fri, 8 Mar 2024 13:24:45 +0100 (CET) Date: Fri, 08 Mar 2024 12:08:11 +0100 From: Lars Bilke Subject: [PATCH] gnu: hypre: don't run test phase when tests? is false To: guix-patches@gnu.org Message-id: <7822b92627251e60d6f107369e0e102dd592c080.1709896091.git.lars.bilke@ufz.de> X-Mailer: git-send-email 2.43.0 X-Debbugs-Cc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received-SPF: pass client-ip=141.65.7.211; envelope-from=lars.bilke@ufz.de; helo=mailgate.ufz.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Lars Bilke X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Without this patch it is not possible to build hypre with --tune on machines which do not support the architecture to optimize for. The check phase no honors the tests? property. Change-Id: I475fabd7d9f73ed320b97a4767830d82190c2b15 --- gnu/packages/maths.scm | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 1f61ee0583..6b3a5e2e55 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -7135,16 +7135,21 @@ (define-public hypre (lambda _ (invoke "make" "-C" "docs"))) (replace 'check - (lambda _ - (setenv "LD_LIBRARY_PATH" (string-append (getcwd) "/hypre/lib")) - (setenv "PATH" (string-append "." ":" (getenv "PATH"))) - (invoke "make" "check" "CHECKRUN=") - (for-each (lambda (filename) - (let ((size (stat:size (stat filename)))) - (when (positive? size) - (error (format #f "~a size ~d; error indication~%" - filename size))))) - (find-files "test" ".*\\.err$")))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "LD_LIBRARY_PATH" + (string-append (getcwd) "/hypre/lib")) + (setenv "PATH" + (string-append "." ":" + (getenv "PATH"))) + (invoke "make" "check" "CHECKRUN=") + (for-each (lambda (filename) + (let ((size (stat:size (stat filename)))) + (when (positive? size) + (error (format #f + "~a size ~d; error indication~%" + filename size))))) + (find-files "test" ".*\\.err$"))))) (add-after 'install 'install-docs (lambda* (#:key outputs #:allow-other-keys) ;; Custom install because docs/Makefile doesn't honor ${docdir}. base-commit: 75bad75367fcf2c289fae3b40dbcc850f92177be -- 2.43.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 12 07:56:06 2024 Received: (at 69634-done) by debbugs.gnu.org; 12 Mar 2024 11:56:06 +0000 Received: from localhost ([127.0.0.1]:41958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rk0jl-0003L8-Qd for submit@debbugs.gnu.org; Tue, 12 Mar 2024 07:56:06 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:47320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rk0jh-0003Jy-4J for 69634-done@debbugs.gnu.org; Tue, 12 Mar 2024 07:56:03 -0400 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-413318a3a29so5811455e9.2 for <69634-done@debbugs.gnu.org>; Tue, 12 Mar 2024 04:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710244461; x=1710849261; 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=ijt/MIc5EqLbpcONeDbvApWtH3ehBwOQE+P4YTb4slg=; b=T0HVGfXkCefH0SpzWi6LRwxPqfQx+TMcfMYsDK8gYYM+11evjaqowH7JA0uI2BJza1 KBw9s9Y58qDCGqGEiVGthYbPsCvR/66xiX8UAFBIU4c29HRJFEqGMwxeVhl3WtGOx+EL E52O1TSdNFUejt8Qmrm2BoY+8zSVD51Oi021narAr4I+Ypg1ipycy8EIA7kq45nQXjYd 6es/dLn9LPrv1XqaOylTGpPwSTfpuoJLoxE553ymHT1UfH4Z8mLvYzhq/l5fdJHAmsyN aBx0ELqWhW92nX9M7Bo+TpmTssfM330Q8PwbyqZCbjPLgOh0UHbgt0DA4fQ0R5aoxmfp zHyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710244461; x=1710849261; 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=ijt/MIc5EqLbpcONeDbvApWtH3ehBwOQE+P4YTb4slg=; b=M4tP6LMzTJUBVNGqgBOLUnzawjXAZQWuWVEr+feqpdoac7KszHDGFCwm+BE56U9aIl xVjGOrtNCqDUA0A2NqOMfIOEGMOzhPN78v9kCa0WeZUhQOjVzCntGRXb6iKgcqMJYYZb xPhF3Cj0lYqOfp3FaPBgFGAnrxHTbhtAaRfLFos/8dxRiMNsUh7AzjoVh4tSisGjpUSW ZPCsU1jTwozZit0MiEgbO9c05oG+xpLW3f5mxfwj7+/Fe+6jFGx3IynBy09UG6GL+Om6 duNwyujYfoT7NQgYTgfI6HkQzTJMIASS69SLmBOjLyODreBO3gSKAjpRzrwuwz2q8kp9 8C2w== X-Gm-Message-State: AOJu0Yz4H/U5A/pOLo8bpi0JNG6Er6yAa2s3KZRSeksWsmv7as8KQ17b 2Z3YX+fWrYKRA4ZhGGHljbRxo83dgD5KRgcSL8NNc3LWFOk3Yvb2FylNLcsfxAw= X-Google-Smtp-Source: AGHT+IFcVjmhGPsTM8WgIqHih+Mf4XWkG213ehrBuy5Tf94tOBtJABOr4ORO7k89dHx0u03vgiIetw== X-Received: by 2002:a05:600c:4709:b0:413:127f:f73e with SMTP id v9-20020a05600c470900b00413127ff73emr7140616wmo.4.1710244460446; Tue, 12 Mar 2024 04:54:20 -0700 (PDT) Received: from localhost ([141.226.12.177]) by smtp.gmail.com with ESMTPSA id f6-20020a05600c154600b004131ae36ac4sm14432901wmg.20.2024.03.12.04.54.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 04:54:20 -0700 (PDT) Date: Tue, 12 Mar 2024 13:54:18 +0200 From: Efraim Flashner To: Lars Bilke Subject: Re: [bug#69634] [PATCH] gnu: hypre: don't run test phase when tests? is false Message-ID: Mail-Followup-To: Efraim Flashner , Lars Bilke , 69634-done@debbugs.gnu.org, Andreas Enge , Eric Bavier , Sharlatan Hellseher References: <7822b92627251e60d6f107369e0e102dd592c080.1709896091.git.lars.bilke@ufz.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vqwnUvYlVK3YVGQd" Content-Disposition: inline In-Reply-To: <7822b92627251e60d6f107369e0e102dd592c080.1709896091.git.lars.bilke@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-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 69634-done Cc: Andreas Enge , 69634-done@debbugs.gnu.org, Sharlatan Hellseher , Eric Bavier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --vqwnUvYlVK3YVGQd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks. Patch pushed! --=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 --vqwnUvYlVK3YVGQd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmXwQmoACgkQQarn3Mo9 g1EEuw//UExbRvDjrrLe55Q9cLTLNeZOMo2M2P+TzsBjMgJumB7fcFcf3YL9xL0c 4EN4+nvSWJMDw31zWNT3+DGYzqyf4DuHTdg8Tr/FVflpOoa1pJClMhQtQkYhbExb c1zqpHOjWKZzSO12Hh5DHZF6K0Pcbnwg8Vxvlogsi6awFHzLft81wyMUKQWipTTB vGlamVfDbwj+jsMWeg8/kHg5BI1T01ygHzfE5eMgLq8JF0FqfL6vNzUO4Kf8b94+ tlvDLoHM6nPxZBDQiXu5IFNcn0xnPi3r/hOMzG7ZM5hWRbLObsy5Ax/9Rh1p0bmu TuqRl6mAo924JaXyP9icX0MlDbbCySTiZERTBHo26GjuLrmsGXm7dxLOC+lQ8dtX 7cneohQtnS+57Q442vU8813jrybodthEynnMKwJwfROlv2t3+Qz8+gMqlKEY2v+7 QOrwCGKESs80XxnisAZS39FMY0burYCsn3vVi55Gm4600hrzWXJUcD2pj33iIAbU F6EjR0OrquX3sGD/EK8sA751v6Gx60CsjpOD63cKxZvA1M1v7hCkkvOOo25dJeVv UrwXuulobNbyAfVGMQJG/PUGyiomrCHskQqlWOSyMQcPHkkRxYWaKfahb87LzUo3 hn1fDa9MKPK2XqEgCMWIkpInMKVCCc11px4QA/n9x/fR+E1nIa4= =5c6N -----END PGP SIGNATURE----- --vqwnUvYlVK3YVGQd-- From unknown Mon Jun 23 18:27:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 Apr 2024 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator