mirror of https://github.com/microsoft/vcpkg.git
[arcticdb-sparrow] Add new port (#44236)
Co-authored-by: toge <toge.mail@gmail.com> Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
This commit is contained in:
parent
16f700e5db
commit
5e61fbe0fe
|
|
@ -0,0 +1,34 @@
|
|||
if(VCPKG_TARGET_IS_LINUX)
|
||||
message("Warning: `sparrow` requires Clang18+ or GCC 12+ on Linux")
|
||||
endif()
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO man-group/sparrow
|
||||
REF "${VERSION}"
|
||||
SHA512 1e80792625589c72a8e83cabc603f0f4e08ce72c6ba9044e2191f197e7740ac40f7b714c5fe543a00417689e48c681d5ea4f81b87baf54695f3725acf1d3a0e3
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
set(SPARROW_BUILD_SHARED ON)
|
||||
else()
|
||||
set(SPARROW_BUILD_SHARED OFF)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
-DSPARROW_BUILD_SHARED=${SPARROW_BUILD_SHARED}
|
||||
-DBUILD_TESTS=OFF
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME sparrow CONFIG_PATH share/cmake/sparrow)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "arcticdb-sparrow",
|
||||
"version": "0.5.0",
|
||||
"description": "C++20 idiomatic APIs for the Apache Arrow Columnar Format",
|
||||
"homepage": "https://github.com/man-group/sparrow",
|
||||
"license": "Apache-2.0",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
"date",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -51,6 +51,8 @@ apr:arm64-android=fail
|
|||
apr:x64-android=fail
|
||||
apsi:arm-neon-android=fail
|
||||
apsi:x64-android=fail
|
||||
# arcticdb-sparrow requires gcc13 and clang17 or later. linux-x64 always fails because it uses gcc11.
|
||||
arcticdb-sparrow:x64-linux=fail
|
||||
# Broken with CUDA 12; needs update to 3.8.3 and https://github.com/arrayfire/arrayfire/issues/3349 fixed
|
||||
arrayfire:x64-linux=fail
|
||||
avro-c:arm-neon-android=fail
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "56a860246cba2159516ff5ad32f32f27cbbee598",
|
||||
"version": "0.5.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -192,6 +192,10 @@
|
|||
"baseline": "2.21.1",
|
||||
"port-version": 2
|
||||
},
|
||||
"arcticdb-sparrow": {
|
||||
"baseline": "0.5.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"arcus": {
|
||||
"baseline": "4.10.0",
|
||||
"port-version": 4
|
||||
|
|
|
|||
Loading…
Reference in New Issue