emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66462: closed ([PATCH] gnu: trilinos-for-dealii-openmpi: Fix build.)


From: GNU bug Tracking System
Subject: bug#66462: closed ([PATCH] gnu: trilinos-for-dealii-openmpi: Fix build.)
Date: Fri, 20 Oct 2023 22:31:02 +0000

Your message dated Sat, 21 Oct 2023 00:30:10 +0200
with message-id <87mswdrkp9.fsf@gnu.org>
and subject line Re: [bug#66462] [PATCH v2] gnu: trilinos-for-dealii-openmpi: 
Fix build.
has caused the debbugs.gnu.org bug report #66462,
regarding [PATCH] gnu: trilinos-for-dealii-openmpi: Fix build.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
66462: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66462
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: trilinos-for-dealii-openmpi: Fix build. Date: Wed, 11 Oct 2023 12:15:05 +0000
This fixes the following error:

  error: ‘std::hypot’ has not been declared

* gnu/packages/maths.scm (trilinos-for-dealii-openmpi)[native-inputs]:
Remove gcc-7.
---
 gnu/packages/maths.scm | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 928e169e95..f37ca4d716 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6435,9 +6435,6 @@ (define trilinos-for-dealii-openmpi
     (build-system cmake-build-system)
     (native-inputs
      (list
-      ;; The build fails with the current gcc.
-      ;; Use the version from when Trilinos was added.
-      gcc-7
       gfortran
       ;; Trilinos's repository contains several C-shell scripts, but adding
       ;; tcsh to the native inputs does not result in the check phase running

base-commit: f4e8baf3806e79d7111d2943859865ae4ee0b59d
-- 
2.41.0





--- End Message ---
--- Begin Message --- Subject: Re: [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’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]