diff options
author | ilbiondo <61497728+ilbiondo@users.noreply.github.com> | 2020-07-30 05:20:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-29 22:20:44 -0500 |
commit | d61f362211a62f6a6126ec33cbbc97604358f6f7 (patch) | |
tree | dc30bcb8a41757701ea63bb9ec218b644972eac9 /var | |
parent | 8ea597c79a45a7ae7b594cbb532fa527815b63c4 (diff) | |
download | spack-d61f362211a62f6a6126ec33cbbc97604358f6f7.tar.gz spack-d61f362211a62f6a6126ec33cbbc97604358f6f7.tar.bz2 spack-d61f362211a62f6a6126ec33cbbc97604358f6f7.tar.xz spack-d61f362211a62f6a6126ec33cbbc97604358f6f7.zip |
Updated iq-tree package (#17690)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/iq-tree/package.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/iq-tree/package.py b/var/spack/repos/builtin/packages/iq-tree/package.py index 9058a66f10..010ccdcae0 100644 --- a/var/spack/repos/builtin/packages/iq-tree/package.py +++ b/var/spack/repos/builtin/packages/iq-tree/package.py @@ -14,10 +14,12 @@ class IqTree(CMakePackage): git = "https://github.com/Cibiv/IQ-TREE.git" 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') variant('openmp', default=True, description='Enable OpenMP support.') variant('mpi', default=False, description='Enable MPI support.') + variant('lsd2', default=True, description='Axctivate Least Squares Dating.') maintainers = ['ilbiondo'] @@ -30,13 +32,13 @@ class IqTree(CMakePackage): def cmake_args(self): - # Note that one has to specify "single" to get a single - # threaded build. Otherwise OpenMP is assumed - spec = self.spec args = [] iqflags = [] + if '+lsd2' in spec: + args.append('-DUSE_LSD2=ON') + if '+openmp' in spec: iqflags.append('omp') |