summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2016-04-22 04:25:17 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2016-04-21 19:25:17 -0700
commitef9347bcfb52e7f80aacb4ecb63d1536b8aaa3c0 (patch)
tree306f496bc7a19b1b6026234bb586abaea77ba563 /var
parentd5d1e89cbdc64a072096db89c2d78e3e1ddc7700 (diff)
downloadspack-ef9347bcfb52e7f80aacb4ecb63d1536b8aaa3c0.tar.gz
spack-ef9347bcfb52e7f80aacb4ecb63d1536b8aaa3c0.tar.bz2
spack-ef9347bcfb52e7f80aacb4ecb63d1536b8aaa3c0.tar.xz
spack-ef9347bcfb52e7f80aacb4ecb63d1536b8aaa3c0.zip
dealii: set DEAL_II_DIR when loading a module (#816)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/dealii/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dealii/package.py b/var/spack/repos/builtin/packages/dealii/package.py
index b251d50ca1..6810e86868 100644
--- a/var/spack/repos/builtin/packages/dealii/package.py
+++ b/var/spack/repos/builtin/packages/dealii/package.py
@@ -251,3 +251,6 @@ class Dealii(Package):
cmake('.')
make('release')
make('run',parallel=False)
+
+ def setup_environment(self, spack_env, env):
+ env.set('DEAL_II_DIR', self.prefix)