1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

math/faiss: Permit build on all architectures expecting it to properly link with OpenBLAS libraries, whether DYNAMIC_ARCH is set or not

Reported by:	pkubaj
This commit is contained in:
Yuri Victorovich 2020-08-31 18:07:12 +00:00
parent 37a863ffcf
commit f522970ecf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547201

View File

@ -12,10 +12,8 @@ COMMENT= Library for efficient similarity search & clustering of dense vectors
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= Links with libopenblasp-rN.N.N.so which is installed by math/openblas only on amd64,i386 architectures
LIB_DEPENDS= libopenblasp-r0.3.9.so:math/openblas
BUILD_DEPENDS= openblas>0:math/openblas # faiss links with libopenblasp-rN.N.N.so (installed by default only on amd64,i386), so use non-filename-specific DEPENDS commands
RUN_DEPENDS= openblas>0:math/openblas
USES= cmake compiler:c++11-lang
USE_GITHUB= yes