summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <christoph.junghans@gmail.com>2018-04-16 15:56:37 -0600
committerGitHub <noreply@github.com>2018-04-16 15:56:37 -0600
commitb6d3feba20fc4eaf687925ce24ad3637b9479184 (patch)
tree57abdcbfdf331924f78a6098e89aa8f5d05f245e
parente94808a56000054c29da57c6e5bce09da335a2ee (diff)
downloadspack-b6d3feba20fc4eaf687925ce24ad3637b9479184.tar.gz
spack-b6d3feba20fc4eaf687925ce24ad3637b9479184.tar.bz2
spack-b6d3feba20fc4eaf687925ce24ad3637b9479184.tar.xz
spack-b6d3feba20fc4eaf687925ce24ad3637b9479184.zip
ospac: fix compiler usage and install (#7776)
-rw-r--r--var/spack/repos/builtin/packages/eospac/package.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/eospac/package.py b/var/spack/repos/builtin/packages/eospac/package.py
index f2ac07bcdc..b3eb1f84ab 100644
--- a/var/spack/repos/builtin/packages/eospac/package.py
+++ b/var/spack/repos/builtin/packages/eospac/package.py
@@ -42,4 +42,13 @@ class Eospac(Package):
def install(self, spec, prefix):
with working_dir('Source'):
- make('prefix=%s' % self.spec.prefix, 'install')
+ make('install',
+ 'CC={0}'.format(spack_cc),
+ 'CXX={0}'.format(spack_cxx),
+ 'F77={0}'.format(spack_f77),
+ 'F90={0}'.format(spack_fc),
+ 'prefix={0}'.format(prefix),
+ 'INSTALLED_LIBRARY_DIR={0}'.format(prefix.lib),
+ 'INSTALLED_INCLUDE_DIR={0}'.format(prefix.include),
+ 'INSTALLED_EXAMPLE_DIR={0}'.format(prefix.example),
+ 'INSTALLED_BIN_DIR={0}'.format(prefix.bin))