Add abseil to the autoroller (#5680)

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.
This commit is contained in:
Steven Perron 2024-05-21 22:15:30 -04:00 committed by GitHub
parent e2646f5e95
commit ee749f5057
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,13 +29,12 @@ function ExitIfIsInterestingError() {
} }
dependencies=("external/effcee/" declare -A dependency_to_branch_map
"external/googletest/" dependency_to_branch_map["external/abseil_cpp"]="origin/master"
"external/re2/" dependency_to_branch_map["external/effcee/"]="origin/main"
"external/spirv-headers/") 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"
branch="origin/main"
# This script assumes it's parent directory is the repo root. # This script assumes it's parent directory is the repo root.
repo_path=$(dirname "$0")/.. repo_path=$(dirname "$0")/..
@ -53,7 +52,8 @@ old_head=$(git rev-parse HEAD)
set +e set +e
for dep in ${dependencies[@]}; do for dep in ${!dependency_to_branch_map[@]}; do
branch=${dependency_to_branch_map[$dep]}
echo "Rolling $dep" echo "Rolling $dep"
roll-dep --ignore-dirty-tree --roll-to="${branch}" "${dep}" roll-dep --ignore-dirty-tree --roll-to="${branch}" "${dep}"
ExitIfIsInterestingError $? ExitIfIsInterestingError $?