guix-commits
[Top][All Lists]
Advanced

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

12/14: gnu: launchmon: Fix compilation with GCC 11.


From: guix-commits
Subject: 12/14: gnu: launchmon: Fix compilation with GCC 11.
Date: Wed, 15 Nov 2023 05:38:03 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit aaee0e4af3809f8dbefb5d6efe251f0d73f8ed95
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Nov 14 19:52:29 2023 +0100

    gnu: launchmon: Fix compilation with GCC 11.
    
    * gnu/packages/admin.scm (launchmon)[arguments]: New field.
    
    Change-Id: I30665896ef90e74b91055c85bcfe991af24f3a38
---
 gnu/packages/admin.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index afbcf7fda6..6dbd6a116b 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4432,6 +4432,9 @@ late.")
                      " *lmonpl = '\\0'"))
                   #t))))
     (build-system gnu-build-system)
+    (arguments
+     ;; GCC 11 defaults to c++17 but this package needs something older.
+     (list #:configure-flags #~'("CXXFLAGS=-std=c++14 -O2 -g")))
     (inputs
      (list openmpi
            munge
@@ -4439,7 +4442,7 @@ late.")
            libelf
            libgcrypt
            libgpg-error))
-    (synopsis "Infrastructue for large scale tool daemon launching")
+    (synopsis "Infrastructure for large-scale tool daemon launching")
     (description
      "LaunchMON is a software infrastructure that enables HPC run-time
 tools to co-locate tool daemons with a parallel job.  Its API allows a



reply via email to

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