[llvm] [libcxx] Add pre-commit hooks and git config for libc++ & git-clang-format. (PR #73798)

Mark de Wever via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 9 04:43:31 PST 2023


================
@@ -132,6 +133,10 @@ RUN <<EOF
   sudo /tmp/llvm.sh $(($LLVM_HEAD_VERSION - 1)) all  # latest release
   sudo /tmp/llvm.sh $LLVM_HEAD_VERSION          all  # current ToT
   sudo apt-get install -y libomp5-$LLVM_HEAD_VERSION
+
+  # Install the latest git-clang-format
+  sudo ln -s $(which git-clang-format-$LLVM_HEAD_VERSION) /usr/bin/clang-format
----------------
mordante wrote:

Did we change our policy? Shouldn't this be the latest stable version, `$(($LLVM_HEAD_VERSION - 1))`, instead?

https://github.com/llvm/llvm-project/pull/73798


More information about the llvm-commits mailing list