Skip to content
Snippets Groups Projects
Commit f29a266a authored by Athanasios Karmas's avatar Athanasios Karmas
Browse files

Add new file

parent e4e14369
No related branches found
No related tags found
No related merge requests found
Pipeline #3158 passed with stage
in 1 minute and 37 seconds
# 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 VisionaryDlsCore(Package):
"""Core package that contains dependencies of the core DLS software
ONLY!"""
homepage = ''
# some random tarball, to make `spack fetch --dependencies visionary-defaults` work
url = 'https://github.com/electronicvisions/spack/archive/v0.8.tar.gz'
# This is only a dummy tarball (see difference between version numbers)
# TODO: as soon as a MetaPackage-concept has been merged, please update this package
version('1.0', '372ce038842f20bf0ae02de50c26e85d', url='https://github.com/electronicvisions/spack/archive/v0.8.tar.gz')
# Depend on visionary-nux to enable joint developement of host and PPU code with one meta package
depends_on('visionary-nux ~dev')
# depends_on('libusb-1.0') external dependency
depends_on('bear')
depends_on('bitsery')
depends_on('boost@1.69.0: +graph+icu+mpi+python+numpy+coroutine+context+valgrind cxxstd=17')
depends_on('cereal')
depends_on('cppcheck')
depends_on('doxygen+graphviz')
depends_on('genpybind@visions')
depends_on('gflags')
depends_on('googletest+gmock')
# depends_on('icarus')
depends_on('intel-tbb') # ppu gdbserver
depends_on('libelf')
depends_on('liblockfile')
depends_on('llvm')
depends_on('log4cxx')
depends_on('munge')
depends_on('pkg-config')
depends_on('py-matplotlib')
depends_on('py-nose')
depends_on('py-numpy')
depends_on('py-pybind11')
depends_on('py-pybind11-stubgen')
depends_on('py-pycodestyle')
depends_on('py-pyelftools')
depends_on('py-pylint')
depends_on('py-pynn')
depends_on('py-python-usbtmc')
depends_on('py-scipy')
depends_on('py-sqlalchemy')
depends_on('util-linux') # from lib-rcf
depends_on('yaml-cpp+shared')
##################
# Current fixups #
##################
# intel-mkldnn depends on intel-mkl which also provides blas ->
# concretization error -> reinvestigate when needed
depends_on('py-torch ~mkldnn')
# we only support Python 3.7+!
depends_on('python@3.7.0:')
# xilinx runtime dependencies
depends_on('visionary-xilinx')
def install(self, spec, prefix):
mkdirp(prefix.etc)
# store a copy of this package.
install(__file__, join_path(prefix.etc, spec.name + '.py'))
# we could create some filesystem view here?
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment