svn commit: r547201 - head/math/faiss

Yuri Victorovich yuri at FreeBSD.org
Mon Aug 31 18:07:13 UTC 2020


Author: yuri
Date: Mon Aug 31 18:07:12 2020
New Revision: 547201
URL: https://svnweb.freebsd.org/changeset/ports/547201

Log:
  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

Modified:
  head/math/faiss/Makefile

Modified: head/math/faiss/Makefile
==============================================================================
--- head/math/faiss/Makefile	Mon Aug 31 17:59:17 2020	(r547200)
+++ head/math/faiss/Makefile	Mon Aug 31 18:07:12 2020	(r547201)
@@ -12,10 +12,8 @@ COMMENT=	Library for efficient similarity search & clu
 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


More information about the svn-ports-head mailing list