mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[arcticdb-sparrow-extensions] Add arcticdb sparrow extension (#48765)
This commit is contained in:
32
ports/arcticdb-sparrow-extensions/portfile.cmake
Normal file
32
ports/arcticdb-sparrow-extensions/portfile.cmake
Normal 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")
|
||||
19
ports/arcticdb-sparrow-extensions/vcpkg.json
Normal file
19
ports/arcticdb-sparrow-extensions/vcpkg.json
Normal 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
|
||||
}
|
||||
]
|
||||
}
|
||||
9
versions/a-/arcticdb-sparrow-extensions.json
Normal file
9
versions/a-/arcticdb-sparrow-extensions.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "156842526f80a1cca5b001a9e9298457464f481e",
|
||||
"version": "0.2.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user