Skip to content

Commit d1ee9dc

Browse files
authoredOct 1, 2024··
[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.
1 parent 9c86819 commit d1ee9dc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ autoconf/autom4te.cache
5151
/CMakeSettings.json
5252
# CLion project configuration
5353
/.idea
54+
/cmake-build*
5455

5556
#==============================================================================#
5657
# Directories to ignore (do not add trailing '/'s, they skip symlinks).

‎llvm/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ autoconf/autom4te.cache
3232
/CMakeSettings.json
3333
# CLion project configuration
3434
/.idea
35+
/cmake-build*
3536
# Qt Creator project configuration
3637
/CMakeLists.txt.user
3738

0 commit comments

Comments
 (0)
Please sign in to comment.