From 94265befeea6911f4c047b678d20de8ad67ce24a Mon Sep 17 00:00:00 2001 From: Jon Meow <46229924+jonmeow@users.noreply.github.com> Date: Thu, 27 Jan 2022 09:25:15 -0800 Subject: [PATCH] Switch LLVM to a subtree (#1021) git rm third_party/llvm-project git subtree add --prefix third_party/llvm-project https://github.com/llvm/llvm-project.git dbf0d8118ccbfd09def0974bf671c39e94d0be93 --squash With some fixes for the compile. --- .gitmodules | 4 ---- .pre-commit-config.yaml | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitmodules b/.gitmodules index 41295b20751f..b078b2cbd780 100644 --- a/.gitmodules +++ b/.gitmodules @@ -2,10 +2,6 @@ # Exceptions. See /LICENSE for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -[submodule "third_party/llvm-project"] - path = third_party/llvm-project - url = https://github.com/llvm/llvm-project.git - branch = main [submodule "third_party/examples/brotli/original"] path = third_party/examples/brotli/original url = https://github.com/google/brotli diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c15c2349ef0e..fddca2d76a5e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -141,5 +141,6 @@ repos: exclude: | (?x)^( third_party/examples/.*/carbon/.*| + third_party/llvm-project/.*| .*/fuzzer_corpus/.* )$