added relion v 2.1 (#6023)

* added relion v 2.1

* relion 2.1 - misssed comma

* relion now pulling from master branch - removed 2.03 - added cuda 8 as dependency given 9 does not yet work with relion per https://github.com/3dem/relion/issues/296
This commit is contained in:
Douglas Duckworth 2017-11-05 18:01:21 -05:00 committed by Todd Gamblin
parent 22df09315f
commit ccc51cea7d

View File

@ -32,9 +32,9 @@ class Relion(CMakePackage):
electron cryo-microscopy (cryo-EM)."""
homepage = "http://http://www2.mrc-lmb.cam.ac.uk/relion"
url = "https://github.com/3dem/relion/archive/2.0.3.tar.gz"
url = "https://github.com/3dem/relion"
version('2.0.3', 'c61be5ef00848806278b341f43893f5d')
version('develop', git='https://github.com/3dem/relion.git')
variant('gui', default=True, description="build the gui")
variant('cuda', default=False, description="enable compute on gpu")
@ -48,7 +48,7 @@ class Relion(CMakePackage):
depends_on('mpi')
depends_on('fftw+float+double')
depends_on('fltk', when='+gui')
depends_on('cuda', when='+cuda')
depends_on('cuda@8.0:8.99', when='+cuda')
def cmake_args(self):
args = [