all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#71219] [PATCH] gnu: llama-cpp: Update configure flags for shared library build.
@ 2024-05-27  5:16 Andy Tai
  2024-05-28  1:57 ` [bug#71219] [PATCH v2] " Andy Tai
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Andy Tai @ 2024-05-27  5:16 UTC (permalink / raw)
  To: 71219; +Cc: Andy Tai

* gnu/packages/machine-learning.scm (lama-cpp):
  [arguments](configure-flags): add cmake configure flag
  to force position independent code generation from C
  compiler for shared library build.

Change-Id: I7c4bc219a22aa9a949e811b340c7cf745b176d14
---
 gnu/packages/machine-learning.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index a385ddc18c..398b42f203 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -541,7 +541,8 @@ (define-public llama-cpp
       (build-system cmake-build-system)
       (arguments
        (list
-        #:configure-flags #~'("-DLLAMA_BLAS=ON"
+        #:configure-flags #~'("-DCMAKE_POSITION_INDEPENDENT_CODE=TRUE"
+                              "-DLLAMA_BLAS=ON"
                               "-DLLAMA_BLAS_VENDOR=OpenBLAS"
 
                               "-DLLAMA_NATIVE=OFF" ;no '-march=native'

base-commit: 0f3a25a25e212bfa8ab9db37d267fb260a087e5d
-- 
2.34.1





^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-07-10 13:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27  5:16 [bug#71219] [PATCH] gnu: llama-cpp: Update configure flags for shared library build Andy Tai
2024-05-28  1:57 ` [bug#71219] [PATCH v2] " Andy Tai
2024-06-03 15:43 ` [bug#71219] [PATCH v3] gnu: llama-cpp: Update commit and update " Andy Tai
2024-06-06 17:52 ` [bug#71219] Andy Tai
2024-06-06 18:12   ` [bug#71219] Christopher Baines
2024-06-11  7:30 ` [bug#71219] [PATCH v4] gnu: llama-cpp: Update commit and update configure flags for shared library build Andy Tai
2024-06-11  7:30   ` Andy Tai
2024-06-11 11:41     ` Andy Tai
2024-06-11 12:02 ` [bug#71219] [PATCH v5] gnu: llama-cpp: Update commit and " Andy Tai
2024-07-10 13:47   ` bug#71219: " Ludovic Courtès
2024-07-10 13:49   ` [bug#71219] " Ludovic Courtès
2024-07-10  4:00 ` [bug#71219] Andy Tai via Guix-patches

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.