Skip to content

Commit

Permalink
Only fix 20240116
Browse files Browse the repository at this point in the history
  • Loading branch information
marcalff committed Jul 11, 2024
1 parent 2d35432 commit 3b1f185
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ci/install_abseil.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ fi
#
# TODO(marcalff) Cleanup once abseil is upgraded to the next LTS

echo "Patching abseil"

patch -p1 << EOF
if [ "${ABSEIL_CPP_VERSION}" -eq "20240116.1" ] || [ "${ABSEIL_CPP_VERSION}" -eq "20240116.2" ]; then
echo "Patching abseil"
patch -p1 << EOF
commit 779a3565ac6c5b69dd1ab9183e500a27633117d5
Author: Derek Mauro <dmauro@google.com>
Date: Tue Jan 30 10:13:25 2024 -0800
Expand All @@ -76,6 +77,9 @@ index 449a2cad..ee9ca9c3 100644
absl_cc_test(
EOF
else
echo "Not patching abseil"
fi

mkdir build && pushd build
cmake "${ABSEIL_CPP_BUILD_OPTIONS[@]}" ..
Expand Down

0 comments on commit 3b1f185

Please sign in to comment.