<commit_before>PKG_NAME := lvgl
PKG_VER := v7.10.0

PKG_SOURCES := https://github.com/lvgl/lvgl/archive/$(PKG_VER).tar.gz

PKG_MD5 := 94d3ab47a72dab33a7b7e2026f38ccab

PKG_PATCHES := patch.txt

include $(EXTBLD_LIB)

LVGL_CPP_FLAGS:=-DLV_CONF_PATH=$(ROOT_DIR)/conf/lv_conf.h

$(BUILD) :
	cd $(PKG_SOURCE_DIR) && $(RM) -r build/ && mkdir build/ && cd build && \
	cmake \
	    -D LIBLVGL_STATIC=1 \
	    -D CMAKE_C_FLAGS="$(LVGL_CPP_FLAGS)" \
	    -D CMAKE_C_COMPILER="$(EMBOX_GCC)" \
	    .. && \
	make
	touch $@

$(INSTALL) :
	cp $(PKG_SOURCE_DIR)/build/liblvgl.a $(PKG_INSTALL_DIR)
	touch $@<commit_msg>lvgl: Disable c and c++ compilers checking in cmake<commit_after>PKG_NAME := lvgl
PKG_VER := v7.10.0

PKG_SOURCES := https://github.com/lvgl/lvgl/archive/$(PKG_VER).tar.gz

PKG_MD5 := 94d3ab47a72dab33a7b7e2026f38ccab

PKG_PATCHES := patch.txt

include $(EXTBLD_LIB)

LVGL_CPP_FLAGS:=-DLV_CONF_PATH=$(ROOT_DIR)/conf/lv_conf.h

$(BUILD) :
	cd $(PKG_SOURCE_DIR) && (mkdir build/ || true) && cd build && \
	cmake \
	    -D LIBLVGL_STATIC=1 \
	    -D CMAKE_C_FLAGS="$(LVGL_CPP_FLAGS)" \
	    -D CMAKE_C_COMPILER="$(EMBOX_GCC)" \
	    -D CMAKE_CXX_COMPILER="$(EMBOX_GXX)" \
	    -D CMAKE_C_COMPILER_WORKS=1 \
	    -D CMAKE_CXX_COMPILER_WORKS=1 \
	    .. && \
	make
	touch $@

$(INSTALL) :
	cp $(PKG_SOURCE_DIR)/build/liblvgl.a $(PKG_INSTALL_DIR)
	touch $@
{'fraction_non_alphanumeric': 0.1670362158167036, 'fraction_numerical': 0.03547671840354767, 'mean_word_length': 3.8185053380782916, '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': '2620680', 'n_tokens_mistral': 690, 'n_tokens_neox': 617, 'n_words': 86}