[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66462: [PATCH v2] gnu: trilinos-for-dealii-openmpi: Fix build.
From: |
Ludovic Courtès |
Subject: |
bug#66462: [PATCH v2] gnu: trilinos-for-dealii-openmpi: Fix build. |
Date: |
Sat, 21 Oct 2023 00:30:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
"Paul A. Patience" <paul@apatience.com> skribis:
> From 5db42d95a19640a2b60bdefc88f201b5422ea6f6 Mon Sep 17 00:00:00 2001
> Message-ID:
> <5db42d95a19640a2b60bdefc88f201b5422ea6f6.1697139938.git.paul@apatience.com>
> From: "Paul A. Patience" <paul@apatience.com>
> Date: Thu, 12 Oct 2023 10:02:25 -0400
> Subject: [PATCH v2] gnu: trilinos-for-dealii-openmpi: Fix build.
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> This fixes the error
>
> error: ‘std::hypot’ has not been declared
>
> caused by using an older version of gcc, but requires some patches to
> placate newer versions of gcc.
>
> * gnu/packages/maths.scm (trilinos-for-dealii-openmpi)[origin]: Add
> patches.
> [native-inputs]: Remove gcc-7.
> * gnu/packages/patches/teuchos-remove-duplicate-using.patch: New file.
> * gnu/packages/patches/tpetra-remove-duplicate-using.patch: Likewise.
> * gnu/local.mk (dist_patch_DATA): Register them.
Applied, thanks!
Ludo’.