mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Toolchain: Set CACHED_TOOLCHAIN_ARCHIVE after computing hash
This commit is contained in:
parent
be4005cb9e
commit
8fe89cf441
Notes:
sideshowbarker
2024-07-19 01:50:30 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/8fe89cf4412 Pull-request: https://github.com/SerenityOS/serenity/pull/3802
1 changed files with 3 additions and 1 deletions
|
@ -84,8 +84,10 @@ pushd "$DIR"
|
||||||
CC=${CC},CXX=${CXX},with_gmp=${with_gmp},LDFLAGS=${LDFLAGS},
|
CC=${CC},CXX=${CXX},with_gmp=${with_gmp},LDFLAGS=${LDFLAGS},
|
||||||
BINUTILS_VERSION=${BINUTILS_VERSION},BINUTILS_MD5SUM=${BINUTILS_MD5SUM},
|
BINUTILS_VERSION=${BINUTILS_VERSION},BINUTILS_MD5SUM=${BINUTILS_MD5SUM},
|
||||||
GCC_VERSION=${GCC_VERSION},GCC_MD5SUM=${GCC_MD5SUM}"
|
GCC_VERSION=${GCC_VERSION},GCC_MD5SUM=${GCC_MD5SUM}"
|
||||||
|
DEPS_HASH=$("$DIR/ComputeDependenciesHash.sh" "$MD5SUM" <<<"${DEPS_CONFIG}")
|
||||||
|
DEPS_HASH_EXIT_CODE="$?"
|
||||||
CACHED_TOOLCHAIN_ARCHIVE="Cache/ToolchainLocal_${DEPS_HASH}.tar.gz"
|
CACHED_TOOLCHAIN_ARCHIVE="Cache/ToolchainLocal_${DEPS_HASH}.tar.gz"
|
||||||
if ! DEPS_HASH=$("$DIR/ComputeDependenciesHash.sh" "$MD5SUM" <<<"${DEPS_CONFIG}"); then
|
if [ "$DEPS_HASH_EXIT_CODE" -ne 0 ] ; then
|
||||||
# Make it stand out more
|
# Make it stand out more
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue