summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorDavid Beckingsale <davidbeckingsale@gmail.com>2016-08-23 08:18:26 -0700
committerGitHub <noreply@github.com>2016-08-23 08:18:26 -0700
commit243d516bf029287158903e88985442d8581d0adf (patch)
treeb3823f3cce24a19a9f7b0c5c2e0399151331ece0 /var
parente81f3daa2836c4eb8a7d4e6d0f2cfc6b65875612 (diff)
downloadspack-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.py7
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')