[sparrow-ipc] Create recipe and add version 1.0.2 (#51010)

Co-authored-by: Alexis Placet <2400067+Alex-PLACET@users.noreply.github.com>
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
This commit is contained in:
Alexis Placet 2026-04-25 03:43:56 +02:00 committed by GitHub
parent 459923f282
commit 89dd0f4d24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,28 @@
if(VCPKG_TARGET_IS_LINUX)
message("Warning: `sparrow-ipc` requires Clang18+ or GCC 11.2+ on Linux")
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO sparrow-org/sparrow-ipc
REF "${VERSION}"
SHA512 1a96f489ef923748c27413e07590805782f2cd46c9a625638aed601ad35c96acece058e3849a2a727ccbec294dc388dad4c8e27e54a750ab8df69c08802a1882
HEAD_REF main
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" SPARROW_IPC_BUILD_SHARED)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
${FEATURE_OPTIONS}
-DSPARROW_IPC_BUILD_SHARED=${SPARROW_BUILD_SHARED}
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/sparrow-ipc)
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,22 @@
{
"name": "sparrow-ipc",
"version": "1.0.2",
"description": "C++20 idiomatic APIs for the Apache Arrow Serialization and Interprocess Communication (IPC)",
"homepage": "https://github.com/sparrow-org/sparrow-ipc",
"license": "BSD-3-Clause",
"supports": "!uwp",
"dependencies": [
"arcticdb-sparrow",
"flatbuffers",
"lz4",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zstd"
]
}

View File

@ -9464,6 +9464,10 @@
"baseline": "0.11.0",
"port-version": 0
},
"sparrow-ipc": {
"baseline": "1.0.2",
"port-version": 0
},
"sparsehash": {
"baseline": "2.0.4",
"port-version": 2

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "f94fc17df579a67ebb78d0a6ef18ad6a12985cf2",
"version": "1.0.2",
"port-version": 0
}
]
}