git: a5dd938e09f9 - main - math/faiss: Update to 1.12.0

From: Wen Heping <wen_at_FreeBSD.org>
Date: Sun, 14 Sep 2025 13:26:28 UTC
The branch main has been updated by wen:

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

commit a5dd938e09f9ac2943aa4c77d840fe01c7720233
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2025-09-14 13:24:53 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2025-09-14 13:26:03 +0000

    math/faiss: Update to 1.12.0
    
    PR:             289175
    Approved by:    maintainer(timeout, > 14 days)
---
 math/faiss/Makefile  | 9 ++-------
 math/faiss/distinfo  | 8 +++-----
 math/faiss/pkg-plist | 1 +
 3 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/math/faiss/Makefile b/math/faiss/Makefile
index b64c7cdd9051..e64bffca76f0 100644
--- a/math/faiss/Makefile
+++ b/math/faiss/Makefile
@@ -1,11 +1,8 @@
 PORTNAME=	faiss
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.11.0
+DISTVERSION=	1.12.0
 CATEGORIES=	math
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES=	01c7e647388f9e23fc828059a3fd9c61b43c0740.patch:-p1 # FreeBSD compatibility patch, https://github.com/facebookresearch/faiss/pull/4316
-
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Library for efficient similarity search & clustering of dense vectors
 WWW=		https://github.com/facebookresearch/faiss
@@ -28,11 +25,9 @@ USES=		cmake:testing compiler:c++11-lang localbase:ldflags # tests fail to compi
 USE_GITHUB=	yes
 GH_ACCOUNT=	facebookresearch
 
-#LDFLAGS+=	-lgtest #-pthread
-
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_OFF=	BUILD_TESTING FAISS_ENABLE_GPU FAISS_ENABLE_PYTHON
 
-# tests as of 1.11.0: 99% tests passed, 1 tests failed out of 132, TestMemoryLeak.ivfflat (Timeout)
+# tests as of 1.12.0: 100% tests passed
 
 .include <bsd.port.mk>
diff --git a/math/faiss/distinfo b/math/faiss/distinfo
index 189bd140d1ff..993ba750a6d7 100644
--- a/math/faiss/distinfo
+++ b/math/faiss/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1745711436
-SHA256 (facebookresearch-faiss-v1.11.0_GH0.tar.gz) = c5d517da6deb6a6d74290d7145331fc7474426025e2d826fa4a6d40670f4493c
-SIZE (facebookresearch-faiss-v1.11.0_GH0.tar.gz) = 1138777
-SHA256 (01c7e647388f9e23fc828059a3fd9c61b43c0740.patch) = 6248c0d69b2309c5b977d6cd0ff75788a6e668b6c6c87c3113bb2e5603273ea4
-SIZE (01c7e647388f9e23fc828059a3fd9c61b43c0740.patch) = 795
+TIMESTAMP = 1757855190
+SHA256 (facebookresearch-faiss-v1.12.0_GH0.tar.gz) = 561376d1a44771bf1230fabeef9c81643468009b45a585382cf38d3a7a94990a
+SIZE (facebookresearch-faiss-v1.12.0_GH0.tar.gz) = 1169676
diff --git a/math/faiss/pkg-plist b/math/faiss/pkg-plist
index a8c21fd07a17..af4874fd8148 100644
--- a/math/faiss/pkg-plist
+++ b/math/faiss/pkg-plist
@@ -85,6 +85,7 @@ include/faiss/impl/platform_macros.h
 include/faiss/impl/pq4_fast_scan.h
 include/faiss/impl/residual_quantizer_encode_steps.h
 include/faiss/impl/simd_result_handlers.h
+include/faiss/impl/zerocopy_io.h
 include/faiss/index_factory.h
 include/faiss/index_io.h
 include/faiss/invlists/BlockInvertedLists.h