From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60049) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCgqN-0004zq-LB for guix-patches@gnu.org; Fri, 13 Mar 2020 05:43:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCgqM-000229-LQ for guix-patches@gnu.org; Fri, 13 Mar 2020 05:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52195) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCgqM-00021Y-HQ for guix-patches@gnu.org; Fri, 13 Mar 2020 05:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCgqM-0003OC-GB for guix-patches@gnu.org; Fri, 13 Mar 2020 05:43:02 -0400 Subject: [bug#39862] [PATCH v3 2/2] gnu: define dune-*-openmpi packages Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87k13pvj5u.fsf@gnu.org> <20200312210513.107891-3-felgru@posteo.net> Date: Fri, 13 Mar 2020 10:42:42 +0100 In-Reply-To: <20200312210513.107891-3-felgru@posteo.net> (Felix Gruber's message of "Thu, 12 Mar 2020 22:05:13 +0100") Message-ID: <87blp0pp4d.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Felix Gruber Cc: 39862@debbugs.gnu.org Hi Felix, Felix Gruber skribis: > * gnu/packages/maths.scm (dune-*-openmpi): New variables. > * gnu/packages/maths.scm (add-openmpi-to-dune-package): New function to > add openmpi to the inputs of a dune-* package and replace all dune-* > packages in its input with the corresponding dune-*-openmpi package. Nitpick: no need to repeat the file name above. It would also be great if you could list all the new variables. > + (lambda (p) (not (dune-package? p)))))) You can replace the lambda with: (negate dune-package?) One last thing: could you look at the output of, say, =E2=80=98guix graph dune-geometry-openmpi=E2=80=99 and ensure we=E2=80=99re not duplicating mor= e nodes than needed in the graph? For example, you can compare node counts with: guix graph dune-geometry | grep 'label =3D' | wc -l guix graph dune-geometry-openmpi | grep 'label =3D' | wc -l The difference should be less than: guix graph openmpi | grep 'label =3D' | wc -l If that works well, please send an updated patch and we should be ready to go! Thanks, Ludo=E2=80=99.