mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-07-17 16:36:49 +00:00
Add OS-specific default versioning for TBB dependency in build scripts
This commit is contained in:
parent
bd0bf31eb3
commit
b16d176302
2 changed files with 6 additions and 2 deletions
|
|
@ -5,7 +5,11 @@ set -euo pipefail
|
|||
export JPEG_TURBO_RELEASE="${JPEG_TURBO_RELEASE:-3.2.0}"
|
||||
export LIBCPUID_RELEASE="${LIBCPUID_RELEASE:-v0.8.1}"
|
||||
export FMT_RELEASE="${FMT_RELEASE:-12.2.0}"
|
||||
export TBB_RELEASE="${TBB_RELEASE:-v2023.0.0}"
|
||||
if grep -q 'Ubuntu 20.04\|Debian GNU/Linux 11' /etc/os-release 2>/dev/null; then
|
||||
export TBB_RELEASE="${TBB_RELEASE:-v2020.3.3}"
|
||||
else
|
||||
export TBB_RELEASE="${TBB_RELEASE:-v2023.0.0}"
|
||||
fi
|
||||
export LIBYUV_BRANCH="${LIBYUV_BRANCH:-stable}"
|
||||
|
||||
source_dir=$(dirname "$0")
|
||||
|
|
|
|||
|
|
@ -43,8 +43,8 @@ prepare_source() {
|
|||
fi
|
||||
|
||||
curl -Ls "https://github.com/uxlfoundation/oneTBB/archive/${TBB_RELEASE}.tar.gz" | \
|
||||
tar xzvf - -C ${DIR}/ --strip-components=1
|
||||
|
||||
tar xzvf - -C ${DIR}/ --strip-components=1
|
||||
cd ${DIR}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue