Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-gpt4all for openSUSE:Factory 
checked in at 2025-03-13 15:07:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gpt4all (Old)
 and      /work/SRC/openSUSE:Factory/.python-gpt4all.new.19136 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gpt4all"

Thu Mar 13 15:07:31 2025 rev:5 rq:1252673 version:3.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gpt4all/python-gpt4all.changes    
2025-02-24 15:51:57.059239009 +0100
+++ /work/SRC/openSUSE:Factory/.python-gpt4all.new.19136/python-gpt4all.changes 
2025-03-13 15:08:26.107831544 +0100
@@ -1,0 +2,6 @@
+Thu Mar 13 08:35:08 UTC 2025 - Guillaume GARDET <[email protected]>
+
+- Add patch to fix build on aarch64:
+  * fix-aarch64.patch
+
+-------------------------------------------------------------------

New:
----
  fix-aarch64.patch

BETA DEBUG BEGIN:
  New:- Add patch to fix build on aarch64:
  * fix-aarch64.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-gpt4all.spec ++++++
--- /var/tmp/diff_new_pack.vYSZuM/_old  2025-03-13 15:08:26.835862082 +0100
+++ /var/tmp/diff_new_pack.vYSZuM/_new  2025-03-13 15:08:26.839862250 +0100
@@ -35,6 +35,8 @@
 Source3:        %{name}.rpmlintrc
 # PATCH-FIX-OPENSUSE vk301.patch gh#KhronosGroup/Vulkan-Samples#1269
 Patch1:         vk301.patch
+# PATCH-FIX-UPSTREAM - https://github.com/nomic-ai/gpt4all/issues/3536
+Patch2:         fix-aarch64.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  cmake
 BuildRequires:  fdupes
@@ -100,6 +102,7 @@
 popd
 popd
 %patch -P1 -p1
+%patch -P2 -p1
 
 %build
 %if 0%{?sle_version} == 150600

++++++ fix-aarch64.patch ++++++
--- gpt4all-3.4.2/gpt4all-backend/llama.cpp.cmake.orig  2025-03-13 
09:17:45.100111000 +0100
+++ gpt4all-3.4.2/gpt4all-backend/llama.cpp.cmake       2025-03-13 
09:18:12.918919300 +0100
@@ -845,6 +845,7 @@ function(include_ggml SUFFIX)
         if (MSVC)
             # TODO: arm msvc?
         else()
+            include(CheckCXXCompilerFlag)
             check_cxx_compiler_flag(-mfp16-format=ieee 
COMPILER_SUPPORTS_FP16_FORMAT_I3E)
             if (NOT "${COMPILER_SUPPORTS_FP16_FORMAT_I3E}" STREQUAL "")
                 list(APPEND ARCH_FLAGS -mfp16-format=ieee)

Reply via email to