Skip to content

Commit

Permalink
Add abseil to the autoroller
Browse files Browse the repository at this point in the history
The autoroller does not update abseil, and that it stopping us from
updating RE2. This change will update the auto roller, then the next
time it runs, we should be able to update everything.
  • Loading branch information
s-perron committed May 21, 2024
1 parent ccf3e3c commit ed2e1f0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions utils/roll_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ function ExitIfIsInterestingError() {
}


dependencies=("external/effcee/"
"external/googletest/"
"external/re2/"
"external/spirv-headers/")


branch="origin/main"
declare -A dependency_to_branch_map
dependency_to_branch_map["external/abseil_cpp"]="origin/master"
dependency_to_branch_map["external/effcee/"]="origin/main"
dependency_to_branch_map["external/googletest/"]="origin/main"
dependency_to_branch_map["external/re2/"]="origin/main"
dependency_to_branch_map["external/spirv-headers/"]="origin/main"

# This script assumes it's parent directory is the repo root.
repo_path=$(dirname "$0")/..
Expand All @@ -53,7 +52,8 @@ old_head=$(git rev-parse HEAD)

set +e

for dep in ${dependencies[@]}; do
for dep in ${!dependency_to_branch_map[@]}; do
branch=${dependency_to_branch_map[$dep]}
echo "Rolling $dep"
roll-dep --ignore-dirty-tree --roll-to="${branch}" "${dep}"
ExitIfIsInterestingError $?
Expand Down

0 comments on commit ed2e1f0

Please sign in to comment.