Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
Uninstall older libclang so that that cmake finds the newest one.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 385577564
  • Loading branch information
gunjanbaid authored and copybara-github committed Jul 19, 2021
1 parent 6c736da commit 3bd27ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build_clif.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ apt-get install "${APT_ARGS[@]}" \
python3-pyparsing \
zlib1g-dev

# Uninstall an older version of libclang so that cmake uses the correct one.
apt-get remove "${APT_ARGS[@]}" libclang-common-9-dev

# Configure deadsnakes PPA with the more recent versions of python packaged for
# Ubuntu. See https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
apt-get update "${APT_ARGS[@]}" && \
Expand Down

0 comments on commit 3bd27ac

Please sign in to comment.