From f522970ecf19986c19b572fa80b4d9de0dc713db Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Mon, 31 Aug 2020 18:07:12 +0000 Subject: [PATCH] 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 --- math/faiss/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/math/faiss/Makefile b/math/faiss/Makefile index 10653cd18c59..57fff5409c38 100644 --- a/math/faiss/Makefile +++ b/math/faiss/Makefile @@ -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