<commit_before>PKG_VER          := 4.0.1
PKG_SOURCES      := https://github.com/opencv/opencv/archive/$(PKG_VER).zip
PKG_NAME         := opencv
PKG_ARCHIVE_NAME := $(PKG_NAME)-$(PKG_VER).zip
PKG_MD5          := eb367fc73de66e6d8808e8712138c6b4

PKG_PATCHES := patch.txt

include $(EXTBLD_LIB)

EMBOX_IMPORTED_CXXFLAGS += -save-temps=obj
EMBOX_IMPORTED_CXXFLAGS += -DUSE_SPRINTF_INSTEAD

ifneq (,$(filter -fno-rtti,$(EMBOX_CXXFLAGS)))
EMBOX_RTTI_FLAG          = --without-rtti
else
EMBOX_RTTI_FLAG          =
endif

OPENCV_FLAGS = \
		-DBUILD_SHARED_LIBS=OFF \
		-DBUILD_opencv_python_bindings_generator=OFF \
		-DBUILD_JAVA=OFF \
		-DBUILD_TESTS=OFF \
		-DBUILD_opencv_apps=OFF \
		-DBUILD_opencv_java_bindings_generator=OFF \
		-DBUILD_opencv_ml=OFF \
		-DWITH_FFMPEG=OFF \
		-DWITH_EIGEN=OFF \
		-DBUILD_IPP_IW=OFF \
		-DBUILD_ITT=OFF \
		-DBUILD_PERF_TESTS=OFF \
		-DBUILD_PROTOBUF=OFF \<commit_msg>opencv: Remove unused variables from Makefile<commit_after>PKG_VER          := 4.0.1
PKG_SOURCES      := https://github.com/opencv/opencv/archive/$(PKG_VER).zip
PKG_NAME         := opencv
PKG_ARCHIVE_NAME := $(PKG_NAME)-$(PKG_VER).zip
PKG_MD5          := eb367fc73de66e6d8808e8712138c6b4

PKG_PATCHES := patch.txt

include $(EXTBLD_LIB)

OPENCV_FLAGS = \
		-DBUILD_SHARED_LIBS=OFF \
		-DBUILD_opencv_python_bindings_generator=OFF \
		-DBUILD_JAVA=OFF \
		-DBUILD_TESTS=OFF \
		-DBUILD_opencv_apps=OFF \
		-DBUILD_opencv_java_bindings_generator=OFF \
		-DBUILD_opencv_ml=OFF \
		-DWITH_FFMPEG=OFF \
		-DWITH_EIGEN=OFF \
		-DBUILD_IPP_IW=OFF \
		-DBUILD_ITT=OFF \
		-DBUILD_PERF_TESTS=OFF \
		-DBUILD_PROTOBUF=OFF \
{'fraction_non_alphanumeric': 0.11764705882352941, 'fraction_numerical': 0.030959752321981424, 'mean_word_length': 3.6705202312138727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1533436', 'n_tokens_mistral': 792, 'n_tokens_neox': 727, 'n_words': 73}