hoomd-blue version bump and compiler updated (#7021)

updated hoomd-blue to latest tagged release in repo.  This version also supports newer gcc6 compilers, so added constraint for older version to avoid breaking existing installs.
This commit is contained in:
Brock Palen 2018-03-08 03:35:59 -05:00 committed by Massimiliano Culpo
parent ad183f652f
commit 732432df50

View File

@ -50,6 +50,7 @@ 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)
variant('mpi', default=True, description='Compile with MPI enabled')
@ -61,11 +62,14 @@ class HoomdBlue(CMakePackage):
# https://gcc.gnu.org/projects/cxx-status.html
conflicts('%gcc@:4.6')
# HOOMD-blue uses hexadecimal floats, which are not technically part of
# the C++11 standard. GCC 6.0+ produces an error when this happens.
# HOOMD-blue 2.1.6 uses hexadecimal floats, which are not technically
# part of the C++11 standard. GCC 6.0+ produces an error when this happens.
# https://bitbucket.org/glotzer/hoomd-blue/issues/239
# https://bugzilla.redhat.com/show_bug.cgi?id=1321986
conflicts('%gcc@6.0:')
conflicts('%gcc@6.0:', when='@2.1.6')
# HOOMD-blue GCC 7+ is not yet supported
conflicts('%gcc@7.0:')
extends('python')
depends_on('python@2.7:')