[slick-stream-buffer] Add new port (#52319)

This commit is contained in:
kzhdev 2026-06-12 17:50:28 -05:00 committed by GitHub
parent 7f39fde22e
commit 9b37ba89a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,26 @@
set(VCPKG_BUILD_TYPE release) # header only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO SlickQuant/slick-stream-buffer
REF "v${VERSION}"
SHA512 73f49896f355e92eb2e1583befdfb6a8f3b9f64e6b8acd3aa6c83ad324cabfe5193b5f973d4c4d19d6feaa814e7fbc78db3caee6b665ec5b80bfc29b6042560f
HEAD_REF main
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_SLICK_STREAM_BUFFER_TESTS=OFF
-DCMAKE_REQUIRE_FIND_PACKAGE_slick-shm=ON
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
CONFIG_PATH lib/cmake/slick-stream-buffer
)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -0,0 +1,23 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "slick-stream-buffer",
"version": "1.0.4",
"description": "A C++ lock-free SPMC byte stream buffer",
"homepage": "https://github.com/SlickQuant/slick-stream-buffer",
"license": "MIT",
"supports": "!uwp",
"dependencies": [
{
"name": "slick-shm",
"version>=": "0.1.4"
},
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -9396,6 +9396,10 @@
"baseline": "1.0.6",
"port-version": 0
},
"slick-stream-buffer": {
"baseline": "1.0.4",
"port-version": 0
},
"slickquant-hyperliquid-cpp": {
"baseline": "0.1.2",
"port-version": 0

View File

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