x265/3.5-cpeGNU-24.03 (x265-3.5-cpeGNU-24.03.eb)
To access module help and find out for which stacks and partitions the module is
installed, use module spider x265/3.5-cpeGNU-24.03
.
EasyConfig:
easyblock = 'CMakeMake'
local_x265_version = '3.5' # http://download.videolan.org/pub/videolan/x265/
name = 'x265'
version = local_x265_version
homepage = 'http://x265.org/'
whatis = [
"Description: x265 is a free library and application for H.265 AVC encoding, made by the VideoLAN organization",
"This module provides both the command line tool and static and shared libraries"
]
description = """
x265 is a free software library and application for encoding video streams into
the H.265 AVC compression format, and is released under the terms of the
GNU GPL. It is developed by the VideoLAN organization.
This module provides the encodign tool x265 and static and shared libraries.
"""
examples = """
Documentation for the x265 command line tool is available through the --help
command line option.
Both the command line tool and API are also documented on the web.
"""
docurls = [
'Web-based documentation: http://x265.readthedocs.io/en/default/',
]
software_license_urls = [
f'https://bitbucket.org/multicoreware/x265_git/src/{version}/COPYING',
]
toolchain = {'name': 'cpeGNU', 'version': '24.03'}
toolchainopts = {'pic': True}
source_urls = ['https://bitbucket.org/multicoreware/x265_git/downloads/']
sources = ['%(name)s_%(version)s.tar.gz']
checksums = ['e70a3335cacacbba0b3a20ec6fecd6783932288ebc8163ad74bcc9606477cae8']
builddependencies = [ # Create a reproducible build environment.
('buildtools', '%(toolchain_version)s', '', True), # For CMake and YAsm
]
#osdependencies = [
# ('numactl-devel'), # Optional dependency, but can benefit from libnuma and its header file
#]
start_dir = 'source'
# Doesn't need MPI, ROCm or BLAS, and module unload never fails so this is safe.
preconfigopts = 'module unload cray-libsci cray-mpich rocm xpmem && '
prebuildopts = preconfigopts
#installopts = ' && cp ../COPYING %(installdir)s'
postinstallcmds = [
'mkdir -p %(installdir)s/share/licenses/%(name)s',
'cd ../%(namelower)s_%(version)s && cp COPYING %(installdir)s/share/licenses/%(name)s',
]
sanity_check_paths = {
'files': ['bin/x265', 'include/x265_config.h', 'include/x265.h', 'lib/libx265.a', 'lib/libx265.%s' % SHLIB_EXT,
f'share/licenses/{name}/COPYING'],
'dirs': [],
}
moduleclass = 'vis'