2019-12-31 14:36:56 +08:00
|
|
|
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2016-07-27 05:18:37 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2016-07-27 05:18:37 +08:00
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
2017-08-05 23:15:18 +08:00
|
|
|
class BppPhyl(CMakePackage):
|
2016-07-27 05:18:37 +08:00
|
|
|
"""Bio++ phylogeny library."""
|
|
|
|
|
|
|
|
homepage = "http://biopp.univ-montp2.fr/wiki/index.php/Installation"
|
|
|
|
url = "http://biopp.univ-montp2.fr/repos/sources/bpp-phyl-2.2.0.tar.gz"
|
|
|
|
|
2019-10-11 13:44:41 +08:00
|
|
|
version('2.2.0', sha256='f346d87bbc7858924f3c99d7d74eb4a1f7a1b926746c68d8c28e07396c64237b')
|
2016-07-27 05:18:37 +08:00
|
|
|
|
2017-08-05 23:15:18 +08:00
|
|
|
depends_on('cmake@2.6:', type='build')
|
2016-07-27 05:18:37 +08:00
|
|
|
depends_on('bpp-core')
|
|
|
|
depends_on('bpp-seq')
|
|
|
|
|
2019-10-23 22:36:01 +08:00
|
|
|
# Clarify isnan's namespace, because Fujitsu compiler can't
|
|
|
|
# resolve ambiguous of 'isnan' function.
|
|
|
|
patch('clarify_isnan.patch', when='%fj')
|
|
|
|
|
2017-08-05 23:15:18 +08:00
|
|
|
def cmake_args(self):
|
|
|
|
return ['-DBUILD_TESTING=FALSE']
|