[llvm] d1ee9dc - [llvm-project][llvm] .gitignore supports filtering folders starting with cmake-build (#110649)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 16:31:57 PDT 2024
Author: caipeng
Date: 2024-10-02T01:31:53+02:00
New Revision: d1ee9dce2ebad30b3dbc0df4f2a1307f63065b55
URL: https://github.com/llvm/llvm-project/commit/d1ee9dce2ebad30b3dbc0df4f2a1307f63065b55
DIFF: https://github.com/llvm/llvm-project/commit/d1ee9dce2ebad30b3dbc0df4f2a1307f63065b55.diff
LOG: [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.
Added:
Modified:
.gitignore
llvm/.gitignore
Removed:
################################################################################
diff --git a/.gitignore b/.gitignore
index 20c4f52cd37860..0e7c6c79001338 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 eb69323201a533..48dda423228c26 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
More information about the llvm-commits
mailing list