Ensure RAJA builds out-of-source

This commit is contained in:
David Beckingsale 2016-08-23 08:18:26 -07:00 committed by GitHub
parent e81f3daa28
commit 243d516bf0

View file

@ -32,6 +32,7 @@ class Raja(Package):
version('git', git='https://github.com/LLNL/RAJA.git', branch="master") version('git', git='https://github.com/LLNL/RAJA.git', branch="master")
def install(self, spec, prefix): def install(self, spec, prefix):
cmake('.', *std_cmake_args) with working_dir('build', create=True):
cmake('..', *std_cmake_args)
make() make()
make('install') make('install')