summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/raja/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/raja/package.py')
-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')