Compare commits

..

6 commits

Author SHA1 Message Date
Tom Rix
5b4c9cd758 Update to 1.9.3
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2026-08-23 13:10:41 -07:00
Tom Rix
06d46bf85c Update to 1.9.2
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2026-08-17 15:05:38 -07:00
Tom Rix
624d773521 Disable openvino to work around a ftbfs
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2026-07-27 10:41:15 -07:00
Fedora Release Engineering
d808be8b88 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:48:02 +00:00
Tom Rix
d0e377fea9 Rebuild for openvino
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2026-06-20 08:04:52 -07:00
Tom Rix
0f20225710 Update to 1.8.3
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
2026-03-15 07:43:58 -07:00
3 changed files with 18 additions and 20 deletions

3
.gitignore vendored
View file

@ -3,3 +3,6 @@
/whisper.cpp-1.7.1.tar.gz
/whisper.cpp-1.7.6.tar.gz
/whisper.cpp-1.8.1.tar.gz
/whisper.cpp-1.8.3.tar.gz
/whisper.cpp-1.9.2.tar.gz
/whisper.cpp-1.9.3.tar.gz

View file

@ -1 +1 @@
SHA512 (whisper.cpp-1.8.1.tar.gz) = 5dc2f7d8833a592a0ba3d8684425e030876e321f5005bec354564600923195eff906937a43e7604326fa2caf4548331a3fdff4b0797d66baa2dfa8e066e321f3
SHA512 (whisper.cpp-1.9.3.tar.gz) = 5e01ca94a49438b71e38c3cab710cf75a7aa76a1ae03fe8f81b1a5beb794becb1ae1c6e078e3eea5526e4ad89ae4cc0306d17974541050afb3a7ac1d09f94768

View file

@ -8,7 +8,7 @@ License: MIT
# examples/whisper.android/gradlew*
# These are not distributed
Version: 1.8.1
Version: 1.9.3
Release: %autorelease
URL: https://github.com/ggerganov/whisper.cpp
@ -20,7 +20,8 @@ ExclusiveArch: x86_64 aarch64 ppc64le
# OpenVINO only supports x86_64 and aarch64
# Presently, Fedora only packages it on x86_64
%ifarch x86_64
%bcond_without openvino
# FTBFS 7/27/26 openvino needs rebuilding at least
%bcond_with openvino
%bcond_without rocm
%else
%bcond_with openvino
@ -35,9 +36,11 @@ ExclusiveArch: x86_64 aarch64 ppc64le
%if %{with rocm}
%global build_rocm ON
# need our own gpu list, without gfx1250
%global rocm_gpu_list "gfx9-generic;gfx942;gfx950;gfx10-1-generic;gfx10-3-generic;gfx1100;gfx1101;gfx1102;gfx1103;gfx1150;gfx1151;gfx1152;gfx1153;gfx1200;gfx1201"
%else
%global build_rocm OFF
%global rocm_gpu_list_default %{nil}
%global rocm_gpu_list %{nil}
%endif
%bcond_with test
@ -106,17 +109,9 @@ recognition (ASR) model:
%prep
%autosetup -p1 -n whisper.cpp-%{version}
# Add SOVERSION to the shared libraries
sed -i -e 's@POSITION_INDEPENDENT_CODE ON@POSITION_INDEPENDENT_CODE ON SOVERSION %{sover}@' src/CMakeLists.txt
sed -i -e 's@POSITION_INDEPENDENT_CODE ON@POSITION_INDEPENDENT_CODE ON SOVERSION %{sover}@' ggml/src/CMakeLists.txt
sed -i -e 's@POSITION_INDEPENDENT_CODE ON@POSITION_INDEPENDENT_CODE ON SOVERSION %{sover}@' ggml/src/ggml-cpu/CMakeLists.txt
sed -i '/target_compile_definitions(${backend} PUBLIC GGML_BACKEND_SHARED)/a\
set_target_properties(${backend} PROPERTIES POSITION_INDEPENDENT_CODE ON SOVERSION %{sover})' ggml/src/CMakeLists.txt
%build
%cmake \
-DCMAKE_HIP_ARCHITECTURES=%{rocm_gpu_list_default} \
-DCMAKE_HIP_ARCHITECTURES=%{rocm_gpu_list} \
-DWHISPER_BUILD_EXAMPLES=%{build_test} \
-DWHISPER_BUILD_SERVER=%{build_test} \
-DWHISPER_BUILD_TESTS=%{build_test} \
@ -163,6 +158,7 @@ find %{buildroot} -name 'whisper.pc' -delete
%{_libdir}/libggml-base.so.*
%{_libdir}/libggml-cpu.so.*
%{_libdir}/libwhisper.so.*
%{_libdir}/libparakeet.so.*
%if %{with rocm}
%{_libdir}/libggml-hip.so.*
@ -170,17 +166,16 @@ find %{buildroot} -name 'whisper.pc' -delete
%files devel
%doc README.md
%{_includedir}/ggml*.h
%{_includedir}/gguf.h
%{_includedir}/whisper.h
%{_includedir}/*.h
%{_libdir}/libggml.so
%{_libdir}/libggml-base.so
%{_libdir}/libggml-cpu.so
%{_libdir}/libparakeet.so
%{_libdir}/libwhisper.so
%dir %{_libdir}/cmake/whisper
%dir %{_libdir}/cmake/ggml
%{_libdir}/cmake/whisper/*.cmake
%{_libdir}/cmake/ggml/*.cmake
%{_libdir}/cmake/ggml/
%{_libdir}/cmake/parakeet/
%{_libdir}/cmake/whisper/
%{_libdir}/pkgconfig/parakeet.pc
%if %{with rocm}
%{_libdir}/libggml-hip.so