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'