-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12229 from lexming/20210222160535_new_pr_OpenCV341
{vis}[foss/2018a] opencv_contrib v3.4.1: rename and update to OpenCV v3.4.1 with contrib versionsuffix
- Loading branch information
Showing
2 changed files
with
66 additions
and
100 deletions.
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
easybuild/easyconfigs/o/OpenCV/OpenCV-3.4.1-foss-2018a-Python-3.6.4-contrib.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name = 'OpenCV' | ||
version = '3.4.1' | ||
versionsuffix = '-Python-%(pyver)s-contrib' | ||
|
||
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': '2018a'} | ||
|
||
source_urls = [ | ||
'https://github.com/Itseez/opencv/archive/', | ||
# The Hash is version dependent! see 3rdparty/ippicv/downloader.cmake | ||
'https://raw.githubusercontent.com/Itseez/opencv_3rdparty/dfe3162c237af211e98b8960018b564bc209261d/ippicv', | ||
'https://github.com/opencv/', | ||
] | ||
sources = [ | ||
'%(version)s.zip', | ||
{'filename': 'ippicv_2017u3_lnx_intel64_general_20170822.tgz', 'extract_cmd': "cp %s %(builddir)s"}, | ||
# Make sure eb downloads the opencv_contrib source instead of twice the OpenCV source | ||
{'download_filename': 'opencv_contrib/archive/%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ}, | ||
] | ||
checksums = [ | ||
'24bda432eaace9e992322dcc3d30144cefa5314c2424d4aa02e5fe3fa9dd17bd', # 3.4.1.zip | ||
# ippicv_2017u3_lnx_intel64_general_20170822.tgz | ||
'9a4b14a24d31768c3ead0720f27d55dcf80723b5ba1cd8903bed1fd69f1b9e2e', | ||
'298c69ee006d7675e1ff9d371ba8b0d9e7e88374bb7ba0f9d0789851d352ec6e', # opencv_contrib-3.4.1.tar.gz | ||
] | ||
|
||
builddependencies = [ | ||
('CMake', '3.10.2'), | ||
] | ||
|
||
dependencies = [ | ||
('Python', '3.6.4'), | ||
('zlib', '1.2.11'), | ||
('FFmpeg', '3.4.2'), | ||
('libjpeg-turbo', '1.5.3'), | ||
('libpng', '1.6.34'), | ||
('LibTIFF', '4.0.9'), | ||
('JasPer', '2.0.14'), | ||
('Java', '1.8.0_162', '', True), | ||
('ant', '1.10.1', '-Java-%(javaver)s', True), | ||
('GLib', '2.54.3'), | ||
('GTK+', '2.24.32'), | ||
] | ||
|
||
configopts = '-DOPENCV_EXTRA_MODULES_PATH=%(builddir)s/%(namelower)s_contrib-%(version)s/modules' | ||
|
||
enhance_sanity_check = True | ||
|
||
local_contrib_libs = [ | ||
'aruco', 'bgsegm', 'bioinspired', 'ccalib', 'datasets', 'dnn_objdetect', 'dpm', 'face', 'freetype', 'fuzzy', 'hfs', | ||
'img_hash', 'line_descriptor', 'optflow', 'phase_unwrapping', 'plot', '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' |
100 changes: 0 additions & 100 deletions
100
easybuild/easyconfigs/o/opencv_contrib/opencv_contrib-3.4.1-foss-2018a-Python-3.6.4.eb
This file was deleted.
Oops, something went wrong.