summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-10-21 13:01:55 +0200
committeralalazo <massimiliano.culpo@googlemail.com>2016-10-21 13:01:55 +0200
commit2251428f0a92a33567edd68a04c03ebc356d04c0 (patch)
tree74212ee9a945f75b7df11a5cd299f7bfd19bc4ad
parent5ce3071143f3d5542e136f723175e64110a717eb (diff)
downloadspack-2251428f0a92a33567edd68a04c03ebc356d04c0.tar.gz
spack-2251428f0a92a33567edd68a04c03ebc356d04c0.tar.bz2
spack-2251428f0a92a33567edd68a04c03ebc356d04c0.tar.xz
spack-2251428f0a92a33567edd68a04c03ebc356d04c0.zip
CMakePackage : changed `list()` to []
-rw-r--r--lib/spack/spack/package.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index 4872b24984..a0cc8e68c8 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -1088,8 +1088,6 @@ class PackageBase(object):
finally:
self.prefix_lock.release_write()
- install_phases = set(['configure', 'build', 'install', 'provenance'])
-
def do_install(self,
keep_prefix=False,
keep_stage=False,
@@ -1171,7 +1169,6 @@ class PackageBase(object):
# Set parallelism before starting build.
self.make_jobs = make_jobs
- # ------------------- BEGIN def build_process()
# Then install the package itself.
def build_process():
"""Forked for each build. Has its own process and python
@@ -1778,7 +1775,7 @@ class CMakePackage(PackageBase):
return join_path(self.stage.source_path, 'spack-build')
def cmake_args(self):
- return list()
+ return []
def cmake(self, spec, prefix):
options = [self.root_cmakelists_dir()] + self.std_cmake_args + \