From owner-svn-ports-all@freebsd.org Mon Aug 31 01:18:07 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5BB253D1A98; Mon, 31 Aug 2020 01:18:07 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BfslM1jvtz3b91; Mon, 31 Aug 2020 01:18:07 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1AE871FC58; Mon, 31 Aug 2020 01:18:07 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07V1I6BZ084915; Mon, 31 Aug 2020 01:18:06 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07V1I6Dx084910; Mon, 31 Aug 2020 01:18:06 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202008310118.07V1I6Dx084910@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 31 Aug 2020 01:18:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547139 - in head/math: . faiss X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . faiss X-SVN-Commit-Revision: 547139 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2020 01:18:07 -0000 Author: yuri Date: Mon Aug 31 01:18:05 2020 New Revision: 547139 URL: https://svnweb.freebsd.org/changeset/ports/547139 Log: New port: math/faiss: Library for efficient similarity search & clustering of dense vectors Added: head/math/faiss/ head/math/faiss/Makefile (contents, props changed) head/math/faiss/distinfo (contents, props changed) head/math/faiss/pkg-descr (contents, props changed) head/math/faiss/pkg-plist (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Mon Aug 31 00:42:06 2020 (r547138) +++ head/math/Makefile Mon Aug 31 01:18:05 2020 (r547139) @@ -248,6 +248,7 @@ SUBDIR += eval SUBDIR += exprtk SUBDIR += facile + SUBDIR += faiss SUBDIR += fann SUBDIR += fcl SUBDIR += fcl05 Added: head/math/faiss/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/faiss/Makefile Mon Aug 31 01:18:05 2020 (r547139) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= faiss +DISTVERSIONPREFIX= v +DISTVERSION= 1.6.3-72 +DISTVERSIONSUFFIX= -gc97f890 +CATEGORIES= math + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library for efficient similarity search & clustering of dense vectors + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libopenblasp-r0.3.9.so:math/openblas + +USES= cmake compiler:c++11-lang +USE_GITHUB= yes +GH_ACCOUNT= facebookresearch +USE_LDCONFIG= yes + +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_OFF= FAISS_ENABLE_GPU FAISS_ENABLE_PYTHON + +do-test: + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + +.include Added: head/math/faiss/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/faiss/distinfo Mon Aug 31 01:18:05 2020 (r547139) @@ -0,0 +1,3 @@ +TIMESTAMP = 1598835056 +SHA256 (facebookresearch-faiss-v1.6.3-72-gc97f890_GH0.tar.gz) = 3eab64e47d8ffc6c5d42da75c1d88898b23034c067eb2225ccc9a4eb27b0c854 +SIZE (facebookresearch-faiss-v1.6.3-72-gc97f890_GH0.tar.gz) = 2752018 Added: head/math/faiss/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/faiss/pkg-descr Mon Aug 31 01:18:05 2020 (r547139) @@ -0,0 +1,6 @@ +Faiss is a library for efficient similarity search and clustering of dense +vectors. It contains algorithms that search in sets of vectors of any size, +up to ones that possibly do not fit in RAM. It also contains supporting code +for evaluation and parameter tuning. + +WWW: https://github.com/facebookresearch/faiss Added: head/math/faiss/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/faiss/pkg-plist Mon Aug 31 01:18:05 2020 (r547139) @@ -0,0 +1,62 @@ +include/faiss/AutoTune.h +include/faiss/Clustering.h +include/faiss/DirectMap.h +include/faiss/IVFlib.h +include/faiss/Index.h +include/faiss/Index2Layer.h +include/faiss/IndexBinary.h +include/faiss/IndexBinaryFlat.h +include/faiss/IndexBinaryFromFloat.h +include/faiss/IndexBinaryHNSW.h +include/faiss/IndexBinaryHash.h +include/faiss/IndexBinaryIVF.h +include/faiss/IndexFlat.h +include/faiss/IndexHNSW.h +include/faiss/IndexIVF.h +include/faiss/IndexIVFFlat.h +include/faiss/IndexIVFPQ.h +include/faiss/IndexIVFPQR.h +include/faiss/IndexIVFSpectralHash.h +include/faiss/IndexLSH.h +include/faiss/IndexLattice.h +include/faiss/IndexPQ.h +include/faiss/IndexPreTransform.h +include/faiss/IndexReplicas.h +include/faiss/IndexScalarQuantizer.h +include/faiss/IndexShards.h +include/faiss/InvertedLists.h +include/faiss/MatrixStats.h +include/faiss/MetaIndexes.h +include/faiss/MetricType.h +include/faiss/OnDiskInvertedLists.h +include/faiss/VectorTransform.h +include/faiss/clone_index.h +include/faiss/impl/AuxIndexStructures.h +include/faiss/impl/FaissAssert.h +include/faiss/impl/FaissException.h +include/faiss/impl/HNSW.h +include/faiss/impl/PolysemousTraining.h +include/faiss/impl/ProductQuantizer-inl.h +include/faiss/impl/ProductQuantizer.h +include/faiss/impl/ScalarQuantizer.h +include/faiss/impl/ThreadedIndex-inl.h +include/faiss/impl/ThreadedIndex.h +include/faiss/impl/io.h +include/faiss/impl/io_macros.h +include/faiss/impl/lattice_Zn.h +include/faiss/impl/platform_macros.h +include/faiss/index_factory.h +include/faiss/index_io.h +include/faiss/utils/Heap.h +include/faiss/utils/WorkerThread.h +include/faiss/utils/distances.h +include/faiss/utils/extra_distances.h +include/faiss/utils/hamming-inl.h +include/faiss/utils/hamming.h +include/faiss/utils/random.h +include/faiss/utils/utils.h +lib/libfaiss.so +%%DATADIR%%/faiss-config-version.cmake +%%DATADIR%%/faiss-config.cmake +%%DATADIR%%/faiss-targets-%%CMAKE_BUILD_TYPE%%.cmake +%%DATADIR%%/faiss-targets.cmake