forked from OSchip/llvm-project
[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:
parent
a1aef4f374
commit
90668adf68
libcxx/utils/ci
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue