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

new file: a/ant/ant-1.9.7-Java-1.8.0_121.eb new file: b/Boost/Boost-1.63.0-foss-2016a-Python-2.7.13.eb new file: c/Caffe/.Caffe-1.0-foss-2016a-CUDA-8.0.44-Python-2.7.13.eb.swp new file: c/Caffe/Caffe-1.0-foss-2016a-CUDA-8.0.44-Python-2.7.13.eb new file: f/FFmpeg/FFmpeg-3.0.2.eb new file: f/freetype/freetype-2.6.3.eb new file: g/GST-plugins-base/GST-plugins-base-1.6.4.eb new file: g/GStreamer/GStreamer-1.6.4.eb new file: g/GTK+/GTK+-2.24.30.eb new file: g/Gdk-Pixbuf/Gdk-Pixbuf-2.35.1.eb new file: g/gflags/gflags-2.1.2.eb new file: g/glog/glog-0.3.4.eb new file: j/JasPer/JasPer-1.900.1.eb new file: l/LMDB/LMDB-0.9.18.eb new file: l/LevelDB/LevelDB-1.18.eb new file: m/matplotlib/matplotlib-1.5.1-Python-2.7.13-freetype-2.6.3.eb new file: n/networkx/networkx-1.11-Python-2.7.13.eb new file: o/OpenCV/OpenCV-3.1.0.eb new file: p/Pillow/Pillow-3.2.0-Python-2.7.13-freetype-2.6.3.eb new file: p/protobuf-python/protobuf-python-3.2.0-foss-2016a-Python-2.7.13.eb new file: p/protobuf/protobuf-3.2.0-foss-2016a.eb new file: p/protobuf/protobuf-3.2.0.eb new file: s/scikit-image/scikit-image-0.12.3-Python-2.7.13.eb new file: s/snappy/snappy-1.1.3.eb new file: x/x264/x264-20160430.eb new file: y/Yasm/Yasm-1.3.0.eb deleted: f/FFmpeg/FFmpeg-3.0.2-intel-2016a.eb deleted: l/LevelDB/LevelDB-1.18-foss-2016a.eb deleted: n/networkx/networkx-1.11-foss-2016a-Python-2.7.11.eb deleted: o/OpenCV/OpenCV-3.1.0-foss-2016a.eb deleted: p/Pillow/Pillow-3.2.0-foss-2016a-Python-2.7.11-freetype-2.6.3.eb
67 lines
2.3 KiB
Plaintext
67 lines
2.3 KiB
Plaintext
easyblock = 'CMakeMake'
|
|
|
|
name = 'OpenCV'
|
|
version = '3.1.0'
|
|
|
|
homepage = 'http://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': 'dummy', 'version': ''}
|
|
|
|
source_urls = ['https://github.com/Itseez/opencv/archive/']
|
|
sources = ['%(version)s.zip']
|
|
|
|
builddependencies = [
|
|
('CMake', '3.8.1'),
|
|
]
|
|
|
|
dependencies = [
|
|
('Python', '2.7.13'),
|
|
('zlib', '1.2.11'),
|
|
('FFmpeg', '3.0.2'),
|
|
('libjpeg-turbo', '1.5.1'),
|
|
('libpng', '1.6.29'),
|
|
('LibTIFF', '4.0.7'),
|
|
('JasPer', '1.900.1'),
|
|
('Java', '1.8.0_121'),
|
|
('ant', '1.9.7', '-Java-%(javaver)s'),
|
|
('GLib', '2.52.0'),
|
|
('GTK+', '2.24.30'),
|
|
('GStreamer', '1.6.4'),
|
|
('GST-plugins-base', '1.6.4'),
|
|
]
|
|
|
|
configopts = '-DCMAKE_BUILD_TYPE=RELEASE '
|
|
configopts += '-DBUILD_PYTHON_SUPPORT=ON '
|
|
configopts += '-DPYTHON_PACKAGES_PATH=%(installdir)s/lib/python%(pyshortver)s/site-packages '
|
|
configopts += '-DBUILD_NEW_PYTHON_SUPPORT=ON '
|
|
configopts += '-DZLIB_LIBRARY=$EBROOTZLIB/lib/libz.%s ' % SHLIB_EXT
|
|
configopts += '-DZLIB_INCLUDE_DIR=$EBROOTZLIB/include '
|
|
configopts += '-DTIFF_LIBRARY=$EBROOTLIBTIFF/lib/libtiff.%s ' % SHLIB_EXT
|
|
configopts += '-DTIFF_INCLUDE_DIR=$EBROOTLIBTIFF/include '
|
|
configopts += '-DPNG_LIBRARY=$EBROOTLIBPNG/lib/libpng.%s ' % SHLIB_EXT
|
|
configopts += '-DPNG_INCLUDE_DIR=$EBROOTLIBPNG/include '
|
|
configopts += '-DJPEG_LIBRARY=$EBROOTLIBJPEGMINTURBO/lib/libjpeg.%s ' % SHLIB_EXT
|
|
configopts += '-DJPEG_INCLUDE_DIR=$EBROOTLIBJPEGMINTURBO/include '
|
|
#configopts += '-DJASPER_LIBRARY=$EBROOTJASPER/lib/libjasper.a '
|
|
#configopts += '-DJASPER_INCLUDE_DIR=$EBROOTJASPER/include '
|
|
configopts += '-DWITH_IPP=ON '
|
|
configopts += '-DENABLE_SSE=ON -DENABLE_SSE2=ON -DENABLE_SSE3=ON '
|
|
configopts += '-DWITH_CUDA=OFF '
|
|
|
|
sanity_check_paths = {
|
|
'files': ['lib/libopencv_core.%s' % SHLIB_EXT ] +
|
|
['bin/opencv_%s' % x for x in ['annotation', 'createsamples', 'traincascade']],
|
|
'dirs': ['include']
|
|
}
|
|
|
|
modextrapaths = {
|
|
'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages',
|
|
'CLASSPATH': 'share/OpenCV/java',
|
|
}
|
|
|
|
moduleclass = 'vis'
|