
* Separate Apple Clang from LLVM Clang Apple Clang is a compiler of its own. All places referring to "-apple" suffix have been updated. * Hack to use a dash in 'apple-clang' To be able to use autodoc from Sphinx we need a valid Python name for the module that contains Apple's Clang code. * Updated packages to account for the existence of apple-clang Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Added unit test for XCode related functions Co-authored-by: Gregory Becker <becker33@llnl.gov> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
40 lines
1.3 KiB
Python
40 lines
1.3 KiB
Python
# 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 Bucky(MakefilePackage):
|
|
"""BUCKy is a free program to combine molecular data from multiple loci.
|
|
BUCKy estimates the dominant history of sampled individuals, and how
|
|
much of the genome supports each relationship, using Bayesian
|
|
concordance analysis."""
|
|
|
|
homepage = "http://www.stat.wisc.edu/~ane/bucky/index.html"
|
|
url = "http://dstats.net/download/http://www.stat.wisc.edu/~ane/bucky/v1.4/bucky-1.4.4.tgz"
|
|
|
|
version('1.4.4', sha256='1621fee0d42314d9aa45d0082b358d4531e7d1d1a0089c807c1b21fbdc4e4592')
|
|
|
|
# Compilation requires gcc
|
|
conflicts('%cce')
|
|
conflicts('%apple-clang')
|
|
conflicts('%clang')
|
|
conflicts('%intel')
|
|
conflicts('%nag')
|
|
conflicts('%pgi')
|
|
conflicts('%xl')
|
|
conflicts('%xl_r')
|
|
|
|
build_directory = 'src'
|
|
|
|
def install(self, spec, prefix):
|
|
with working_dir('src'):
|
|
mkdirp(prefix.bin)
|
|
install('bucky', prefix.bin)
|
|
install('mbsum', prefix.bin)
|
|
install_tree('data', prefix.data)
|
|
install_tree('doc', prefix.doc)
|
|
install_tree('scripts', prefix.scripts)
|