netcdf: fix missing CC = mpicc ; this makes it work with Intel MPI (#3942)
This commit is contained in:
parent
a2135dff49
commit
6017a6a6fe
@ -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