Bump whispercpp and build the example tools.

This commit is contained in:
j1nx 2023-01-17 10:19:18 +01:00
parent 11159f2bef
commit c630fb1ee0
4 changed files with 16 additions and 3 deletions

View File

@ -285,6 +285,7 @@ BR2_PACKAGE_LIBERATION=y
BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D=y BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_SDL2=y
BR2_PACKAGE_QT5=y BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT53D=y BR2_PACKAGE_QT53D=y
BR2_PACKAGE_QT5BASE_CONCURRENT=y BR2_PACKAGE_QT5BASE_CONCURRENT=y

View File

@ -286,6 +286,7 @@ BR2_PACKAGE_LIBERATION=y
BR2_PACKAGE_MESA3D=y BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D=y BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_SDL2=y
BR2_PACKAGE_QT5=y BR2_PACKAGE_QT5=y
BR2_PACKAGE_QT53D=y BR2_PACKAGE_QT53D=y
BR2_PACKAGE_QT5BASE_CONCURRENT=y BR2_PACKAGE_QT5BASE_CONCURRENT=y

View File

@ -1,2 +1,2 @@
# Locally computed # Locally computed
sha256 e974f0ab60bafce03512faadc22c2fbcc47526622fa36a6b1cee28155d00f6e0 whispercpp-aa6adda26e1ee9843dddb013890e3312bee52cfe.tar.gz sha256 df4dcd394a0b5fbd74c8f39f144edd7737b748f9f2c2bbf317d5c8dfc609b8fa whispercpp-8738427dd60bda894df1ff3c12317cca2e960016.tar.gz

View File

@ -4,7 +4,7 @@
# #
################################################################################ ################################################################################
WHISPERCPP_VERSION = aa6adda26e1ee9843dddb013890e3312bee52cfe WHISPERCPP_VERSION = 8738427dd60bda894df1ff3c12317cca2e960016
WHISPERCPP_SITE = $(call github,ggerganov,whisper.cpp,$(WHISPERCPP_VERSION)) WHISPERCPP_SITE = $(call github,ggerganov,whisper.cpp,$(WHISPERCPP_VERSION))
WHISPERCPP_LICENSE = Apache License 2.0 WHISPERCPP_LICENSE = Apache License 2.0
@ -14,6 +14,17 @@ WHISPERCPP_SUPPORTS_IN_SOURCE_BUILD = NO
WHISPERCPP_CONF_OPTS = \ WHISPERCPP_CONF_OPTS = \
-DBUILD_SHARED_LIBS_DEFAULT=ON \ -DBUILD_SHARED_LIBS_DEFAULT=ON \
-DWHISPER_SUPPORT_OPENBLAS=ON -DWHISPER_SUPPORT_OPENBLAS=ON \
-DWHISPER_BUILD_TESTS=ON \
-DWHISPER_BUILD_EXAMPLES=ON \
-DWHISPER_SUPPORT_SDL2=ON
WHISPERCPP_POST_INSTALL_TARGET_HOOKS = WHISPERCPP_INSTALL_BINS
define WHISPERCPP_INSTALL_BINS
mkdir -p $(TARGET_DIR)/usr/bin/whispercpp
$(INSTALL) -D -m 755 $(@D)/buildroot-build/bin/* \
$(TARGET_DIR)/usr/bin/whispercpp/
endef
$(eval $(cmake-package)) $(eval $(cmake-package))