summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhanannjay 'Djay' Deo <dhanannjay.deo@kitware.com>2016-05-04 22:49:47 -0400
committerDhanannjay 'Djay' Deo <dhanannjay.deo@kitware.com>2016-05-04 22:49:47 -0400
commit45e77e7739e3e96b776eb0691daa5cfaaa9e26ce (patch)
treeea7c194319641ea8cc69594a72a999f63baa21d0
parent1785de0f3152a7d853425f07c236faf60eb91e0e (diff)
downloadspack-45e77e7739e3e96b776eb0691daa5cfaaa9e26ce.tar.gz
spack-45e77e7739e3e96b776eb0691daa5cfaaa9e26ce.tar.bz2
spack-45e77e7739e3e96b776eb0691daa5cfaaa9e26ce.tar.xz
spack-45e77e7739e3e96b776eb0691daa5cfaaa9e26ce.zip
Correctly extend std_cmake_args
-rw-r--r--var/spack/repos/builtin/packages/visit/package.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/visit/package.py b/var/spack/repos/builtin/packages/visit/package.py
index 91ffd4c045..14e3b6a0c1 100644
--- a/var/spack/repos/builtin/packages/visit/package.py
+++ b/var/spack/repos/builtin/packages/visit/package.py
@@ -18,13 +18,12 @@ class Visit(Package):
with working_dir('spack-build', create=True):
feature_args = std_cmake_args[:]
- feature_args = ["-DVTK_MAJOR_VERSION=6",
- "-DVTK_MINOR_VERSION=1",
- "-DCMAKE_INSTALL_PREFIX:PATH=%s" % spec.prefix,
- "-DVISIT_LOC_QMAKE_EXE:FILEPATH=%s/qmake-qt4" % spec['qt'].prefix.bin,
- "-DPYTHON_EXECUTABLE:FILEPATH=%s/python" % spec['python'].prefix.bin,
- "-DVISIT_SILO_DIR:PATH=%s" % spec['silo'].prefix,
- "-DVISIT_HDF5_DIR:PATH=%s" % spec['hdf5'].prefix]
+ feature_args.extend(["-DVTK_MAJOR_VERSION=6",
+ "-DVTK_MINOR_VERSION=1",
+ "-DVISIT_LOC_QMAKE_EXE:FILEPATH=%s/qmake-qt4" % spec['qt'].prefix.bin,
+ "-DPYTHON_EXECUTABLE:FILEPATH=%s/python" % spec['python'].prefix.bin,
+ "-DVISIT_SILO_DIR:PATH=%s" % spec['silo'].prefix,
+ "-DVISIT_HDF5_DIR:PATH=%s" % spec['hdf5'].prefix])
cmake('../src', *feature_args)