Barvinok: fix pet variant description, add maintainer (#29421)

This commit is contained in:
miheer vaidya 2022-03-21 09:53:44 -06:00 committed by GitHub
parent 9c2465173e
commit 560abdc46d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,16 +10,21 @@ class Barvinok(AutotoolsPackage):
"""barvinok is a library for counting the number of integer points in parametric and
non-parametric polytopes."""
maintainers = ['vmiheer']
homepage = "https://barvinok.gforge.inria.fr"
url = "http://barvinok.gforge.inria.fr/barvinok-0.41.5.tar.bz2"
version('0.41.5', sha256='e70493318fe76c0c202f98d7861bdf5dda8c4d79c21024af2e04b009ffa79734')
variant('pet', default=False, description="Enable an X toolkit")
variant('pet', default=False, description="Enable pet support (Generate polyhedral model from c code)")
depends_on('gmp')
depends_on('ntl')
depends_on('llvm +clang', when='+pet')
depends_on('libyaml', when='+pet')
def setup_build_environment(self, env):
env.set('CFLAGS', '-pthread')
def configure_args(self):
spec = self.spec
args = [