[libcxx-commits] [libcxx] 90668ad - [libc++] Make sure we add /llvm to the list of safe directories
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jun 8 09:26:25 PDT 2022
Author: Louis Dionne
Date: 2022-06-08T12:26:17-04:00
New Revision: 90668adf682953baf89bdf17b1ee65ae22e11b1e
URL: https://github.com/llvm/llvm-project/commit/90668adf682953baf89bdf17b1ee65ae22e11b1e
DIFF: https://github.com/llvm/llvm-project/commit/90668adf682953baf89bdf17b1ee65ae22e11b1e.diff
LOG: [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.
Added:
Modified:
libcxx/utils/ci/run-buildbot-container
Removed:
################################################################################
diff --git a/libcxx/utils/ci/run-buildbot-container b/libcxx/utils/ci/run-buildbot-container
index 5d975ebfc4f4e..07fb2706beb20 100755
--- a/libcxx/utils/ci/run-buildbot-container
+++ b/libcxx/utils/ci/run-buildbot-container
@@ -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'
More information about the libcxx-commits
mailing list