[annoy] new port (#29852)

This commit is contained in:
moritz-h 2023-03-02 21:11:01 +01:00 committed by GitHub
parent e4040c68c9
commit e91d0a25cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,20 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO spotify/annoy
REF 0457742d12cf7a263f7c709ef1d470e5f08f791d # master on 2023-02-25
SHA512 df26b18a5a165081a9373076f974ee977b0b4b54e7a58da3723f608e4cc46aab1d0978f2663965c8bbb81d123c8efff1a77040ef2bfdc0287b08214514b40ecc
HEAD_REF master
)
set(VCPKG_BUILD_TYPE "release") # header-only port
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/annoy)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

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

@ -0,0 +1,17 @@
{
"name": "annoy",
"version-date": "2023-02-25",
"description": "Approximate Nearest Neighbors optimized for memory usage and loading/saving to disk",
"homepage": "https://github.com/spotify/annoy",
"license": "Apache-2.0",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

9
versions/a-/annoy.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "fb0fa777748e35b69b4d3206cccc7ba770d12ee4",
"version-date": "2023-02-25",
"port-version": 0
}
]
}

View File

@ -120,6 +120,10 @@
"baseline": "chromium_5414",
"port-version": 1
},
"annoy": {
"baseline": "2023-02-25",
"port-version": 0
},
"antlr4": {
"baseline": "4.11.1",
"port-version": 1