[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.
This commit is contained in:
caipeng 2024-10-02 07:31:53 +08:00 committed by GitHub
parent 9c868195da
commit d1ee9dce2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -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).

1
llvm/.gitignore vendored
View File

@ -32,6 +32,7 @@ autoconf/autom4te.cache
/CMakeSettings.json
# CLion project configuration
/.idea
/cmake-build*
# Qt Creator project configuration
/CMakeLists.txt.user