mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-faiss: Fix build on Python 3.9.
* gnu/packages/graph.scm (python-faiss)[arguments]: Remove "m" suffix to Python library path.
This commit is contained in:
parent
d13ffd1580
commit
acdd0c282f
1 changed files with 2 additions and 2 deletions
|
@ -461,8 +461,8 @@ contains supporting code for evaluation and parameter tuning.")
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(let ((python-version ,(version-major+minor (package-version python))))
|
(let ((python-version ,(version-major+minor (package-version python))))
|
||||||
(format #t "\
|
(format #t "\
|
||||||
PYTHONCFLAGS =-I~a/include/python~am/ -I~a/lib/python~a/site-packages/numpy/core/include
|
PYTHONCFLAGS =-I~a/include/python~a/ -I~a/lib/python~a/site-packages/numpy/core/include
|
||||||
LIBS = -lpython~am -lfaiss
|
LIBS = -lpython~a -lfaiss
|
||||||
SHAREDFLAGS = -shared -fopenmp
|
SHAREDFLAGS = -shared -fopenmp
|
||||||
CXXFLAGS = -fpermissive -fopenmp -fPIC
|
CXXFLAGS = -fpermissive -fopenmp -fPIC
|
||||||
CPUFLAGS = ~{~a ~}~%"
|
CPUFLAGS = ~{~a ~}~%"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue