Skip to content

Commit

Permalink
[llvm-project][llvm] .gitignore supports filtering folders starting w…
Browse files Browse the repository at this point in the history
…ith cmake-build (llvm#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.
  • Loading branch information
iiicp authored Oct 1, 2024
1 parent 9c86819 commit d1ee9dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
1 change: 1 addition & 0 deletions llvm/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ autoconf/autom4te.cache
/CMakeSettings.json
# CLion project configuration
/.idea
/cmake-build*
# Qt Creator project configuration
/CMakeLists.txt.user

Expand Down

0 comments on commit d1ee9dc

Please sign in to comment.