mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05: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 @@ (define-public python-faiss
|
|||
(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 ~}~%"
|
||||
|
|
Loading…
Reference in a new issue