Date: Mon, 31 Aug 2020 01:18:06 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r547139 - in head/math: . faiss Message-ID: <202008310118.07V1I6Dx084910@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008310118.07V1I6Dx084910>