From cd4eb9f054d0f1b8a878b60daec508adfb144b99 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Tue, 16 Jan 2024 13:32:25 +0100 Subject: [PATCH] adding easyconfigs: YODA-1.9.9-GCC-12.3.0.eb --- .../y/YODA/YODA-1.9.9-GCC-12.3.0.eb | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 easybuild/easyconfigs/y/YODA/YODA-1.9.9-GCC-12.3.0.eb diff --git a/easybuild/easyconfigs/y/YODA/YODA-1.9.9-GCC-12.3.0.eb b/easybuild/easyconfigs/y/YODA/YODA-1.9.9-GCC-12.3.0.eb new file mode 100644 index 00000000000..f05a5831f16 --- /dev/null +++ b/easybuild/easyconfigs/y/YODA/YODA-1.9.9-GCC-12.3.0.eb @@ -0,0 +1,39 @@ +# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild +# Author: Alexander Puck Neuwirth + +easyblock = 'ConfigureMake' + +name = 'YODA' +version = '1.9.9' + +homepage = 'https://yoda.hepforge.org/' +description = """ +Yet more Objects for (High Energy Physics) Data Analysis +""" + +toolchain = {'name': 'GCC', 'version': '12.3.0'} +toolchainopts = {'optarch': True, 'pic': True} + +source_urls = ['https://yoda.hepforge.org/downloads?f='] +sources = ['%(name)s-%(version)s.tar.bz2'] +checksums = ['79054152ef806f26e646b89f14834e5c'] + +builddependencies = [ + ('Autotools', '20220317'), +] + +dependencies = [ + ('Python', '3.11.3') +] +configopts = "--disable-root --enable-pyext --disable-static" +buildopts = "YODA_PYTHONPATH=%(installdir)s/lib/python%(pyshortver)s/site-packages" +installopts = buildopts + +sanity_check_paths = { + 'files': ['bin/yoda-config', 'lib/libYODA.%s' % SHLIB_EXT], + 'dirs': ['lib/python%(pyshortver)s/site-packages'] +} +sanity_check_commands = ["python -c 'import yoda'"] + +modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'} +moduleclass = 'phys'