mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00

new file: b/BLIS/BLIS-0.8.1_fix_dgemm-fpe-signalling-on-broadwell.patch new file: b/BLIS/BLIS-2.2-GCCcore-10.2.0.eb new file: b/BLIS/BLIS-2.2-amd_fix-undefined-reference-blist-abort.patch new file: b/BLIS/BLIS-3.0.1-GCCcore-10.2.0.eb new file: b/Biopython/Biopython-1.72-foss-2020b-Python-2.7.18.eb new file: c/Cordax/Cordax-1.0-Python-2.7.18.eb new file: d/DFTB+/DFTB+-21.2-intel-2020b-Python-3.8.6.eb new file: d/DFTB+/DFTB+-21.2-intel-2020b-TB.eb new file: d/Dakota/Dakota-6.15.0-fix_lapack_detection.patch new file: d/Dakota/Dakota-6.15.0-foss-2021b.eb new file: d/Dakota/Dakota-6.15.0-intel-2021b.eb new file: e/ELPA/ELPA-2020.11.001-fosscuda-2020b.eb new file: f/FoldX/FoldX-5.0.eb new file: f/Forge/Forge-21.1.3.eb new file: g/GROMACS/GROMACS-2018.8-fosscuda-2020b-PLUMED-2.5.6-switch.eb new file: g/GROMACS/GROMACS-2021.4-foss-2020b-PLUMED-2.7.3.eb new file: h/HDF5/HDF5-1.12.1-NVHPC-21.11.eb new file: h/HDF5/HDF5-1.12.1-foss-2021b-parallel.eb new file: h/HDF5/HDF5-1.12.1-iimpi-2021b.eb new file: h/HDF5/HDF5-1.12.1-intel-2021b-parallel.eb new file: h/HyperQueue/HyperQueue-0.8.0.eb new file: h/Hypre/Hypre-2.23.0-intel-2020b.eb new file: h/h5py/h5py-3.6.0-intel-2021b.eb new file: l/LAPACK/LAPACK-3.10.0-GCC-11.2.0.eb new file: l/libFLAME/libFLAME-5.2.0-GCCcore-10.2.0.eb new file: m/MaSuRCA/MaSuRCA-4.0.7-foss-2020a-Perl-5.30.2.eb new file: m/Molpro/Molpro-mpp-2022.1.1.linux_x86_64_mpipr.eb new file: m/Molpro/Molpro-mpp-2022.1.1.linux_x86_64_sockets.eb new file: n/nompi/nompi-2022a.eb new file: o/ORCA/ORCA-5.0.3-OpenMPI-4.1.1.eb modified: o/Octopus/Octopus-11.3-intel-2020b-mpi.eb new file: o/OpenCV/OpenCV-4.5.3-foss-2021a-CUDA-11.3.1-contrib.eb new file: o/OpenCV/OpenCV-4.5.5-foss-2021a-CUDA-11.4.1-contrib.eb new file: o/OpenMPI/OpenMPI-4.1.1-GCC-11.2.0.eb new file: o/OpenMPI/OpenMPI-4.1.2-GCC-11.2.0-Java-1.8.0_221.eb new file: o/OpenMPI/OpenMPI-4.1.2-GCC-11.2.0.eb modified: p/PETSc/PETSc-3.14.4-intel-2020b.eb modified: p/PLUMED/PLUMED-2.5.6-fosscuda-2020b-patch.eb new file: p/PLUMED/PLUMED-2.5.6-fosscuda-2020b-switch.eb new file: p/PLUMED/PLUMED-2.7.3-foss-2020b.eb modified: p/phonopy/phonopy-2.12.0-conda.eb modified: q/QMCPACK/QMCPACK-3.11.0-intel-2020b-Python-3.8.6.eb new file: q/QMCPACK/QMCPACK-3.12.0-intel-2020b-Python-3.8.6.eb new file: q/QMCPACK/QMCPACK-3.12.0-intel-2021b-Python-3.9.6-lowopt.eb new file: q/QMCPACK/QMCPACK-3.13.0-intel-2020b-Python-3.8.6.eb new file: q/QuantumESPRESSO/QuantumESPRESSO-6.7-intel-2021a.eb new file: q/QuantumESPRESSO/QuantumESPRESSO-7.0-NVHPC-21.9.eb new file: r/rocm-cuda2hip/rocm-cuda2hip-4.3.1-gcccuda-2020b.eb new file: s/ScaLAPACK/ScaLAPACK-2.2-NVHPC-21.11.eb new file: t/Tango/Tango.eb new file: t/Tensorflow/TensorFlow-2.5.0-fosscuda-2020b.eb new file: v/VASP/VASP-5.4.1-24Jun15-intel-2020b.eb new file: w/Waltz/Waltz.eb new file: y/Yambo/Yambo-5.0.4-intel-2020a.eb
85 lines
3.5 KiB
Plaintext
85 lines
3.5 KiB
Plaintext
# IT4Innovations
|
|
# LK 2022
|
|
|
|
name = 'OpenCV'
|
|
version = '4.5.5'
|
|
versionsuffix = '-CUDA-%(cudaver)s-contrib'
|
|
|
|
# the hash is version dependent! see 3rdparty/ippicv/ippicv.cmake
|
|
local_ippicv_hash = 'a56b6ac6f030c312b2dce17430eef13aed9af274'
|
|
|
|
homepage = 'https://opencv.org/'
|
|
description = """OpenCV (Open Source Computer Vision Library) is an open source computer vision
|
|
and machine learning software library. OpenCV was built to provide
|
|
a common infrastructure for computer vision applications and to accelerate
|
|
the use of machine perception in the commercial products.
|
|
Includes extra modules for OpenCV from the contrib repository."""
|
|
|
|
toolchain = {'name': 'foss', 'version': '2021a'}
|
|
|
|
sources = [
|
|
{'source_urls': ['https://github.com/opencv/opencv/archive/'],
|
|
'download_filename': '%(version)s.zip', 'filename': SOURCELOWER_ZIP},
|
|
{'source_urls': ['https://github.com/opencv/opencv_contrib/archive/'],
|
|
'download_filename': '%(version)s.zip', 'filename': '%(namelower)s_contrib-%(version)s.zip'},
|
|
{'source_urls': ['https://raw.githubusercontent.com/opencv/opencv_3rdparty/%s/ippicv' % local_ippicv_hash],
|
|
'filename': 'ippicv_2020_lnx_intel64_20191018_general.tgz', 'extract_cmd': "cp %s %(builddir)s"},
|
|
]
|
|
|
|
builddependencies = [
|
|
('CMake', '3.20.1'),
|
|
]
|
|
|
|
dependencies = [
|
|
('Python', '3.9.5'),
|
|
('SciPy-bundle', '2021.05'), # for numpy
|
|
('zlib', '1.2.11'),
|
|
('FFmpeg', '4.3.2'),
|
|
('freetype', '2.10.4'),
|
|
('HarfBuzz', '2.8.1'),
|
|
('libjpeg-turbo', '2.0.6'),
|
|
('libpng', '1.6.37'),
|
|
('LibTIFF', '4.2.0'),
|
|
('libwebp', '1.2.0'),
|
|
('OpenEXR', '3.0.1'),
|
|
('JasPer', '2.0.28'),
|
|
('Java', '11', '', True),
|
|
('ant', '1.10.9', '-Java-%(javaver)s', True),
|
|
('GLib', '2.68.2'),
|
|
('GTK3', '3.24.29'),
|
|
('HDF5', '1.10.7'), # needed by hdf from contrib
|
|
('CUDA', '11.4.1', '', True),
|
|
('cuDNN', '8.2.2.26', '-CUDA-%(cudaver)s', True),
|
|
]
|
|
|
|
# XXXX in configurations is a bug fix in OpenCV because ocv_check_modules is not able to recognize freetype and harfbuzz
|
|
# ref: https://github.com/opencv/opencv/blob/6e8daaec0f46aaba9ea22e2afce47307b1dbff9f/cmake/OpenCVUtils.cmake#L861
|
|
configopts = '-DOPENCV_EXTRA_MODULES_PATH=%(builddir)s/%(namelower)s_contrib-%(version)s/modules '
|
|
configopts += '-DFREETYPE_FOUND=ON '
|
|
configopts += '-DFREETYPE_INCLUDE_DIRS=$EBROOTFREETYPE/include/freetype2/ '
|
|
configopts += '-DFREETYPE_LIBRARIES=$EBROOTFREETYPE/lib64/libfreetype.so '
|
|
configopts += '-DFREETYPE_LINK_LIBRARIES=$EBROOTFREETYPE/lib64/libfreetype.so '
|
|
configopts += '-DFREETYPE_LINK_LIBRARIES_XXXXX=ON '
|
|
configopts += '-DHARFBUZZ_FOUND=ON '
|
|
configopts += '-DHARFBUZZ_INCLUDE_DIRS=$EBROOTHARFBUZZ/include/harfbuzz '
|
|
configopts += '-DHARFBUZZ_LIBRARIES=$EBROOTHARFBUZZ/lib64/libharfbuzz.so '
|
|
configopts += '-DHARFBUZZ_LINK_LIBRARIES=$EBROOTHARFBUZZ/lib64/libharfbuzz.so '
|
|
configopts += '-DHARFBUZZ_LINK_LIBRARIES_XXXXX=ON '
|
|
configopts += '-DBUILD_opencv_python2=OFF '
|
|
|
|
enhance_sanity_check = True
|
|
|
|
local_contrib_libs = [
|
|
'aruco', 'bgsegm', 'bioinspired', 'ccalib', 'datasets', 'dnn_objdetect', 'dnn_superres', 'dpm', 'face', 'freetype',
|
|
'fuzzy', 'hdf', 'hfs', 'img_hash', 'line_descriptor', 'optflow', 'phase_unwrapping', 'plot', 'quality', 'reg',
|
|
'rgbd', 'saliency', 'shape', 'stereo', 'structured_light', 'superres', 'surface_matching', 'text', 'tracking',
|
|
'videostab', 'xfeatures2d', 'ximgproc', 'xobjdetect', 'xphoto'
|
|
]
|
|
|
|
sanity_check_paths = {
|
|
'files': ['lib64/libopencv_%s.%s' % (l, SHLIB_EXT) for l in local_contrib_libs],
|
|
'dirs': [],
|
|
}
|
|
|
|
moduleclass = 'vis'
|