Skip to content

Commit

Permalink
Toolchain: Set CACHED_TOOLCHAIN_ARCHIVE after computing hash
Browse files Browse the repository at this point in the history
  • Loading branch information
linusg authored and awesomekling committed Oct 19, 2020
1 parent be4005c commit 8fe89cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Toolchain/BuildIt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fe89cf

Please sign in to comment.