mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: launchmon: Fix build with GCC 7.
* gnu/packages/admin.scm (launchmon)[source](modules, snippet): New fields.
This commit is contained in:
parent
39356057bc
commit
989d564f44
1 changed files with 10 additions and 1 deletions
|
@ -3170,7 +3170,16 @@ (define-public launchmon
|
|||
version "/launchmon-v" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0fm3nd9mydm9v2bf7bh01dbgrfnpwkapxa3dsvy3x1z0rz61qc0x"))))
|
||||
"0fm3nd9mydm9v2bf7bh01dbgrfnpwkapxa3dsvy3x1z0rz61qc0x"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
;; Fix build failure with GCC 7 due to a conversion error.
|
||||
;; Remove for versions > 1.0.2.
|
||||
(substitute* "launchmon/src/linux/lmon_api/lmon_coloc_spawner.cxx"
|
||||
((" lmonpl = '\\\\0'")
|
||||
" *lmonpl = '\\0'"))
|
||||
#t))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("mpi" ,openmpi)
|
||||
|
|
Loading…
Reference in a new issue