fix usage of self.build_directory in espressopp and astyle (#3053)
This commit is contained in:
parent
b1f5b5f75b
commit
4264051954
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user