mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:09:00 +08:00
[usearch] Add new port (#33676)
This commit is contained in:
parent
6f29df2a11
commit
f08840767f
24
ports/usearch/portfile.cmake
Normal file
24
ports/usearch/portfile.cmake
Normal 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
17
ports/usearch/vcpkg.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
@ -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
9
versions/u-/usearch.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5ed129aec7ee2dec29767918714015211a556038",
|
||||
"version": "2.3.2",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user