Skip to content

Commit

Permalink
Upgrade libgrpc to v1.56.0
Browse files Browse the repository at this point in the history
Invalidate old caches if the version is upgraded.
  • Loading branch information
larryTheCoder committed Jul 16, 2023
1 parent e3262a9 commit b9848de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SQLITE3_VERSION="3420000" #3.42.0
LIBDEFLATE_VERSION="495fee110ebb48a5eb63b75fd67e42b2955871e2" #1.18
LIBRDKAFKA_VER="2.1.1"
LIBZSTD_VER="1.5.5"
LIBGRPC_VER="1.55.1"
LIBGRPC_VER="1.56.0"
SASL2_VERSION="2.1.28"

EXT_PTHREADS_VERSION="4.2.1"
Expand Down Expand Up @@ -284,6 +284,7 @@ function download_file {
echo "Cache hit for URL: $url" >> "$DIR/install.log"
else
echo "Downloading file to cache: $url" >> "$DIR/install.log"
rm -f "$DOWNLOAD_CACHE/$prefix-"* >> "$DIR/install.log" 2>&1
_download_file "$1" > "$DOWNLOAD_CACHE/$cached_filename" 2>> "$DIR/install.log"
fi
cat "$DOWNLOAD_CACHE/$cached_filename" 2>> "$DIR/install.log"
Expand Down Expand Up @@ -325,6 +326,7 @@ function git_download_file {
pushd $git_path >> "$DIR/install.log" 2>&1
git submodule update --depth=1 --init >> "$DIR/install.log" 2>&1
popd >> "$DIR/install.log" 2>&1
rm -f "$DOWNLOAD_CACHE/$prefix-"* >> "$DIR/install.log" 2>&1
tar czf "$DOWNLOAD_CACHE/$cached_filename" $git_path >> "$DIR/install.log" 2>&1
fi
else
Expand Down
2 changes: 1 addition & 1 deletion windows-compile-vs.bat
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set LEVELDB_MCPE_VER=1c7564468b41610da4f498430e795ca4de0931ff
set LIBDEFLATE_VER=495fee110ebb48a5eb63b75fd67e42b2955871e2
set LIBRDKAFKA_VER=2.1.1
set LIBZSTD_VER=1.5.5
set LIBGRPC_VER=1.49.0
set LIBGRPC_VER=1.56.0

set PHP_PTHREADS_VER=4.2.1
set PHP_PMMPTHREAD_VER=6.0.4
Expand Down

0 comments on commit b9848de

Please sign in to comment.