Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/j/Jansson/Jansson-2.13.1-GCC-11.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Contribution from Imperial College London
# uploaded by J. Sassmannshausen

easyblock = 'CMakeMake'

name = 'Jansson'
version = "2.13.1"

homepage = 'https://www.digip.org/jansson/'
description = """Jansson is a C library for encoding, decoding and manipulating JSON data.
Its main features and design principles are:
* Simple and intuitive API and data model
* Comprehensive documentation
* No dependencies on other libraries
* Full Unicode support (UTF-8)
* Extensive test suite"""

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

source_urls = ['https://github.com/akheron/jansson/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['f22901582138e3203959c9257cf83eba9929ac41d7be4a42557213a22ebcc7a0']

# For configure, the ld.gold linker does not know anything about --default-symver and thus crashes
# So we simnply use the bfd linker
# preconfigopts = 'autoreconf -i && CC="$CC -fuse-ld=bfd" '
# This is not required with CMake

builddependencies = [('CMake', '3.22.1')]

configopts = '-DJANSSON_BUILD_SHARED_LIBS=ON '

sanity_check_paths = {
'files': ['lib/libjansson.%s' % SHLIB_EXT],
'dirs': ['include'],
}

runtest = 'check'

moduleclass = 'data'
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/j/Jansson/Jansson-2.14-GCC-11.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Contribution from Imperial College London
# uploaded by J. Sassmannshausen

easyblock = 'CMakeMake'

name = 'Jansson'
version = "2.14"

homepage = 'https://www.digip.org/jansson/'
description = """Jansson is a C library for encoding, decoding and manipulating JSON data.
Its main features and design principles are:
* Simple and intuitive API and data model
* Comprehensive documentation
* No dependencies on other libraries
* Full Unicode support (UTF-8)
* Extensive test suite"""

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

source_urls = ['https://github.com/akheron/jansson/archive/']
sources = ['v%(version)s.tar.gz']
checksums = ['c739578bf6b764aa0752db9a2fdadcfe921c78f1228c7ec0bb47fa804c55d17b']

# For configure, the ld.gold linker does not know anything about --default-symver and thus crashes
# So we simnply use the bfd linker
# preconfigopts = 'autoreconf -i && CC="$CC -fuse-ld=bfd" '
# This is not required with CMake

builddependencies = [('CMake', '3.23.1')]

configopts = '-DJANSSON_BUILD_SHARED_LIBS=ON '

sanity_check_paths = {
'files': ['lib/libjansson.%s' % SHLIB_EXT],
'dirs': ['include'],
}

runtest = 'check'

moduleclass = 'data'