diff options
author | Dhanannjay 'Djay' Deo <dhanannjay.deo@kitware.com> | 2016-05-04 22:49:47 -0400 |
---|---|---|
committer | Dhanannjay 'Djay' Deo <dhanannjay.deo@kitware.com> | 2016-05-04 22:49:47 -0400 |
commit | 45e77e7739e3e96b776eb0691daa5cfaaa9e26ce (patch) | |
tree | ea7c194319641ea8cc69594a72a999f63baa21d0 | |
parent | 1785de0f3152a7d853425f07c236faf60eb91e0e (diff) | |
download | spack-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.py | 13 |
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) |