guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/12: gnu: python-faiss: Fix build on Python 3.9.


From: guix-commits
Subject: 01/12: gnu: python-faiss: Fix build on Python 3.9.
Date: Tue, 21 Jun 2022 11:43:11 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit acdd0c282f4fd800891149915f6b4928aa991fba
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Jun 21 16:38:53 2022 +0200

    gnu: python-faiss: Fix build on Python 3.9.
    
    * gnu/packages/graph.scm (python-faiss)[arguments]: Remove "m" suffix to
    Python library path.
---
 gnu/packages/graph.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index 3dc6eac33a..734f24d6c3 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -461,8 +461,8 @@ contains supporting code for evaluation and parameter 
tuning.")
                (lambda ()
                  (let ((python-version ,(version-major+minor (package-version 
python))))
                    (format #t "\
-PYTHONCFLAGS =-I~a/include/python~am/ 
-I~a/lib/python~a/site-packages/numpy/core/include
-LIBS = -lpython~am -lfaiss
+PYTHONCFLAGS =-I~a/include/python~a/ 
-I~a/lib/python~a/site-packages/numpy/core/include
+LIBS = -lpython~a -lfaiss
 SHAREDFLAGS = -shared -fopenmp
 CXXFLAGS = -fpermissive -fopenmp -fPIC
 CPUFLAGS = ~{~a ~}~%"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]