Skip to content
Snippets Groups Projects
Unverified Commit 7585b378 authored by Greg Becker's avatar Greg Becker Committed by GitHub
Browse files

do out of source builds in hashed directories (#18574)

parent 58fb6cda
No related branches found
No related tags found
No related merge requests found
......@@ -314,7 +314,8 @@ def build_directory(self):
:return: directory where to build the package
"""
return os.path.join(self.stage.path, 'spack-build')
dirname = 'spack-build=%s' % self.spec.dag_hash(7)
return os.path.join(self.stage.path, dirname)
def cmake_args(self):
"""Produces a list containing all the arguments that must be passed to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment