added relion 3.0.8 [latest stable version in 3.0 branch] as well as 3.1_beta (#13539)

* added relion 3.0.8 [latest stable version in 3.0 branch] as well as 3.1_beta

* relion 3.1 beta compiles without Benchmarking build type see https://github.com/3dem/relion/issues/533

* relion 3.0.X - 3.1 now supports latest cmake@3
This commit is contained in:
Douglas Duckworth 2019-11-05 13:40:27 -05:00 committed by Adam J. Stewart
parent a6ccb5b2fa
commit 54e1d57647

View file

@ -15,10 +15,18 @@ class Relion(CMakePackage, CudaPackage):
homepage = "http://http://www2.mrc-lmb.cam.ac.uk/relion" homepage = "http://http://www2.mrc-lmb.cam.ac.uk/relion"
git = "https://github.com/3dem/relion.git" git = "https://github.com/3dem/relion.git"
# 3.1 is beta but referenced in published papers
# prefer stable 3.0 until no longer beta
version('3.1_beta', branch='ver3.1')
# 3.0.8 latest release in 3.0 branch
# prefer for now
version('3.0.8', tag='3.0.8', preferred=True)
version('3.0.7', tag='3.0.7') version('3.0.7', tag='3.0.7')
# relion has no develop branch though pulling from master
# should be considered the same as develop # relion master contains development code
version('develop', branch='master') # contains 3.0 branch code
version('master')
variant('gui', default=True, description="build the gui") variant('gui', default=True, description="build the gui")
variant('cuda', default=True, description="enable compute on gpu") variant('cuda', default=True, description="enable compute on gpu")
@ -34,9 +42,7 @@ class Relion(CMakePackage, CudaPackage):
'Profiling', 'Benchmarking')) 'Profiling', 'Benchmarking'))
depends_on('mpi') depends_on('mpi')
# relion will not build with newer versions of cmake depends_on('cmake@3:', type='build')
# per https://github.com/3dem/relion/issues/380
depends_on('cmake@3:3.9.4', type='build')
depends_on('fftw precision=float,double') depends_on('fftw precision=float,double')
depends_on('fltk', when='+gui') depends_on('fltk', when='+gui')
depends_on('libtiff') depends_on('libtiff')