diff options
author | Carlos Bederián <zzzoom@gmail.com> | 2017-02-21 04:19:45 +0200 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-02-20 18:19:45 -0800 |
commit | 6681fc1a477d0db98b8835333bfeecfcf5d2b773 (patch) | |
tree | e9af749175bed2cad7e5101e3f4122827ff78e7b /var | |
parent | d2a52d6dd6232abc0a22ef3413b970b790837dd5 (diff) | |
download | spack-6681fc1a477d0db98b8835333bfeecfcf5d2b773.tar.gz spack-6681fc1a477d0db98b8835333bfeecfcf5d2b773.tar.bz2 spack-6681fc1a477d0db98b8835333bfeecfcf5d2b773.tar.xz spack-6681fc1a477d0db98b8835333bfeecfcf5d2b773.zip |
parallel-netcdf: use spack_cc for sequential code instead of system gcc (#3143)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/parallel-netcdf/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/parallel-netcdf/package.py b/var/spack/repos/builtin/packages/parallel-netcdf/package.py index 0563bd0686..43f93db0c6 100644 --- a/var/spack/repos/builtin/packages/parallel-netcdf/package.py +++ b/var/spack/repos/builtin/packages/parallel-netcdf/package.py @@ -53,6 +53,7 @@ class ParallelNetcdf(AutotoolsPackage): spec = self.spec args = ['--with-mpi={0}'.format(spec['mpi'].prefix)] + args.append('SEQ_CC=%s' % spack_cc) if '+fpic' in spec: args.extend(['CFLAGS=-fPIC', 'CXXFLAGS=-fPIC', 'FFLAGS=-fPIC']) |