Skip to content
Snippets Groups Projects
Commit 42640519 authored by Denis Davydov's avatar Denis Davydov Committed by Todd Gamblin
Browse files

fix usage of self.build_directory in espressopp and astyle (#3053)

parent b1f5b5f7
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ def build_directory(self):
return join_path(self.stage.source_path, 'build', self.compiler.name)
def edit(self, spec, prefix):
makefile = join_path(self.build_directory(), 'Makefile')
makefile = join_path(self.build_directory, 'Makefile')
filter_file(r'^CXX\s*=.*', 'CXX=%s' % spack_cxx, makefile)
# strangely enough install -o $(USER) -g $(USER) stoped working on OSX
if sys.platform == 'darwin':
......
......@@ -72,7 +72,7 @@ def cmake_args(self):
return ['-DEXTERNAL_MPI4PY=ON', '-DEXTERNAL_BOOST=ON']
def build(self, spec, prefix):
with working_dir(self.build_directory()):
with working_dir(self.build_directory):
make()
if '+ug' in spec:
make("ug", parallel=False)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment