mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: whisper-cpp: Enable sdl2 and tests.
* gnu/packages/patches/whisper-cpp-enable-tests.patch: New file. * gnu/packages/machine-learning.scm (whisper-cpp)[source]: Add reference to patch. [arguments]<#:configure-flags>: Add configure flags. [arguments]<#:phases>: Disable big test on 32 bit. [inputs]: Add sdl2. [synopsis]: Modify. [description]: Modify. * gnu/local.mk (dist_PATCH_DATA): Register patch. Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com> Change-Id: Icdb82c3c7d3d485346f89fe699d0d64b34c1b21a Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
parent
5d7455bb58
commit
a707ebe5d3
3 changed files with 76 additions and 24 deletions
19
gnu/packages/patches/whisper-cpp-enable-tests.patch
Normal file
19
gnu/packages/patches/whisper-cpp-enable-tests.patch
Normal file
|
@ -0,0 +1,19 @@
|
|||
Distribution specific patch
|
||||
|
||||
restored tests commented out in CMakeLists.txt upstream
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index c53252b..ee06015 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -176,8 +176,8 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/whisper.pc"
|
||||
#
|
||||
|
||||
if (WHISPER_BUILD_TESTS AND NOT CMAKE_JS_VERSION)
|
||||
- #include(CTest)
|
||||
- #add_subdirectory(tests)
|
||||
+ include(CTest)
|
||||
+ add_subdirectory(tests)
|
||||
endif ()
|
||||
|
||||
if (WHISPER_BUILD_EXAMPLES)
|
Loading…
Add table
Add a link
Reference in a new issue