From aaee0e4af3809f8dbefb5d6efe251f0d73f8ed95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 14 Nov 2023 19:52:29 +0100 Subject: [PATCH] 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 @@ (define-public launchmon " *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 @@ (define-public launchmon 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