diff options
author | Takahiro Ueda <tueda@users.noreply.github.com> | 2021-10-03 17:45:33 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-03 08:45:33 +0000 |
commit | d603f4519dd7cef04eec4e12cfb38c33d33ab771 (patch) | |
tree | 5dd25ee8fdbb947c914f8afcc37df978c8c7056c | |
parent | d4b3724557f5983175a7a3feda1c732c84f71747 (diff) | |
download | spack-d603f4519dd7cef04eec4e12cfb38c33d33ab771.tar.gz spack-d603f4519dd7cef04eec4e12cfb38c33d33ab771.tar.bz2 spack-d603f4519dd7cef04eec4e12cfb38c33d33ab771.tar.xz spack-d603f4519dd7cef04eec4e12cfb38c33d33ab771.zip |
form: use version tarballs, fix and enable gmp and zlib variants (#26425)
Co-authored-by: Bernhard Kaindl <43588962+bernhardkaindl@users.noreply.github.com>
Co-authored-by: iarspider <iarspider@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/form/package.py | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/var/spack/repos/builtin/packages/form/package.py b/var/spack/repos/builtin/packages/form/package.py index d94e2c9058..943fac1528 100644 --- a/var/spack/repos/builtin/packages/form/package.py +++ b/var/spack/repos/builtin/packages/form/package.py @@ -10,22 +10,19 @@ class Form(AutotoolsPackage): """FORM is a Symbolic Manipulation System.""" homepage = "https://www.nikhef.nl/~form/" - url = "https://github.com/vermaseren/form/archive/v4.2.1.tar.gz" - maintainers = ['iarspider'] - - version('4.2.1', sha256='6f32c7470d00e8ab6934dc352f5a78e29290146a00e5775f8cd5fef7810bbbb8') - version('4.1-20131025', sha256='caece2c6e605ccf32eb3612c4ed5c9257a7a62824ad219c5e46b6d00066f1ba6') - - depends_on('autoconf', type='build') - depends_on('automake', type='build') - depends_on('libtool', type='build') - depends_on('m4', type='build') - depends_on('gmp', type='link', when='+zlib') - depends_on('zlib', type='link', when='+gmp') + url = "https://github.com/vermaseren/form/releases/download/v4.2.1/form-4.2.1.tar.gz" + maintainers = ['iarspider', 'tueda'] + + version('4.2.1', sha256='f2722d6d4ccb034e01cf786d55342e1c21ff55b182a4825adf05d50702ab1a28') + version('4.1-20131025', sha256='fb3470937d66ed5cb1af896b15058836d2c805d767adac1b9073ed2df731cbe9', + url='https://github.com/vermaseren/form/releases/download/v4.1-20131025/form-4.1.tar.gz') + + depends_on('gmp', type='link', when='+gmp') + depends_on('zlib', type='link', when='+zlib') depends_on('mpi', type='link', when='+parform') - variant('gmp', default=False, description='Use GMP for long integer arithmetic') - variant('zlib', default=False, description='Use zlib for compression') + variant('gmp', default=True, description='Use GMP for long integer arithmetic') + variant('zlib', default=True, description='Use zlib for compression') variant('scalar', default=True, description='Build scalar version (form)') variant('threaded', default=True, description='Build threaded version (tform)') variant('parform', default=False, description='Build parallel version using MPI (parform)') |