Skip to content

Commit

Permalink
adding easyconfigs: json-fortran-8.5.2-GCC-13.2.0.eb, json-fortran-8.…
Browse files Browse the repository at this point in the history
…5.2-intel-compilers-2023.2.1.eb
  • Loading branch information
SimonPinches committed Jun 7, 2024
1 parent 181130e commit a051bd4
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# J. Sassmannshausen (Imperial College London/UK)

easyblock = 'CMakeMake'

name = 'json-fortran'
version = '8.5.2'

homepage = 'https://github.com/jacobwilliams/json-fortran'
description = "JSON-Fortran: A Modern Fortran JSON API"

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

source_urls = ['https://github.com/jacobwilliams/json-fortran/archive/']
sources = ['%(version)s.tar.gz']
checksums = ['ba7243ab28d4d06c5d0baef27dab0041cee0f050dea9ec3a854a03f4e3e9667a']

builddependencies = [
('binutils', '2.40'),
('CMake', '3.27.6'),
]

configopts = '-DUSE_GNU_INSTALL_CONVENTION=TRUE'

runtest = 'check'

sanity_check_paths = {
'files': ['lib/libjsonfortran.a', 'lib/libjsonfortran.%s' % SHLIB_EXT,
'include/json_module.mod', 'include/json_parameters.mod'],
'dirs': ['include'],
}

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# J. Sassmannshausen (Imperial College London/UK)

easyblock = 'CMakeMake'

name = 'json-fortran'
version = '8.5.2'

homepage = 'https://github.com/jacobwilliams/json-fortran'
description = "JSON-Fortran: A Modern Fortran JSON API"

toolchain = {'name': 'intel-compilers', 'version': '2023.2.1'}

source_urls = ['https://github.com/jacobwilliams/json-fortran/archive/']
sources = ['%(version)s.tar.gz']
checksums = ['ba7243ab28d4d06c5d0baef27dab0041cee0f050dea9ec3a854a03f4e3e9667a']

builddependencies = [
('binutils', '2.40'),
('CMake', '3.27.6'),
]

configopts = '-DUSE_GNU_INSTALL_CONVENTION=TRUE'

runtest = 'check'

sanity_check_paths = {
'files': ['lib/libjsonfortran.a', 'lib/libjsonfortran.%s' % SHLIB_EXT,
'include/json_module.mod', 'include/json_parameters.mod'],
'dirs': ['include'],
}

moduleclass = 'lib'

0 comments on commit a051bd4

Please sign in to comment.