# 2020 name = 'OpenCV' version = '3.4.7' versionsuffix = '-Py-3.7' 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.""" #toolchain = {'name': 'intel', 'version': '2020a'} toolchain = SYSTEM source_urls = [ 'https://github.com/opencv/opencv/archive/', # the hash is version dependent! see 3rdparty/ippicv/ippicv.cmake 'https://raw.githubusercontent.com/opencv/opencv_3rdparty/32e315a5b106a7b89dbed51c28f8120a48b368b4/ippicv', ] sources = [ '%(version)s.zip', {'filename': 'ippicv_2019_lnx_intel64_general_20180723.tgz', 'extract_cmd': "cp %s %(builddir)s"}, ] patches = ['OpenCV-%(version)s_fix-AVX512-CascadeLake.patch'] checksums = [ '4f7668a83828e0b290b8da999305b7ee30156898de00fe4db524ccf71edaf148', # 3.4.7.zip 'fc167cb60deb8924339a7050f3da168bb02e221b2d6b8c00139d1fa7eace0c7d', # ippicv_2019_lnx_intel64_general_20180723.tgz '765d115916e15071422abc515230792be8ae05fd0b328da029431f3890285c87', # OpenCV-3.4.7_fix-AVX512-CascadeLake.patch ] builddependencies = [ ('CMake', '3.16.2', '', True), ] dependencies = [ ('Py', '3.7', '', True), ('numpy', '1.18.1', versionsuffix, True), ('scipy', '1.3.3', versionsuffix, True), # ('mpi4py', '3.0.1', versionsuffix), ('pandas', '1.0.0', versionsuffix, True), ('zlib', '1.2.11', '', True), ('FFmpeg', '4.2.2', '', True), ('libjpeg-turbo', '2.0.4', '', True), ('libpng', '1.6.37', '', True), ('LibTIFF', '4.1.0', '', True), ('JasPer', '2.0.14', '', True), ('Java', '13.0.1', '', True), ('ant', '1.10.7', '-Java-13.0.1', True), ('GLib', '2.62.4', '', True), ('GTK+', '3.24.13', '', True), ] moduleclass = 'vis'