
* LBANN: add python dependency and required python library dependencies * LBANN: add version 0.99 as alias for develop branch * LBANN: build Conduit library by default * LBANN: CUB is included with Hydrogen for later versions * New package: py-graphviz (dependency for LBANN) * New package: py-texttable (dependency for LBANN) * New package: py-onnx (dependency for LBANN) * New package: py-typing-extensions (dependency for py-onnx) * Conduit: add version 0.4.0 * NCCL: Add versions 2.4.6-1 and 2.4.2-1 * Protobuf: Add versions 3.7.1 and 3.7.0 * py-protobuf: add version 3.7.1 * py-typing: add version 3.6.4 * cuDNN: add versions. The source differs depending on the architecture, so the versions include a suffix to encode this. For example this adds 7.5.1-10.1-x86_64 as well as 7.5.1-10.1-ppc64le * cuDNN: Newer versions require newer versions of CUDA * Hydrogen: add configure options for CUB and Aluminum
34 lines
1.4 KiB
Python
34 lines
1.4 KiB
Python
# Copyright 2013-2019 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 PyGraphviz(PythonPackage):
|
|
"""Simple Python interface for Graphviz"""
|
|
|
|
homepage = "https://github.com/xflr6/graphviz"
|
|
url = "https://pypi.io/packages/source/g/graphviz/graphviz-0.10.1.zip"
|
|
|
|
version('0.10.1', sha256='d311be4fddfe832a56986ac5e1d6e8715d7fcb0208560da79d1bb0f72abef41f')
|
|
|
|
variant('dev', default=False, description='development mode')
|
|
variant('docs', default=False, description='build documentation')
|
|
|
|
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
|
|
depends_on('py-setuptools', type='build')
|
|
depends_on('py-tox@3.0:', type=('build', 'run'), when='+dev')
|
|
depends_on('py-flake8', type=('build', 'run'), when='+dev')
|
|
depends_on('py-pep8-naming', type=('build', 'run'), when='+dev')
|
|
depends_on('py-wheel', type=('build', 'run'), when='+dev')
|
|
depends_on('py-twine', type=('build', 'run'), when='+dev')
|
|
depends_on('py-mock@2:', type='test')
|
|
depends_on('py-pytest@3.4:', type='test')
|
|
depends_on('py-pytest-mock@1.8:', type='test')
|
|
depends_on('py-pytest-cov', type='test')
|
|
depends_on('py-sphinx@1.7:', type=('build', 'run'), when='+docs')
|
|
depends_on('py-sphinx-rtd-theme', type=('build', 'run'), when='+docs')
|