From d1ee9dce2ebad30b3dbc0df4f2a1307f63065b55 Mon Sep 17 00:00:00 2001 From: caipeng Date: Wed, 2 Oct 2024 07:31:53 +0800 Subject: [PATCH] [llvm-project][llvm] .gitignore supports filtering folders starting with cmake-build (#110649) Using clion to build llvm, in debug mode, the cmake-build-debug folder will be created by default, and in release mode, the cmake-build-release folder will be created by default, and these folders need to be filtered out of the .gitignore again, or else they will contaminate the current working environment. --- .gitignore | 1 + llvm/.gitignore | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 20c4f52cd3786..0e7c6c7900133 100644 --- a/.gitignore +++ b/.gitignore @@ -51,6 +51,7 @@ autoconf/autom4te.cache /CMakeSettings.json # CLion project configuration /.idea +/cmake-build* #==============================================================================# # Directories to ignore (do not add trailing '/'s, they skip symlinks). diff --git a/llvm/.gitignore b/llvm/.gitignore index eb69323201a53..48dda423228c2 100644 --- a/llvm/.gitignore +++ b/llvm/.gitignore @@ -32,6 +32,7 @@ autoconf/autom4te.cache /CMakeSettings.json # CLion project configuration /.idea +/cmake-build* # Qt Creator project configuration /CMakeLists.txt.user