Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{lib}[GCCcore/12.3.0] libjxl v0.8.2 #20560

Closed
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
54 changes: 54 additions & 0 deletions easybuild/easyconfigs/l/libjxl/libjxl-0.8.2-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
easyblock = 'CMakeMake'

name = 'libjxl'
version = '0.8.2'

homepage = 'https://github.com/libjxl/libjxl'
description = "JPEG XL image format reference implementation"

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

github_account = 'libjxl'
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['c70916fb3ed43784eb840f82f05d390053a558e2da106e40863919238fa7b420']

builddependencies = [
('binutils', '2.40'),
('CMake', '3.26.3'),
('googletest', '1.13.0'),
('pkgconf', '1.9.5'),
('Highway', '1.0.4'), # Highway only has a static library
]

dependencies = [
('LittleCMS', '2.15'),
('Brotli', '1.0.9'),
('libjpeg-turbo', '2.1.5.1'),
('libpng', '1.6.39'),
('zlib', '1.2.13'),
('giflib', '5.2.1'),
('libwebp', '1.3.1'),
('OpenEXR', '3.1.7'),
('gperftools', '2.12'),
]

configopts = '-DJPEGXL_WARNINGS_AS_ERRORS=OFF -DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_SKCMS=OFF '
# building man pages requires/uses asciidoc (which may be installed in OS, and may fail)
configopts += '-DJPEGXL_ENABLE_MANPAGES=OFF '
configopts += '-DJPEGXL_FORCE_SYSTEM_BROTLI=ON -DJPEGXL_FORCE_SYSTEM_HWY=ON '
configopts += '-DJPEGXL_FORCE_SYSTEM_GTEST=ON -DJPEGXL_FORCE_SYSTEM_LCMS2=ON '
# we need to use the dynamic Webpg libraties as the static ones don't seem to have been build with -fPIE
configopts += '-DWebP_STATIC_LINK_LIBRARY=OFF '

sanity_check_paths = {
'files': ['bin/cjxl', 'bin/djxl', 'lib/libjxl.%s' % SHLIB_EXT],
'dirs': ['include/jxl'],
}

sanity_check_commands = [
"cjxl --help",
"djxl --help",
]

moduleclass = 'lib'
Loading