[arcticdb-sparrow-extensions] Add arcticdb sparrow extension (#48765)

This commit is contained in:
Alexis Placet
2025-12-09 22:00:48 +01:00
committed by GitHub
parent fd67581bb4
commit 0d46e3823f
4 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
if(VCPKG_TARGET_IS_LINUX)
message("Warning: `sparrow-extensions` requires Clang18+ or GCC 11.2+ on Linux")
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO QuantStack/sparrow-extensions
REF "${VERSION}"
SHA512 1b17743570382c418bba43a1fc343c3811250bd505940e66c6a94a79a2e545ad1e0c425fd27cd637cf0c36c0f738fb8dc002640d29b5c2db9d0441846fca6b5f
HEAD_REF main
)
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
set(SPARROW_EXTENSIONS_BUILD_SHARED ON)
else()
set(SPARROW_EXTENSIONS_BUILD_SHARED OFF)
endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${FEATURE_OPTIONS}
-DSPARROW_EXTENSIONS_BUILD_SHARED=${SPARROW_EXTENSIONS_BUILD_SHARED}
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME sparrow-extensions CONFIG_PATH share/cmake/sparrow-extensions)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@@ -0,0 +1,19 @@
{
"name": "arcticdb-sparrow-extensions",
"version": "0.2.0",
"description": "Apache Arrow canonical extensions for Sparrow",
"homepage": "https://github.com/QuantStack/sparrow-extensions",
"license": "Apache-2.0",
"supports": "!uwp",
"dependencies": [
"arcticdb-sparrow",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "156842526f80a1cca5b001a9e9298457464f481e",
"version": "0.2.0",
"port-version": 0
}
]
}

View File

@@ -212,6 +212,10 @@
"baseline": "1.4.0",
"port-version": 0
},
"arcticdb-sparrow-extensions": {
"baseline": "0.2.0",
"port-version": 0
},
"arcus": {
"baseline": "4.10.0",
"port-version": 4