Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{data,lib}[GCCcore/12.3.0,foss/2023a] FOX-Toolkit v1.6.58, SUMO v1.20.0 #21472

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
easyblock = 'ConfigureMake'

name = 'FOX-Toolkit'
version = '1.6.58'

homepage = 'https://www.fox-toolkit.org/'
description = """FOX is a C++ based Toolkit for developing Graphical User Interfaces easily and
effectively. It offers a wide, and growing, collection of Controls, and
provides state of the art facilities such as drag and drop, selection, as well
as OpenGL widgets for 3D graphical manipulation. FOX also implements icons,
images, and user-convenience features such as status line help, and tooltips."""

toolchain = {'name': 'GCCcore', 'version': '12.3.0'}

source_urls = ['http://fox-toolkit.org/ftp']
sources = ['fox-%(version)s.tar.gz']
checksums = ['5a734b84d76d2f8e334e26ff85dd3950d3fedf53057a4d4b19fd4a712c8d5b81']

builddependencies = [
('binutils', '2.40'),
('Autotools', '20220317'),
]

dependencies = [
('libjpeg-turbo', '2.1.5.1'),
('libpng', '1.6.39'),
('LibTIFF', '4.5.0'),
('libGLU', '9.0.3'),
('X11', '20230603'),
]

preconfigopts = """sed -i '/^CXXFLAGS=""$/d;/LDFLAGS="-s ${LDFLAGS}"/d' configure.ac && """
preconfigopts += "autoreconf -f -i && "

configopts = '--enable-release'

sanity_check_paths = {
'files': ['lib/lib%s-%%(version_major_minor)s.%s' % (n, x) for n in ['CHART', 'FOX'] for x in ['a', SHLIB_EXT]] +
['bin/fox-config'],
'dirs': ['include']
}

moduleclass = 'lib'
51 changes: 51 additions & 0 deletions easybuild/easyconfigs/s/SUMO/SUMO-1.20.0-foss-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
easyblock = 'CMakeMake'

name = 'SUMO'
version = '1.20.0'

homepage = 'https://www.eclipse.org/sumo/'
description = """Simulation of Urban MObility" (SUMO) is an open source, highly portable,
microscopic and continuous traffic simulation package designed to handle large
networks. It allows for intermodal simulation including pedestrians and comes
with a large set of tools for scenario creation."""

toolchain = {'name': 'foss', 'version': '2023a'}

github_account = 'eclipse'
source_urls = [GITHUB_LOWER_SOURCE]
sources = ['v%s.tar.gz' % version.replace('.', '_')]
checksums = ['fa4beb16fbf783582fc722d8c1f4820bd399cba825d6c12cade6e499d5ff4d3f']

builddependencies = [
('CMake', '3.26.3'),
]

dependencies = [
('FOX-Toolkit', '1.6.58'),
('GDAL', '3.7.1'),
('PROJ', '9.2.0'),
('Python', '3.11.3'),
]

local_sumo_home = 'share/sumo'
local_pythonpath = 'lib/python%(pyshortver)s/site-packages'
local_bins = ['activitygen', 'dfrouter', 'duarouter', 'emissionsDrivingCycle', 'emissionsMap', 'jtrrouter',
'marouter', 'netconvert', 'netgenerate', 'od2trips', 'polyconvert', 'sumo', 'sumo-gui']

sanity_check_paths = {
'files': ['bin/%s' % x for x in local_bins] +
['%s/libsumo/_libsumo.%s' % (local_pythonpath, SHLIB_EXT)],
'dirs': [local_sumo_home, local_pythonpath],
}

sanity_check_commands = [
'sumo --help',
"python -c 'import libsumo'",
]

modextrapaths = {
'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
'SUMO_HOME': 'share/sumo',
}

moduleclass = 'data'
Loading