mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 12:17:05 +08:00
[annoy] new port (#29852)
This commit is contained in:
parent
e4040c68c9
commit
e91d0a25cc
20
ports/annoy/portfile.cmake
Normal file
20
ports/annoy/portfile.cmake
Normal 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
17
ports/annoy/vcpkg.json
Normal 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
9
versions/a-/annoy.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "fb0fa777748e35b69b4d3206cccc7ba770d12ee4",
|
||||||
|
"version-date": "2023-02-25",
|
||||||
|
"port-version": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -120,6 +120,10 @@
|
|||||||
"baseline": "chromium_5414",
|
"baseline": "chromium_5414",
|
||||||
"port-version": 1
|
"port-version": 1
|
||||||
},
|
},
|
||||||
|
"annoy": {
|
||||||
|
"baseline": "2023-02-25",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
"antlr4": {
|
"antlr4": {
|
||||||
"baseline": "4.11.1",
|
"baseline": "4.11.1",
|
||||||
"port-version": 1
|
"port-version": 1
|
||||||
|
Loading…
Reference in New Issue
Block a user