nektools: add 'visit' variant (#23088)

This commit is contained in:
Massimiliano Culpo 2021-04-19 20:37:55 +02:00 committed by GitHub
parent 7fffa4a1e6
commit 6ecec24105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ def is_integral(x):
class Nektools(Package):
"""Tools reuqired by Nek5000"""
"""Tools required by Nek5000"""
homepage = "https://nek5000.mcs.anl.gov/"
url = 'https://github.com/Nek5000/Nek5000/archive/v17.0.tar.gz'
@ -50,6 +50,7 @@ class Nektools(Package):
variant('genmap', default=True, description='Build genmap tool.')
variant('nekmerge', default=True, description='Build nekmerge tool.')
variant('prenek', default=True, description='Build prenek tool.')
variant('visit', default=False, description='Enable support for visit')
depends_on('libx11', when="+prenek")
depends_on('libx11', when="+postnek")