mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 20:48:09 +08:00
[apache-datasketches] New port (#32786)
* [apache-datasketches] New port * update version database
This commit is contained in:
parent
fc59c2a30a
commit
7d677e1fb0
23
ports/apache-datasketches/portfile.cmake
Normal file
23
ports/apache-datasketches/portfile.cmake
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
vcpkg_from_github(
|
||||||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
|
REPO apache/datasketches-cpp
|
||||||
|
REF "${VERSION}"
|
||||||
|
SHA512 81047ec2ac4559afc46d68b2332256b3950fc7092404606a872d9204c7e0ac13b7b0e0d6a34de01483bcb03c813ab75ce4866cc0c6783ebf4adddaa6535d322a
|
||||||
|
HEAD_REF master
|
||||||
|
)
|
||||||
|
|
||||||
|
set(VCPKG_BUILD_TYPE release) # header-only port
|
||||||
|
|
||||||
|
vcpkg_cmake_configure(
|
||||||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||||||
|
OPTIONS
|
||||||
|
-DBUILD_TESTS=OFF
|
||||||
|
)
|
||||||
|
|
||||||
|
vcpkg_cmake_install()
|
||||||
|
vcpkg_cmake_config_fixup(PACKAGE_NAME DataSketches CONFIG_PATH lib/DataSketches/cmake)
|
||||||
|
|
||||||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
||||||
|
|
||||||
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||||
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
4
ports/apache-datasketches/usage
Normal file
4
ports/apache-datasketches/usage
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apache-datasketches provides CMake targets:
|
||||||
|
|
||||||
|
find_package(DataSketches CONFIG REQUIRED)
|
||||||
|
target_link_libraries(main PRIVATE datasketches)
|
17
ports/apache-datasketches/vcpkg.json
Normal file
17
ports/apache-datasketches/vcpkg.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"name": "apache-datasketches",
|
||||||
|
"version": "4.1.0",
|
||||||
|
"description": "Apache DataSketches Core C++ Library Component.",
|
||||||
|
"homepage": "https://datasketches.apache.org/",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"dependencies": [
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake",
|
||||||
|
"host": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vcpkg-cmake-config",
|
||||||
|
"host": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
9
versions/a-/apache-datasketches.json
Normal file
9
versions/a-/apache-datasketches.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "7b8ef82b48832de95bf297231d0019f5cb2b4e82",
|
||||||
|
"version": "4.1.0",
|
||||||
|
"port-version": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -148,6 +148,10 @@
|
|||||||
"baseline": "3.5.0",
|
"baseline": "3.5.0",
|
||||||
"port-version": 1
|
"port-version": 1
|
||||||
},
|
},
|
||||||
|
"apache-datasketches": {
|
||||||
|
"baseline": "4.1.0",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
"approval-tests-cpp": {
|
"approval-tests-cpp": {
|
||||||
"baseline": "10.12.2",
|
"baseline": "10.12.2",
|
||||||
"port-version": 0
|
"port-version": 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user