~ruther/guix-local

ref: 88a27d5b9eefaff4e95151ab54678081c7e2a503 guix-local/gnu/packages/patches/whisper-cpp-enable-tests.patch -rw-r--r-- 473 bytes
88a27d5b — Efraim Flashner gnu: Add rust-lazy-regex-proc-macros-2. 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)