[libc++] Make sure we add /llvm to the list of safe directories

With the new version of Git in Ubuntu Jammy (which is now what we use in
our Docker image), we need to add `/llvm` to the list of safe directories
to avoid failures.
This commit is contained in:
Louis Dionne 2022-06-08 12:25:05 -04:00
parent a1aef4f374
commit 90668adf68
1 changed files with 2 additions and 1 deletions
libcxx/utils/ci

View File

@ -27,4 +27,5 @@ if [[ ! -d "${MONOREPO_ROOT}/libcxx/utils/ci" ]]; then
exit 1
fi
docker pull ldionne/libcxx-builder
docker run -it --volume "${MONOREPO_ROOT}:/llvm" --workdir "/llvm" --cap-add=SYS_PTRACE ldionne/libcxx-builder bash
docker run -it --volume "${MONOREPO_ROOT}:/llvm" --workdir "/llvm" --cap-add=SYS_PTRACE ldionne/libcxx-builder \
bash -c 'git config --global --add safe.directory /llvm ; exec bash'