[thirdparty](lib) Add streamvbyte thirdparty lib (#29308)
This commit is contained in:
15
thirdparty/build-thirdparty.sh
vendored
15
thirdparty/build-thirdparty.sh
vendored
@ -1720,6 +1720,20 @@ build_libdeflate() {
|
||||
"${BUILD_SYSTEM}" install
|
||||
}
|
||||
|
||||
# streamvbyte
|
||||
build_streamvbyte() {
|
||||
check_if_source_exist "${STREAMVBYTE_SOURCE}"
|
||||
cd "${TP_SOURCE_DIR}/${STREAMVBYTE_SOURCE}"
|
||||
|
||||
rm -rf "${BUILD_DIR}"
|
||||
mkdir -p "${BUILD_DIR}"
|
||||
cd "${BUILD_DIR}"
|
||||
|
||||
"${CMAKE_CMD}" -G "${GENERATOR}" -DCMAKE_INSTALL_PREFIX="${TP_INSTALL_DIR}" -DCMAKE_BUILD_TYPE=Release ..
|
||||
"${BUILD_SYSTEM}" -j "${PARALLEL}"
|
||||
"${BUILD_SYSTEM}" install
|
||||
}
|
||||
|
||||
if [[ "${#packages[@]}" -eq 0 ]]; then
|
||||
packages=(
|
||||
libunixodbc
|
||||
@ -1784,6 +1798,7 @@ if [[ "${#packages[@]}" -eq 0 ]]; then
|
||||
dragonbox
|
||||
avx2neon
|
||||
libdeflate
|
||||
streamvbyte
|
||||
)
|
||||
if [[ "$(uname -s)" == 'Darwin' ]]; then
|
||||
read -r -a packages <<<"binutils gettext ${packages[*]}"
|
||||
|
||||
7
thirdparty/vars.sh
vendored
7
thirdparty/vars.sh
vendored
@ -484,6 +484,12 @@ LIBDEFLATE_NAME=libdeflate-1.19.tar.gz
|
||||
LIBDEFLATE_SOURCE=libdeflate-1.19
|
||||
LIBDEFLATE_MD5SUM="c69e9193d2975a729068ffa862c81fb6"
|
||||
|
||||
# streamvbyte
|
||||
STREAMVBYTE_DOWNLOAD="https://github.com/lemire/streamvbyte/archive/refs/tags/v1.0.0.tar.gz"
|
||||
STREAMVBYTE_NAME=streamvbyte-1.0.0.tar.gz
|
||||
STREAMVBYTE_SOURCE=streamvbyte-1.0.0
|
||||
STREAMVBYTE_MD5SUM="f334219db5a832b6dae3589a56a29563"
|
||||
|
||||
# all thirdparties which need to be downloaded is set in array TP_ARCHIVES
|
||||
export TP_ARCHIVES=(
|
||||
'LIBEVENT'
|
||||
@ -555,6 +561,7 @@ export TP_ARCHIVES=(
|
||||
'DRAGONBOX'
|
||||
'AVX2NEON'
|
||||
'LIBDEFLATE'
|
||||
'STREAMVBYTE'
|
||||
)
|
||||
|
||||
if [[ "$(uname -s)" == 'Darwin' ]]; then
|
||||
|
||||
Reference in New Issue
Block a user