Toolchain: Set CACHED_TOOLCHAIN_ARCHIVE after computing hash

This commit is contained in:
Linus Groh 2020-10-19 19:24:56 +01:00 committed by Andreas Kling
parent be4005cb9e
commit 8fe89cf441
Notes: sideshowbarker 2024-07-19 01:50:30 +09:00

View file

@ -84,8 +84,10 @@ pushd "$DIR"
CC=${CC},CXX=${CXX},with_gmp=${with_gmp},LDFLAGS=${LDFLAGS},
BINUTILS_VERSION=${BINUTILS_VERSION},BINUTILS_MD5SUM=${BINUTILS_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"
if ! DEPS_HASH=$("$DIR/ComputeDependenciesHash.sh" "$MD5SUM" <<<"${DEPS_CONFIG}"); then
if [ "$DEPS_HASH_EXIT_CODE" -ne 0 ] ; then
# Make it stand out more
echo
echo