guix_mirror_bot pushed a commit to branch master
in repository guix.

commit ca1d6248c645c806f8a01c21d0a0ec1887589366
Author: Arun Isaac <[email protected]>
AuthorDate: Fri Feb 6 00:49:24 2026 +0000

    gnu: faiss: Enable C API.
    
    * gnu/packages/graph.scm (faiss)[arguments]: Add -DFAISS_ENABLE_C_API=ON to
    configure-flags.
    
    Change-Id: I4efb687ee45d68ce21275d62b0293ab67beef57a
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/graph.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 1947e893c5..19dd3fd6e2 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2025 Mark Walker <[email protected]>
 ;;; Copyright © 2025 Tiago de Paula Peixoto <[email protected]>
 ;;; Copyright © 2026 Luca Alloatti <[email protected]>
+;;; Copyright © 2026 Arun Isaac <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -557,7 +558,8 @@ intuitive way.")
     (build-system cmake-build-system)
     (arguments
      (list #:configure-flags
-           #~'("-DFAISS_ENABLE_GPU=OFF"     ; thanks, but no thanks, CUDA.
+           #~'("-DFAISS_ENABLE_C_API=ON"
+               "-DFAISS_ENABLE_GPU=OFF"     ; thanks, but no thanks, CUDA.
                "-DFAISS_ENABLE_PYTHON=OFF")))
     (inputs
      (list openblas))

Reply via email to