Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 2020 18:07:12 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547201 - head/math/faiss
Message-ID:  <202008311807.07VI7Cvs009794@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008311807.07VI7Cvs009794>