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
1 change: 1 addition & 0 deletions easybuild/easyconfigs/g/GDAL/GDAL-3.5.0-foss-2022a.eb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ dependencies = [
('SciPy-bundle', '2022.05'),
('HDF5', '1.12.2'),
('HDF', '4.2.15'),
('OpenJPEG', '2.5.0'),
]

preconfigopts = r"sed -e 's/-llapack/\$LIBLAPACK/g' -i.eb configure && "
Expand Down
1 change: 1 addition & 0 deletions easybuild/easyconfigs/g/GDAL/GDAL-3.6.2-foss-2022b.eb
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ dependencies = [
('Brunsli', '0.1'),
('Qhull', '2020.2'),
('LERC', '4.0.0'),
('OpenJPEG', '2.5.0'),
]

# common configopts for static, shared library builds
Expand Down
42 changes: 42 additions & 0 deletions easybuild/easyconfigs/o/OpenJPEG/OpenJPEG-2.5.0-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
easyblock = 'CMakeMake'

name = 'OpenJPEG'
version = '2.5.0'

homepage = 'https://www.openjpeg.org/'
description = """OpenJPEG is an open-source JPEG 2000 codec written in
C language. It has been developed in order to promote the use of JPEG 2000,
a still-image compression standard from the Joint Photographic Experts Group
(JPEG). Since may 2015, it is officially recognized by ISO/IEC and ITU-T as
a JPEG 2000 Reference Software."""

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}
toolchainopts = {'pic': True}

source_urls = ['https://github.com/uclouvain/%(namelower)s/archive']
sources = ['v%(version)s.tar.gz']
checksums = ['0333806d6adecc6f7a91243b2b839ff4d2053823634d4f6ed7a59bc87409122a']

builddependencies = [
('binutils', '2.39'),
('CMake', '3.24.3'),
]
# for running the binary of openjpeg like opj_compress you need the libraries like zlib etc.
dependencies = [
('zlib', '1.2.12'),
('libpng', '1.6.38'),
('LibTIFF', '4.4.0'),
]

sanity_check_paths = {
'files': [
'bin/opj_compress',
'bin/opj_decompress',
'bin/opj_dump',
'include/openjpeg-%(version_major)s.%(version_minor)s/openjpeg.h',
'lib/libopenjp2.%s' % SHLIB_EXT
],
'dirs': ['bin', 'include', 'lib'],
}

moduleclass = 'lib'