diff options
author | David Beckingsale <davidbeckingsale@gmail.com> | 2016-08-23 08:18:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-23 08:18:26 -0700 |
commit | 243d516bf029287158903e88985442d8581d0adf (patch) | |
tree | b3823f3cce24a19a9f7b0c5c2e0399151331ece0 /var | |
parent | e81f3daa2836c4eb8a7d4e6d0f2cfc6b65875612 (diff) | |
download | spack-243d516bf029287158903e88985442d8581d0adf.tar.gz spack-243d516bf029287158903e88985442d8581d0adf.tar.bz2 spack-243d516bf029287158903e88985442d8581d0adf.tar.xz spack-243d516bf029287158903e88985442d8581d0adf.zip |
Ensure RAJA builds out-of-source
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/raja/package.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/raja/package.py b/var/spack/repos/builtin/packages/raja/package.py index e9db4b4fc8..dccf9a581c 100644 --- a/var/spack/repos/builtin/packages/raja/package.py +++ b/var/spack/repos/builtin/packages/raja/package.py @@ -32,6 +32,7 @@ class Raja(Package): version('git', git='https://github.com/LLNL/RAJA.git', branch="master") def install(self, spec, prefix): - cmake('.', *std_cmake_args) - make() - make('install') + with working_dir('build', create=True): + cmake('..', *std_cmake_args) + make() + make('install') |