easyconfigs-it4i/ARCHIVE/y/Yade/Yade-2016.06a-foss-2016b-Python-2.7.12.eb
Lukas Krupcik 182459da35 deleted: "a/ANSYS/\\"
deleted:    a/Anaconda2/Anaconda2-4.4.0.eb
	deleted:    a/Anaconda3/Anaconda3-2019.10.eb
	deleted:    a/Anaconda3/Anaconda3-4.4.0.eb
	deleted:    a/Anaconda3/Anaconda3-5.3.1.eb
	deleted:    a/Autotools/Autotools-20150215-GCC-6.3.0-2.27.eb
	deleted:    a/Autotools/Autotools-20170619.eb
	deleted:    a/Autotools/Autotools-20180311.eb
2022-05-05 11:22:37 +02:00

76 lines
2.4 KiB
Plaintext

easyblock = 'CMakeMake'
name = 'Yade'
version = '2016.06a'
versionsuffix = '-Python-%(local_pyver)s'
homepage = 'https://yade-dem.org/doc/'
description = """ Yade is an extensible open-source framework for discrete numerical models,
focused on Discrete Element Method. The local_computation parts are written in c++ using flexible object model,
allowing independent implementation of new alogrithms and interfaces.
Python is used for rapid and concise scene construction, simulation control, postprocessing and debugging. """
toolchain = {'name': 'foss', 'version': '2016b'}
source_urls = ['https://launchpad.net/yade/trunk/yade-1.00.0/+download/']
sources = [SOURCELOWER_TAR_GZ]
patches = ['Yade-%(version)s_include-signal.patch']
dependencies = [
('Boost', '1.61.0', versionsuffix),
('bzip2', '1.0.6'),
('CGAL', '4.8.1', versionsuffix),
('GDB', '7.11.1', versionsuffix),
('GL2PS', '1.3.9'),
('GTS', '0.7.6'),
('IPython', '5.1.0', versionsuffix),
('libQGLViewer', '2.6.3'),
('Loki', '0.1.7'),
('matplotlib', '1.5.2', versionsuffix),
('minieigen', '0.5.3', versionsuffix),
('PyGTS', '0.3.1', versionsuffix),
('Python', '2.7.12'),
('Qt5', '5.7.0'),
('SQLite', '3.13.0'),
('VTK', '6.3.0', versionsuffix),
('zlib', '1.2.8'),
]
builddependencies = [
('CMake', '3.6.1'),
('Eigen', '3.2.9'),
]
separate_build_dir = True
configopts = '-DENABLE_GUI=OFF -DENABLE_LINSOLV=OFF -DENABLE_PFVFLOW=OFF '
configopts += '-DCGAL_INCLUDE_DIR=$EBROOTCGAL/include '
configopts += '-DGMP_INCLUDE_DIR=$EBROOTGMP/include -DGMP_LIBRARIES=$EBROOTGMP/lib -DGMPXX_LIBRARIES=$EBROOTGMP/lib '
modextrapaths = {
'LD_LIBRARY_PATH': [
'lib64/lib64/yade-%(version)s',
'lib/x86_64-linux-gnu/yade-%(version)s'],
'LIBRARY_PATH': [
'lib64/lib64/yade-%(version)s',
'lib/x86_64-linux-gnu/yade-%(version)s'],
'PYTHONPATH': [
'lib/x86_64-linux-gnu/yade-%(version)s/py',
'lib64/yade-%(version)s/py'],
}
sanity_check_paths = {
'files': [
'bin/yade-%(version)s',
'bin/yade-%(version)s-batch',
('lib/x86_64-linux-gnu/yade-%%(version)s/libyade.%s' %
SHLIB_EXT,
'lib64/yade-%%(version)s/libyade.%s' %
SHLIB_EXT)],
'dirs': [
('lib/x86_64-linux-gnu/yade-%(version)s/py/yade',
'lib64/yade-%(version)s/py/yade')],
}
moduleclass = 'devel'