summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorperrymil <61604258+perrymil@users.noreply.github.com>2020-12-04 13:56:24 -0800
committerGitHub <noreply@github.com>2020-12-04 22:56:24 +0100
commitfbb127c46a78493a6204adb74d752939758dbe37 (patch)
tree2776b5b02a73ea2149b8e09779c42f8bb26f2e1f /var
parent0dd628d0d3bb2bb923e774d60c61487849814bdc (diff)
downloadspack-fbb127c46a78493a6204adb74d752939758dbe37.tar.gz
spack-fbb127c46a78493a6204adb74d752939758dbe37.tar.bz2
spack-fbb127c46a78493a6204adb74d752939758dbe37.tar.xz
spack-fbb127c46a78493a6204adb74d752939758dbe37.zip
raxml-ng: new package at v1.0.1 (#20223)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/raxml-ng/package.py34
1 files changed, 34 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/raxml-ng/package.py b/var/spack/repos/builtin/packages/raxml-ng/package.py
new file mode 100644
index 0000000000..677050816e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/raxml-ng/package.py
@@ -0,0 +1,34 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RaxmlNg(CMakePackage):
+ """RAxML-NG is a phylogenetic tree inference tool which uses
+ maximum-likelihood (ML) optimality criterion.
+
+ Its search heuristic is based on iteratively performing a series
+ of Subtree Pruning and Regrafting (SPR) moves,
+ which allows to quickly navigate to the best-known ML tree.
+ RAxML-NG is a successor of RAxML (Stamatakis 2014) and leverages
+ the highly optimized likelihood computation implemented in libpll
+ (Flouri et al. 2014)."""
+
+ homepage = "https://github.com/amkozlov/raxml-ng/wiki"
+ url = "https://github.com/amkozlov/raxml-ng/archive/1.0.1.tar.gz"
+ git = "https://github.com/amkozlov/raxml-ng.git"
+
+ version('1.0.1', submodules='True')
+
+ variant("mpi", default=True, description="Use MPI")
+
+ depends_on('bison')
+ depends_on('flex')
+ depends_on('gmp')
+ depends_on('mpi', when='+mpi')
+
+ def cmake_args(self):
+ return [self.define_from_variants('USE_MPI', 'mpi')]