# IT4Innovations # PH 2025 easyblock = 'CMakeMake' name = 'JasPer' version = '4.2.4' homepage = 'https://www.ece.uvic.ca/~frodo/jasper/' description = """ The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard. """ toolchain = {'name': 'GCCcore', 'version': '13.3.0'} import os if os.environ.get("CLUSTERNAME") in ["KAROLINA"]: toolchainopts = {'pic': True, 'optarch': 'march=core-avx2'} else: toolchainopts = {'pic': True} github_account = 'jasper-software' source_urls = [GITHUB_SOURCE] sources = ['version-%(version)s.tar.gz'] checksums = ['23a3d58cdeacf3abdf9fa1d81dcefee58da6ab330940790c0f27019703bfd2cd'] builddependencies = [ ('binutils', '2.42'), ('CMake', '3.29.3'), ] configopts = '-DJAS_ENABLE_DOC=OFF ' sanity_check_paths = { 'files': ['bin/jasper', ('lib/libjasper.%s' % SHLIB_EXT, 'lib64/libjasper.%s' % SHLIB_EXT)], 'dirs': ['include'], } sanity_check_commands = ['jasper --version'] moduleclass = 'vis'