From: Andy Tai <atai@atai.org>
To: 71219@debbugs.gnu.org
Cc: Andy Tai <atai@atai.org>
Subject: [bug#71219] [PATCH] gnu: llama-cpp: Update configure flags for shared library build.
Date: Sun, 26 May 2024 22:16:48 -0700 [thread overview]
Message-ID: <6c6fc91b2febb791d50aac5e9a16a220090eb31d.1716786995.git.atai@atai.org> (raw)
* 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
next reply other threads:[~2024-05-27 5:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-27 5:16 Andy Tai [this message]
2024-05-28 1:57 ` [bug#71219] [PATCH v2] gnu: llama-cpp: Update configure flags for shared library build 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 11:41 ` [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 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6c6fc91b2febb791d50aac5e9a16a220090eb31d.1716786995.git.atai@atai.org \
--to=atai@atai.org \
--cc=71219@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).