Skip to content

Commit

Permalink
Copy older cache
Browse files Browse the repository at this point in the history
Summary: To avoid jfrog being down right now.

Differential Revision: D52626633
  • Loading branch information
agampe authored and facebook-github-bot committed Jan 9, 2024
1 parent c6528f4 commit 24de9ce
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ commands:
- restore_cache:
keys:
- boost-1-71-0-v5
# Temporarily to bypass jfrog downtime.
- restore_cache:
keys:
- boost-1-71-0-v4
- restore_cache:
keys:
- protobuf3-v3
Expand Down
6 changes: 6 additions & 0 deletions setup_oss_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ if [ -z "$TOOLCHAIN_TMP" ] ; then
else
echo "Using toolchain tmp $TOOLCHAIN_TMP"
mkdir -p "$TOOLCHAIN_TMP"

# Temporarily to bypass jfrog downtime.
if [ -d "dl_cache" ] && [ ! -d "$TOOLCHAIN_TMP/dl_cache" ] ; then
echo "Copying older cache..."
cp -r dl_cache "$TOOLCHAIN_TMP/"
fi
fi

if [ "$1" = "32" ] ; then
Expand Down

0 comments on commit 24de9ce

Please sign in to comment.