netcdf: fix missing CC = mpicc ; this makes it work with Intel MPI (#3942)

This commit is contained in:
Denis Davydov 2017-04-21 23:43:27 +02:00 committed by Todd Gamblin
parent a2135dff49
commit 6017a6a6fe

View File

@ -137,6 +137,7 @@ def configure_args(self):
if '+mpi' in spec: if '+mpi' in spec:
config_args.append('--enable-parallel4') config_args.append('--enable-parallel4')
config_args.append('CC=%s' % spec['mpi'].mpicc)
CPPFLAGS.append("-I%s/include" % spec['hdf5'].prefix) CPPFLAGS.append("-I%s/include" % spec['hdf5'].prefix)
LDFLAGS.append("-L%s/lib" % spec['hdf5'].prefix) LDFLAGS.append("-L%s/lib" % spec['hdf5'].prefix)