# -----------------------------------------------------------------------------
# generic generated file patterns

Thumbs.db
.DS_Store

*~
*#
#*#
*.bak
*.BAK
*.orig
*.prof
*.rej
*.patch
*.stackdump

*.hi
*.hi-boot
*.o-boot
*.p_o
*.t_o
*.debug_o
*.thr_o
*.thr_p_o
*.thr_debug_o
*.o
*.a
*.o.cmd
*.depend*
*.dyn_o
*.dyn_hi
__pycache__
.mypy_cache
*.SYMDEF*

log
tags
TAGS

autom4te.cache
aclocal.m4
config.log
config.status
configure

# Temporarily generated configure files
confdefs.h

# Hadrian files
stage0
stage1
stage2
_build
_validatebuild
*/generated/
*/ghc-stage1
.shake.*
.hadrian_ghci

# -----------------------------------------------------------------------------
# Ignore any overlapped darcs repos and back up files

*-darcs-backup*
_darcs/

# -----------------------------------------------------------------------------
# sub-repositories

/ghc-tarballs/

# -----------------------------------------------------------------------------
# Cabal dist directories

/driver/ghc/dist/
/driver/haddock/dist/
/driver/ghci/dist/
/includes/dist/
/includes/dist-*/
/libffi/dist-install/
/libraries/*/dist-boot/
/libraries/*/dist-install/
/libraries/*/dist-newstyle/
/libraries/dist-haddock/
/rts/dist/
/utils/*/dist*/
/compiler/stage1/
/compiler/stage2/
/compiler/stage3/
/ghc/stage1/
/ghc/stage2/
/ghc/stage3/
/utils/iserv/stage2*/

# -----------------------------------------------------------------------------
# specific generated files

/bindist-list
/bindist-list.uniq
/bindistprep/
/bindisttest/HelloWorld
/bindisttest/
/bootstrapping/
/ch01.html
/ch02.html
/compiler/dist/
/compiler/ghc.cabal
/compiler/ghc.cabal.old
/distrib/configure.ac
/distrib/ghc.iss
/docs/man
/docs/index.html
/docs/users_guide/.log
/docs/users_guide/users_guide
/docs/users_guide/ghc.1
/docs/users_guide/flags.pyc
/docs/users_guide/ghc_config.py
/docs/users_guide/ghc_config.pyc
/docs/users_guide/users_guide.pdf
/docs/users_guide/build-html
/docs/users_guide/build-pdf
/docs/users_guide/build-man
/docs/users_guide/.doctrees-*
/docs/users_guide/.doctrees/
/docs/users_guide/ghc_packages.pyc
/docs/users_guide/utils.pyc
/driver/ghci/ghc-pkg-inplace
/driver/ghci/ghci-inplace
/driver/ghci/ghci-wrapper.cabal
/driver/ghci/ghci.res
/driver/ghci/cwrapper.c
/driver/ghci/cwrapper.h
/driver/ghci/getLocation.c
/driver/ghci/getLocation.h
/driver/ghci/isMinTTY.c
/driver/ghci/isMinTTY.h
/driver/package.conf
/driver/package.conf.inplace.old
/settings
/ghc.spec
/ghc/ghc-bin.cabal
/includes/dist/
/index.html
/inplace/
/libffi/build/
/libffi/ffi.h
/libffi/package.conf.inplace
/libffi/package.conf.inplace.raw
/libffi/stamp*
/libffi/package.conf.install
/libffi/package.conf.install.raw
/libraries/bootstrapping.conf
/libraries/prologue.txt
/libraries/doc-index*.html
/libraries/frames.html
/libraries/ghc-boot/GNUmakefile
/libraries/ghc-boot/ghc-boot.cabal
/libraries/ghc-boot-th/GNUmakefile
/libraries/ghc-boot-th/ghc-boot-th.cabal
/libraries/ghc-boot-th/ghc.mk
/libraries/ghc-heap/ghc-heap.cabal
/libraries/ghci/GNUmakefile
/libraries/ghci/ghci.cabal
/libraries/ghci/ghc.mk
/libraries/haddock-util.js
/libraries/hslogo-16.png
/libraries/index-frames.html
/libraries/index.html
/libraries/libiserv/libiserv.cabal
/libraries/minus.gif
/libraries/ocean.css
/libraries/plus.gif
/libraries/synopsis.png
/libraries/stamp/
/libraries/template-haskell/template-haskell.cabal
/linter.log
/mk/are-validating.mk
/mk/build.mk
/mk/config.h
/mk/config.h.in
/mk/config.mk
/mk/config.mk.old
/mk/install.mk
/mk/project.mk
/mk/project.mk.old
/mk/validate.mk
/rts/rts.cabal
/rts/package.conf.inplace
/rts/package.conf.inplace.raw
/rts/package.conf.install
/rts/package.conf.install.raw
/stage3.package.conf
/testsuite_summary*.txt
/testsuite*.xml
/testlog*
/utils/iserv/iserv.cabal
/utils/iserv-proxy/iserv-proxy.cabal
/utils/remote-iserv/remote-iserv.cabal
/utils/mkUserGuidePart/mkUserGuidePart.cabal
/utils/runghc/runghc.cabal
/utils/gen-dll/gen-dll.cabal
/utils/ghc-pkg/ghc-pkg.cabal
utils/lndir/fs.*
utils/unlit/fs.*
rts/fs.*
libraries/base/include/fs.h
libraries/base/cbits/fs.c
missing-win32-tarballs

/extra-gcc-opts
/sdistprep

.tm_properties
VERSION
GIT_COMMIT_ID

# -------------------------------------------------------------------------------------
# when using a docker image, one can mount the source code directory as the home folder
# -------------------------------------------------------------------------------------
.arcrc
.ghc
.bash_history
.gitconfig

# Should be equal to testdir_suffix from testsuite/driver/testlib.py.
*.run

# -----------------------------------------------------------------------------
# ghc.nix
ghc.nix/

# gdb
.gdb_history
.gdbinit

# -----------------------------------------------------------------------------
# Tooling

# direnv
.envrc

# Visual Studio Code
.vscode

# Tooling - ghcide
*.hiedb

# clangd
.clangd
