Skip to content

Commit

Permalink
update to libjxl 0.5 + disable building of man pages (fixes easybuild…
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed Aug 25, 2021
1 parent 83f5f34 commit 1516795
Showing 1 changed file with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
easyblock = 'CMakeMake'

name = 'libjxl'
version = '0.3.7'
version = '0.5'
local_lodepng_version = "48e5364"

homepage = 'https://github.com/libjxl/libjxl'

description = """JPEG XL image format reference implementation"""
description = "JPEG XL image format reference implementation"

toolchain = {'name': 'GCCcore', 'version': '10.3.0'}
toolchainopts = {'optarch': False} # optarch causes some test failures
Expand All @@ -20,14 +19,10 @@ sources = [
'source_urls': ['https://github.com/lvandeve/lodepng/tarball/'],
'extract_cmd': 'tar -C libjxl-%(version)s/third_party/lodepng --strip-components=1 -xf %s'},
]
patches = [
'libjxl-%(version)s_openexr-3.0_compat.patch',
'libjxl-%(version)s_external_lcms2.patch',
]
patches = ['libjxl-0.3.7_external_lcms2.patch']
checksums = [
'8318a5d1ce82e5683a52512b6f242d2b33a1191e89fc76f7c0ead0a1d60f6c60', # v0.3.7.tar.gz
'911cb4b50eb621131ca22382166f40d4914a4ff4453dd299ade1e3292f311f89', # v0.5.tar.gz
'f38176fc103fe1f6d23ba6addd5b14e6a54d546dfaa64663306acfe7b6d912ea', # lodepng-48e5364.tar.gz
'b5bf92b8eb8f41e7cedce1b43ea3fe7a9407d3cc0e29bb2afec652cabe084cee', # libjxl-0.3.7_openexr-3.0_compat.patch
'9e6decaf6be74eeccfd5728df175930b4be33de6cbdf9e1816f68cb4b718fa1b', # libjxl-0.3.7_external_lcms2.patch
]

Expand All @@ -51,7 +46,9 @@ dependencies = [
('gperftools', '2.9.1'),
]

configopts = '-DJPEGXL_WARNINGS_AS_ERRORS=OFF -DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_SKCMS=OFF'
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'

runtest = "test"

Expand Down

0 comments on commit 1516795

Please sign in to comment.