gnu: netcdf-parallel-openmpi: Build shared library.

* gnu/packages/maths.scm (netcdf-parallel-openmpi) [arguments]: Enable
building of shared library.

Change-Id: I6e901d5939108421e041252207f10f4800890e97
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Romain GARBAGE 2024-09-24 13:12:27 +02:00 committed by Ludovic Courtès
parent 210bbf9a39
commit c51d7fd569
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2363,8 +2363,9 @@ (define-public netcdf-parallel-openmpi
((#:configure-flags flags)
`(cons* "CC=mpicc" "CXX=mpicxx"
"--enable-parallel-tests"
;; Shared libraries not supported with parallel IO.
"--disable-shared" "--with-pic"
;; NetCDF supports both parallel and shared library building
;; See https://docs.unidata.ucar.edu/nug/current/getting_and_building_netcdf.html#build_parallel
"--enable-shared" "--with-pic"
,flags))
((#:phases phases '%standard-phases)
`(modify-phases ,phases