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

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

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

commit c52e62fa836103e2da624c6ea1d90c32ea69fde1
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:13:09 +0000

    math/faiss: Broken on systems where OpenMP isn't enabled
    
    Reported by:    fallout
---
 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?202207231613.26NGDdvl008143>