CMakePackage : changed list()
to []
This commit is contained in:
parent
5ce3071143
commit
2251428f0a
@ -1088,8 +1088,6 @@ def _prefix_write_lock(self):
|
|||||||
finally:
|
finally:
|
||||||
self.prefix_lock.release_write()
|
self.prefix_lock.release_write()
|
||||||
|
|
||||||
install_phases = set(['configure', 'build', 'install', 'provenance'])
|
|
||||||
|
|
||||||
def do_install(self,
|
def do_install(self,
|
||||||
keep_prefix=False,
|
keep_prefix=False,
|
||||||
keep_stage=False,
|
keep_stage=False,
|
||||||
@ -1171,7 +1169,6 @@ def do_install(self,
|
|||||||
# Set parallelism before starting build.
|
# Set parallelism before starting build.
|
||||||
self.make_jobs = make_jobs
|
self.make_jobs = make_jobs
|
||||||
|
|
||||||
# ------------------- BEGIN def build_process()
|
|
||||||
# Then install the package itself.
|
# Then install the package itself.
|
||||||
def build_process():
|
def build_process():
|
||||||
"""Forked for each build. Has its own process and python
|
"""Forked for each build. Has its own process and python
|
||||||
@ -1778,7 +1775,7 @@ def wdir(self):
|
|||||||
return join_path(self.stage.source_path, 'spack-build')
|
return join_path(self.stage.source_path, 'spack-build')
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
return list()
|
return []
|
||||||
|
|
||||||
def cmake(self, spec, prefix):
|
def cmake(self, spec, prefix):
|
||||||
options = [self.root_cmakelists_dir()] + self.std_cmake_args + \
|
options = [self.root_cmakelists_dir()] + self.std_cmake_args + \
|
||||||
|
Loading…
Reference in New Issue
Block a user