netcdf: fix missing CC = mpicc ; this makes it work with Intel MPI (#3942)
This commit is contained in:
parent
a2135dff49
commit
6017a6a6fe
@ -34,7 +34,7 @@ class Netcdf(AutotoolsPackage):
|
||||
url = "http://www.gfd-dennou.org/arch/netcdf/unidata-mirror/netcdf-4.3.3.tar.gz"
|
||||
|
||||
# Version 4.4.1.1 is having problems in tests
|
||||
# https://github.com/Unidata/netcdf-c/issues/343
|
||||
# https://github.com/Unidata/netcdf-c/issues/343
|
||||
version('4.4.1.1', '503a2d6b6035d116ed53b1d80c811bda')
|
||||
# netcdf@4.4.1 can crash on you (in real life and in tests). See:
|
||||
# https://github.com/Unidata/netcdf-c/issues/282
|
||||
@ -137,6 +137,7 @@ def configure_args(self):
|
||||
|
||||
if '+mpi' in spec:
|
||||
config_args.append('--enable-parallel4')
|
||||
config_args.append('CC=%s' % spec['mpi'].mpicc)
|
||||
|
||||
CPPFLAGS.append("-I%s/include" % spec['hdf5'].prefix)
|
||||
LDFLAGS.append("-L%s/lib" % spec['hdf5'].prefix)
|
||||
|
Loading…
Reference in New Issue
Block a user