Updated iq-tree package (#17690)
This commit is contained in:
parent
8ea597c79a
commit
d61f362211
@ -14,10 +14,12 @@ class IqTree(CMakePackage):
|
|||||||
git = "https://github.com/Cibiv/IQ-TREE.git"
|
git = "https://github.com/Cibiv/IQ-TREE.git"
|
||||||
url = "https://github.com/Cibiv/IQ-TREE/archive/v1.6.12.tar.gz"
|
url = "https://github.com/Cibiv/IQ-TREE/archive/v1.6.12.tar.gz"
|
||||||
|
|
||||||
|
version('2.0.6', tag='v2.0.6', submodules=True)
|
||||||
version('1.6.12', sha256='9614092de7a157de82c9cc402b19cc8bfa0cb0ffc93b91817875c2b4bb46a284')
|
version('1.6.12', sha256='9614092de7a157de82c9cc402b19cc8bfa0cb0ffc93b91817875c2b4bb46a284')
|
||||||
|
|
||||||
variant('openmp', default=True, description='Enable OpenMP support.')
|
variant('openmp', default=True, description='Enable OpenMP support.')
|
||||||
variant('mpi', default=False, description='Enable MPI support.')
|
variant('mpi', default=False, description='Enable MPI support.')
|
||||||
|
variant('lsd2', default=True, description='Axctivate Least Squares Dating.')
|
||||||
|
|
||||||
maintainers = ['ilbiondo']
|
maintainers = ['ilbiondo']
|
||||||
|
|
||||||
@ -30,13 +32,13 @@ class IqTree(CMakePackage):
|
|||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
|
|
||||||
# Note that one has to specify "single" to get a single
|
|
||||||
# threaded build. Otherwise OpenMP is assumed
|
|
||||||
|
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
args = []
|
args = []
|
||||||
iqflags = []
|
iqflags = []
|
||||||
|
|
||||||
|
if '+lsd2' in spec:
|
||||||
|
args.append('-DUSE_LSD2=ON')
|
||||||
|
|
||||||
if '+openmp' in spec:
|
if '+openmp' in spec:
|
||||||
iqflags.append('omp')
|
iqflags.append('omp')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user