Add top-level attributes for hg, svn, and git A-L packages

This commit is contained in:
Adam J. Stewart
2018-07-23 00:00:15 -07:00
committed by Todd Gamblin
parent 5f00056490
commit 4c6aca533a
152 changed files with 468 additions and 493 deletions

View File

@@ -39,10 +39,6 @@ class HoomdBlue(CMakePackage):
homepage = "http://glotzerlab.engin.umich.edu/hoomd-blue/"
git = "https://bitbucket.org/glotzer/hoomd-blue"
# TODO: There is a bug in Spack that requires a url to be defined
# even if it isn't used. This URL can hopefully be removed someday.
url = "https://bitbucket.org/glotzer/hoomd-blue/get/v2.1.6.tar.bz2"
version('develop', git=git, submodules=True)
# Bitbucket has tarballs for each release, but they cannot be built.
@@ -50,8 +46,8 @@ class HoomdBlue(CMakePackage):
# with a .git directory, causing the build to fail. As a workaround,
# clone a specific tag from Bitbucket instead of using the tarballs.
# https://bitbucket.org/glotzer/hoomd-blue/issues/238
version('2.2.2', git=git, tag='v2.2.2', submodules=True)
version('2.1.6', git=git, tag='v2.1.6', submodules=True)
version('2.2.2', tag='v2.2.2', submodules=True)
version('2.1.6', tag='v2.1.6', submodules=True)
variant('mpi', default=True, description='Compile with MPI enabled')
variant('cuda', default=True, description='Compile with CUDA Toolkit')