From da0e8ad729564632adede56a10618881982e9f43 Mon Sep 17 00:00:00 2001 From: Simon Pinches Date: Sat, 17 Aug 2024 13:14:15 +0200 Subject: [PATCH] adding easyconfigs: libcerf-2.4-GCC-13.2.0.eb, libcerf-2.4-intel-compilers-2023.2.1.eb --- .../l/libcerf/libcerf-2.4-GCC-13.2.0.eb | 35 +++++++++++++++++++ .../libcerf-2.4-intel-compilers-2023.2.1.eb | 35 +++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 easybuild/easyconfigs/l/libcerf/libcerf-2.4-GCC-13.2.0.eb create mode 100644 easybuild/easyconfigs/l/libcerf/libcerf-2.4-intel-compilers-2023.2.1.eb diff --git a/easybuild/easyconfigs/l/libcerf/libcerf-2.4-GCC-13.2.0.eb b/easybuild/easyconfigs/l/libcerf/libcerf-2.4-GCC-13.2.0.eb new file mode 100644 index 00000000000..b243dd96a06 --- /dev/null +++ b/easybuild/easyconfigs/l/libcerf/libcerf-2.4-GCC-13.2.0.eb @@ -0,0 +1,35 @@ +easyblock = 'CMakeMake' + +name = 'libcerf' +version = '2.4' + +homepage = 'https://jugit.fz-juelich.de/mlz/libcerf' + +description = """ + libcerf is a self-contained numeric library that provides an efficient and + accurate implementation of complex error functions, along with Dawson, + Faddeeva, and Voigt functions. +""" + +toolchain = {'name': 'GCC', 'version': '13.2.0'} +toolchainopts = {'pic': True} + +source_urls = ['https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v%(version)s/'] +sources = ['libcerf-v%(version)s.tar.gz'] +checksums = ['080b30ae564c3dabe3b89264522adaf5647ec754021572bee54929697b276cdc'] + +builddependencies = [ + ('binutils', '2.40'), + ('CMake', '3.27.6'), + ('Perl', '5.38.0'), # required for pod2html +] + +installopts = ' && $FC -c %(builddir)s/%(name)s-v%(version)s/fortran/ccerflib_f95_interface/use_libcerf_mod.f90 ' +installopts += '-J %(installdir)s/include' + +sanity_check_paths = { + 'files': ['lib/libcerf.%s' % SHLIB_EXT, 'include/use_libcerf.mod'], + 'dirs': ['include', 'lib', 'share'] +} + +moduleclass = 'math' diff --git a/easybuild/easyconfigs/l/libcerf/libcerf-2.4-intel-compilers-2023.2.1.eb b/easybuild/easyconfigs/l/libcerf/libcerf-2.4-intel-compilers-2023.2.1.eb new file mode 100644 index 00000000000..7485cfa240c --- /dev/null +++ b/easybuild/easyconfigs/l/libcerf/libcerf-2.4-intel-compilers-2023.2.1.eb @@ -0,0 +1,35 @@ +easyblock = 'CMakeMake' + +name = 'libcerf' +version = '2.4' + +homepage = 'https://jugit.fz-juelich.de/mlz/libcerf' + +description = """ + libcerf is a self-contained numeric library that provides an efficient and + accurate implementation of complex error functions, along with Dawson, + Faddeeva, and Voigt functions. +""" + +toolchain = {'name': 'intel-compilers', 'version': '2023.2.1'} +toolchainopts = {'pic': True} + +source_urls = ['https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v%(version)s/'] +sources = ['libcerf-v%(version)s.tar.gz'] +checksums = ['080b30ae564c3dabe3b89264522adaf5647ec754021572bee54929697b276cdc'] + +builddependencies = [ + ('binutils', '2.40'), + ('CMake', '3.27.6'), + ('Perl', '5.38.0'), # required for pod2html +] + +installopts = ' && $FC -c %(builddir)s/%(name)s-v%(version)s/fortran/ccerflib_f95_interface/use_libcerf_mod.f90 ' +installopts += '-module %(installdir)s/include' + +sanity_check_paths = { + 'files': ['lib/libcerf.%s' % SHLIB_EXT, 'include/use_libcerf.mod'], + 'dirs': ['include', 'lib', 'share'] +} + +moduleclass = 'math'