Skip to content

Commit

Permalink
math/faiss: Broken on systems where OpenMP isn't enabled
Browse files Browse the repository at this point in the history
Reported by:	fallout

(cherry picked from commit c52e62f)
  • Loading branch information
yurivict committed Jul 23, 2022
1 parent c16c251 commit e7105c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions math/faiss/Makefile
Expand Up @@ -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

Expand Down

0 comments on commit e7105c1

Please sign in to comment.