summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorFrank Willmore <frankwillmore@gmail.com>2022-05-03 20:13:43 -0500
committerGitHub <noreply@github.com>2022-05-03 19:13:43 -0600
commita6589daa87c82e3cfe927576396fed30da4a73af (patch)
tree7673e70bfcc07df554b71810d2b0f465d2d14d05 /var
parent43a503c1958047efb869b41343d3ff85b2cbf9de (diff)
downloadspack-a6589daa87c82e3cfe927576396fed30da4a73af.tar.gz
spack-a6589daa87c82e3cfe927576396fed30da4a73af.tar.bz2
spack-a6589daa87c82e3cfe927576396fed30da4a73af.tar.xz
spack-a6589daa87c82e3cfe927576396fed30da4a73af.zip
Vacuumms 1.1.1 (#30458)
* adding updated package for vacuumms * deprecating old version * add link to DOI * style: trailing whitespace * Update var/spack/repos/builtin/packages/vacuumms/package.py Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/vacuumms/package.py27
1 files changed, 21 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/vacuumms/package.py b/var/spack/repos/builtin/packages/vacuumms/package.py
index 64da1ef6a4..4a67ddfdc8 100644
--- a/var/spack/repos/builtin/packages/vacuumms/package.py
+++ b/var/spack/repos/builtin/packages/vacuumms/package.py
@@ -2,8 +2,6 @@
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-
-
from spack import *
@@ -11,7 +9,11 @@ class Vacuumms(CMakePackage):
"""VACUUMMS: (Void Analysis Codes and Unix Utilities for Molecular Modeling and
Simulation) is a collection of research codes for the compuational analysis of
free volume in molecular structures, including the generation of code for the
- production of high quality ray-traced images and videos."""
+ production of high quality ray-traced images and videos. Note that production of the
+ images from the generated code is considered post-processing and requires POVRay
+ and feh (on X11 systems) as post-processing dependencies. VACUUMMS has been tested
+ under Linux on x86_64 and ARM64. Please submit questions, pull requests, and bug
+ reports via github. https://dl.acm.org/doi/abs/10.1145/2335755.2335826"""
homepage = "https://github.com/frankwillmore/VACUUMMS"
url = "https://github.com/frankwillmore/VACUUMMS/archive/refs/tags/v1.0.0.tar.gz"
@@ -20,6 +22,19 @@ class Vacuumms(CMakePackage):
maintainers = ['frankwillmore']
version('master', branch='master')
- version('1.0.0', 'c18fe52f5041880da7f50d3808d37afb3e9c936a56f80f67838d045bf7af372f')
-
- depends_on('libtiff')
+ version('1.1.1', tag='v1.1.1')
+ version('1.0.0', 'c18fe52f5041880da7f50d3808d37afb3e9c936a56f80f67838d045bf7af372f', deprecated=True)
+
+ variant('tiff', default=False, description='Build TIFF utilities')
+ variant('cuda', default=False, description='Build CUDA applications and utilities')
+
+ depends_on('libtiff', type=('link', 'run'), when='+tiff')
+ depends_on('cuda', type=('link', 'run'), when='+cuda')
+ depends_on('libx11', type=('link', 'run'))
+ depends_on('libxext', type=('link', 'run'))
+ depends_on('libsm', type=('link', 'run'))
+ depends_on('libice', type=('link', 'run'))
+
+ def cmake_args(self):
+ return [self.define_from_variant('BUILD_CUDA_COMPONENTS', 'cuda'),
+ self.define_from_variant('BUILD_TIFF_UTILS', 'tiff')]