Skip to content

[nlohmann-json] [package list]

nlohmann-json/3.10.4-cpeGNU-22.08 (nlohmann-json-3.10.4-cpeGNU-22.08.eb)

Install with the EasyBuild-user module:

eb nlohmann-json-3.10.4-cpeGNU-22.08.eb -r
To access module help after installation and get reminded for which stacks and partitions the module is installed, use module spider nlohmann-json/3.10.4-cpeGNU-22.08.

EasyConfig:

# Based on a easyconfig by the Juelich Supercomputing Centre
# Adapted for LUMI by Orian Louant

easyblock = 'CMakeMake'

name = 'nlohmann-json'
version = '3.10.4'

homepage = "https://json.nlohmann.me/"

whatis = ['Description: nlohmann-json is JSON library for modern C++']

description = """
 nlohmann-json is JSON library for modern C++ by Niels Lohmann. The design goals
 are:

  - Intuitive syntax: in languages such as Python, JSON feels like a first class
    data type. We used all the operator magic of modern C++ to achieve the same
    feeling in your code.
  - Trivial integration. Our whole code consists of a single header file 
    json.hpp. That's it. No library, no subproject, no dependencies, no complex
    build system. The class is written in vanilla C++11. All in all, everything
    should require no adjustment of your compiler flags or project settings.
  - Serious testing. Our code is heavily unit-tested and covers 100% of the code,
    including all exceptional behavior. Furthermore, it's checked with Valgrind
    and the Clang Sanitizers that there are no memory leaks.
"""

docurls = ['https://json.nlohmann.me/']
software_license_urls = ['https://json.nlohmann.me/home/license/']

toolchain = {'name': 'cpeGNU', 'version': '22.08'}
toolchainopts = {'pic': True}

source_urls = ['https://github.com/nlohmann/json/archive']
sources = ['v%(version)s.tar.gz']

checksums = ['1155fd1a83049767360e9a120c43c578145db3204d2b309eba49fbbedd0f4ed3']

builddependencies = [
    ('buildtools', '%(toolchain_version)s', '', True),
]

sanity_check_paths = {
    'files': [],
    'dirs': [('include', 'lib64')]
}

[nlohmann-json] [package list]