Merge branch 'it4i-karolina'

This commit is contained in:
Jakub Kropacek 2022-11-26 21:21:28 +01:00
commit 6ad99cc096
2 changed files with 0 additions and 83 deletions

View File

@ -1,50 +0,0 @@
easyblock = 'ConfigureMake'
name = 'FFmpeg'
version = '5.0.1'
versionsuffix = '-CUDA-%(cudaver)s'
homepage = 'https://www.ffmpeg.org/'
description = "A complete, cross-platform solution to record, convert and stream audio and video."
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = [
'https://%(namelower)s.org/releases/',
]
sources = [SOURCELOWER_TAR_BZ2]
checksums = ['28df33d400a1c1c1b20d07a99197809a3b88ef765f5f07dc1ff067fac64c59d6']
builddependencies = [
('binutils', '2.38'),
('pkgconf', '1.8.0'),
]
dependencies = [
('CUDA', '11.7.0', '', True),
('nvcodec', '11.1.5.1', '', True),
('NASM', '2.15.05'),
('zlib', '1.2.12'),
('bzip2', '1.0.8'),
('x264', '20220620'),
('LAME', '3.100'),
('x265', '3.5'),
('X11', '20220504'),
('freetype', '2.12.1'),
('fontconfig', '2.14.0'),
('FriBidi', '1.0.12'),
]
configopts = '--enable-pic --enable-shared --enable-gpl --enable-version3 --enable-nonfree --cc="$CC" --cxx="$CXX" '
configopts += '--enable-libx264 --enable-libx265 --enable-libmp3lame --enable-libfreetype --enable-fontconfig '
configopts += '--enable-libfribidi '
configopts += '--enable-cuda-nvcc --enable-cuvid --enable-nvenc --enable-nvdec --enable-libnpp '
configopts += '--extra-cflags=-I${EBROOTCUDA}/include --extra-ldflags=-L${EBROOTCUDA}/lib64 '
sanity_check_paths = {
'files': ['bin/ff%s' % x for x in ['mpeg', 'probe']] +
['lib/lib%s.%s' % (x, y) for x in ['avdevice', 'avfilter', 'avformat', 'avcodec', 'postproc',
'swresample', 'swscale', 'avutil'] for y in [SHLIB_EXT, 'a']],
'dirs': ['include']
}
moduleclass = 'vis'

View File

@ -1,33 +0,0 @@
# IT4Innovations 2022
# JK
easyblock = 'ConfigureMake'
name = 'nvcodec'
version = '11.1.5.1'
homepage = 'https://www.ffmpeg.org/'
description = "FFmpeg version of headers required to interface with Nvidias codec APIs."
toolchain = SYSTEM
source_urls = ['https://github.com/FFmpeg/nv-codec-headers/releases/download/n%(version)s/']
sources = ['nv-codec-headers-%(version)s.tar.gz']
checksums = ['a28cdde3ac0e9e02c2dde7a1b4de5333b4ac6148a8332ca712da243a3361a0d9']
builddependencies = [
('binutils', '2.38'),
]
dependencies = [
('CUDA', '11.7.0', '', True),
]
skipsteps = ['configure']
installopts = " PREFIX=%(installdir)s "
sanity_check_paths = {
'files': [],
'dirs': ['include', 'lib'],
}
moduleclass = 'lib'