[usearch] Add new port (#33676)

This commit is contained in:
chausner 2023-09-14 02:10:57 +02:00 committed by GitHub
parent 6f29df2a11
commit f08840767f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,24 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO unum-cloud/usearch
REF "v${VERSION}"
SHA512 b18006b248ea76b1a8c27c9c1285954f9101305cb5228d3565c854bd1aaf92e430556a5dbeb3f43a6a307914dd60b277a3ed342b953101e502871de294962bd4
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DUSEARCH_INSTALL=ON
-DUSEARCH_BUILD_TEST=OFF
-DUSEARCH_BUILD_BENCHMARK=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/usearch)
vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

17
ports/usearch/vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "usearch",
"version": "2.3.2",
"description": "Fastest Search & Clustering engine × for Vectors & Strings",
"homepage": "https://github.com/unum-cloud/usearch",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -8480,6 +8480,10 @@
"baseline": "23.5",
"port-version": 3
},
"usearch": {
"baseline": "2.3.2",
"port-version": 0
},
"usockets": {
"baseline": "0.8.6",
"port-version": 1

9
versions/u-/usearch.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "5ed129aec7ee2dec29767918714015211a556038",
"version": "2.3.2",
"port-version": 0
}
]
}