mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-16 19:50:50 +01:00
75 lines
2.3 KiB
Plaintext
75 lines
2.3 KiB
Plaintext
easyblock = 'CMakeMake'
|
|
|
|
name = 'Yade'
|
|
version = '2016.06a'
|
|
versionsuffix = '-Python-%(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': 'intel', '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),
|
|
('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'
|