From 7a20e579785aa6e09d2617e082cdcb4db83452f0 Mon Sep 17 00:00:00 2001 From: Pavel Tomanek Date: Thu, 5 Dec 2024 11:08:36 +0100 Subject: [PATCH] adding easyconfigs: OPEN-SURFEX-8.1.0-GCCcore-12.3.0.eb --- .../OPEN-SURFEX-8.1.0-GCCcore-12.3.0.eb | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 easybuild/easyconfigs/o/OPEN-SURFEX/OPEN-SURFEX-8.1.0-GCCcore-12.3.0.eb diff --git a/easybuild/easyconfigs/o/OPEN-SURFEX/OPEN-SURFEX-8.1.0-GCCcore-12.3.0.eb b/easybuild/easyconfigs/o/OPEN-SURFEX/OPEN-SURFEX-8.1.0-GCCcore-12.3.0.eb new file mode 100644 index 00000000000..86382c4106b --- /dev/null +++ b/easybuild/easyconfigs/o/OPEN-SURFEX/OPEN-SURFEX-8.1.0-GCCcore-12.3.0.eb @@ -0,0 +1,39 @@ +easyblock = 'CMakeMake' + +name = 'OPEN-SURFEX' +version = '8.1.0' +local_commit = '70d2395' + +homepage = 'https://github.com/joewkr/open-SURFEX' +description = """ +SURFEX (SURFace EXternalisée) is a modelling platform that parametrizes land and water surfaces. +SURFEX is being developed by Météo-France and Open-SURFEX is a freely available SURFEX version +released under terms of CECILL-C Licence. +""" + +toolchain = {'name': 'GCCcore', 'version': '12.3.0'} + +source_urls = ['https://github.com/joewkr/open-SURFEX/archive/'] +sources = [{'download_filename': '%s.tar.gz' % local_commit, 'filename': SOURCE_TAR_GZ}] +checksums = ['44341eee2ae952a21cc0055533c1ea7b3ef27fc88b716b46f88ca339a7bfebe1'] + +builddependencies = [ + ('binutils', '2.40'), + ('CMake', '3.26.3'), +] + +build_cmd = 'cmake --build .' +install_cmd = 'cmake --build . --target install' + +sanity_check_paths = { + 'files': ['bin/PGD', 'bin/PREP', 'bin/OFFLINE'], + 'dirs': ['lib'], +} + +modextrapaths = { + 'PATH': 'lib/surfex/bin', + 'CPATH': 'lib/surfex/include', + 'LD_LIBRARY_PATH': 'lib/surfex/lib', +} + +moduleclass = 'geo'