summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-06-21 16:38:53 +0200
committerMarius Bakke <marius@gnu.org>2022-06-21 17:30:44 +0200
commitacdd0c282f4fd800891149915f6b4928aa991fba (patch)
tree18dde093b337e9c3c81da0c8c716cfb3f27bb909
parentd13ffd1580ec2253b6e05fb6300c3629aee893e3 (diff)
gnu: python-faiss: Fix build on Python 3.9.
* gnu/packages/graph.scm (python-faiss)[arguments]: Remove "m" suffix to Python library path.
-rw-r--r--gnu/packages/graph.scm4
1 files 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 ~}~%"