diff options
author | Dhanannjay Deo <dhanannjay.deo@kitware.com> | 2016-03-29 22:27:16 -0400 |
---|---|---|
committer | Dhanannjay Deo <dhanannjay.deo@kitware.com> | 2016-04-05 15:12:06 -0400 |
commit | 872f049b30cef3395900f57cd98575b8cacfbb36 (patch) | |
tree | 7f254cb0e49d93f2b3f1616362622ab8d3e2ad35 /var | |
parent | 8ef9d685427e60ce5af660be5f27d36683ea8845 (diff) | |
download | spack-872f049b30cef3395900f57cd98575b8cacfbb36.tar.gz spack-872f049b30cef3395900f57cd98575b8cacfbb36.tar.bz2 spack-872f049b30cef3395900f57cd98575b8cacfbb36.tar.xz spack-872f049b30cef3395900f57cd98575b8cacfbb36.zip |
create visit package
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/visit/package.py | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/visit/package.py b/var/spack/repos/builtin/packages/visit/package.py new file mode 100644 index 0000000000..ff80815ae6 --- /dev/null +++ b/var/spack/repos/builtin/packages/visit/package.py @@ -0,0 +1,40 @@ +# FIXME: +# This is a template package file for Spack. We've conveniently +# put "FIXME" labels next to all the things you'll want to change. +# +# Once you've edited all the FIXME's, delete this whole message, +# save this file, and test out your package like this: +# +# spack install visit +# +# You can always get back here to change things with: +# +# spack edit visit +# +# See the spack documentation for more information on building +# packages. +# +from spack import * + + +class Visit(Package): + """VisIt is an Open Source, interactive, scalable, visualization, animation and analysis tool.""" + homepage = "https://wci.llnl.gov/simulation/computer-codes/visit/" + url = "http://portal.nersc.gov/project/visit/releases/2.10.1/visit2.10.1.tar.gz" + + version('2.10.1', '3cbca162fdb0249f17c4456605c4211e') + + depends_on("vtk@7.0") + depends_on("qt@4.8.6") + # FIXME: Add dependencies if this package requires them. + + def install(self, spec, prefix): + # FIXME: Modify the configure line to suit your build system here. + # FIXME: Spack couldn't guess one, so here are some options: + # configure('--prefix=%s' % prefix) + std_cmake_args = [] + cmake('.', *std_cmake_args) + + # FIXME: Add logic to build and install here + make() + make("install") |