Skip to content

Commit

Permalink
adding easyconfigs: Fortran-stdlib-0.7.0-GCC-13.2.0.eb, Fortran-stdli…
Browse files Browse the repository at this point in the history
…b-0.7.0-intel-compilers-2023.2.1.eb, fypp-3.2-GCCcore-13.2.0.eb
  • Loading branch information
SimonPinches committed Nov 23, 2024
1 parent efd43a3 commit a8b2172
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
easyblock = 'CMakeNinja'

name = 'Fortran-stdlib'
version = '0.7.0'

homepage = 'https://awvwgk.github.io/stdlib-docs/en/index.html'
description = """Community driven and agreed upon de facto "standard" library for Fortran"""

toolchain = {'name': 'GCC', 'version': '13.2.0'}
toolchainopts = {} # toolchain options, e.g. opt, pic, usempi, optarch, ...

source_urls = ['https://github.com/fortran-lang/stdlib/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
checksums = ['07615b1fd0d9c78f04ec5a26234d091cb7e359933ba2caee311dcd6f58d87af0']

builddependencies = [
('CMake', '3.27.6'),
('Ninja', '1.11.1'),
('fypp', '3.2'),
]

configopts = '-DBUILD_SHARED_LIBS=on '

sanity_check_paths = {
'files': ['include/fortran_stdlib/GNU-13.2.0/stdlib_version.mod', 'lib/libfortran_stdlib.%s' % SHLIB_EXT],
'dirs': ['include', 'lib', 'share'],
}

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
easyblock = 'CMakeNinja'

name = 'Fortran-stdlib'
version = '0.7.0'

homepage = 'https://awvwgk.github.io/stdlib-docs/en/index.html'
description = """Community driven and agreed upon de facto "standard" library for Fortran"""

toolchain = {'name': 'intel-compilers', 'version': '2023.2.1'}
toolchainopts = {} # toolchain options, e.g. opt, pic, usempi, optarch, ...

source_urls = ['https://github.com/fortran-lang/stdlib/archive/refs/tags/']
sources = ['v%(version)s.tar.gz']
checksums = ['07615b1fd0d9c78f04ec5a26234d091cb7e359933ba2caee311dcd6f58d87af0']

builddependencies = [
('CMake', '3.27.6'),
('Ninja', '1.11.1'),
('fypp', '3.2'),
]

configopts = '-DBUILD_SHARED_LIBS=on '

sanity_check_paths = {
'files': ['include/fortran_stdlib/Intel-2021.10.0.20230609/stdlib_version.mod',
'lib/libfortran_stdlib.%s' % SHLIB_EXT],
'dirs': ['include', 'lib', 'share'],
}

moduleclass = 'lib'
22 changes: 22 additions & 0 deletions easybuild/easyconfigs/f/fypp/fypp-3.2-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
easyblock = 'PythonPackage'

name = 'fypp'
version = '3.2'

homepage = 'https://fypp.readthedocs.io/en/stable/index.html'
description = """Fypp is a Python powered preprocessor primarily focused on Fortran."""

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

sources = [SOURCELOWER_TAR_GZ]
checksums = ['05c20f71dd9a7206ffe2d8688032723f97b8c2984d472ba045819d7d2b513bce']

dependencies = [
('Python', '3.11.5'),
]

use_pip = True
download_dep_fail = True
sanity_pip_check = True

moduleclass = 'tools'

0 comments on commit a8b2172

Please sign in to comment.