Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jul 2022 16:14:13 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: e7105c1ff88e - 2022Q3 - math/faiss: Broken on systems where OpenMP isn't enabled
Message-ID:  <202207231614.26NGEDcC008313@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2022Q3 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e7105c1ff88e2ef8ecc070174516e46ce34c3bea

commit e7105c1ff88e2ef8ecc070174516e46ce34c3bea
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-23 16:13:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-23 16:14:05 +0000

    math/faiss: Broken on systems where OpenMP isn't enabled
    
    Reported by:    fallout
    
    (cherry picked from commit c52e62fa836103e2da624c6ea1d90c32ea69fde1)
---
 math/faiss/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/math/faiss/Makefile b/math/faiss/Makefile
index c1aede497daa..9fdcc065a48a 100644
--- a/math/faiss/Makefile
+++ b/math/faiss/Makefile
@@ -9,6 +9,10 @@ COMMENT=	Library for efficient similarity search & clustering of dense vectors
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
+
 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
 



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