Fix lld detection if both gold and lld are found
[ghc.git] / .gitignore
index b71afec..073c5a3 100644 (file)
@@ -5,12 +5,15 @@ Thumbs.db
 .DS_Store
 
 *~
+*#
 #*#
 *.bak
 *.BAK
 *.orig
 *.prof
 *.rej
+*.patch
+*.stackdump
 
 *.hi
 *.hi-boot
@@ -27,6 +30,8 @@ Thumbs.db
 *.depend*
 *.dyn_o
 *.dyn_hi
+__pycache__
+*.SYMDEF*
 
 log
 tags
@@ -36,6 +41,16 @@ config.log
 config.status
 configure
 
+# Temporarily generated configure files
+confdefs.h
+
+# Hadrian files
+stage0
+stage1
+stage2
+_build
+hadrian
+
 # -----------------------------------------------------------------------------
 # Ignore any overlapped darcs repos and back up files
 
@@ -67,6 +82,8 @@ _darcs/
 /ghc/stage1/
 /ghc/stage2/
 /ghc/stage3/
+/iserv/stage2*/
+/iserv/dist/
 
 # -----------------------------------------------------------------------------
 # specific generated files
@@ -77,21 +94,24 @@ _darcs/
 /bindisttest/
 /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/man/flags.xml
-/docs/man/flags.xsl
-/docs/man/ghc.1
-/docs/users_guide/ug-book.xml
-/docs/users_guide/ug-ent.xml
-/docs/users_guide/users_guide.xml
+/docs/users_guide/users_guide
+/docs/users_guide/ghc.1
+/docs/users_guide/*.gen.rst
+/docs/users_guide/ghc_config.py
+/docs/users_guide/ghc_config.pyc
 /docs/users_guide/users_guide.pdf
-/docs/users_guide/users_guide.ps
-/docs/users_guide/users_guide/
-/docs/users_guide/what_glasgow_exts_does.gen.xml
+/docs/users_guide/build-html
+/docs/users_guide/build-pdf
+/docs/users_guide/build-man
+/docs/users_guide/.doctrees-*
+/docs/users_guide/.doctrees/
 /driver/ghci/ghc-pkg-inplace
 /driver/ghci/ghci-inplace
 /driver/ghci/ghci.res
@@ -102,6 +122,7 @@ _darcs/
 /ghc/ghc-bin.cabal
 /includes/ghcautoconf.h
 /includes/ghcplatform.h
+/includes/ghcversion.h
 /index.html
 /inplace/
 /libffi/build/
@@ -111,12 +132,19 @@ _darcs/
 /libffi/stamp*
 /libffi/package.conf.install
 /libffi/package.conf.install.raw
-/libraries/bin-package-db/GNUmakefile
-/libraries/bin-package-db/ghc.mk
 /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/ghc.mk
+/libraries/ghc-boot-th/GNUmakefile
+/libraries/ghc-boot-th/ghc-boot-th.cabal
+/libraries/ghc-boot-th/ghc.mk
+/libraries/ghci/GNUmakefile
+/libraries/ghci/ghci.cabal
+/libraries/ghci/ghc.mk
 /libraries/haddock-util.js
 /libraries/hslogo-16.png
 /libraries/index-frames.html
@@ -126,6 +154,7 @@ _darcs/
 /libraries/plus.gif
 /libraries/synopsis.png
 /libraries/stamp/
+/linter.log
 /mk/are-validating.mk
 /mk/build.mk
 /mk/config.h
@@ -141,8 +170,10 @@ _darcs/
 /rts/package.conf.install
 /rts/package.conf.install.raw
 /stage3.package.conf
-/testsuite_summary.txt
-/testlog
+/testsuite_summary*.txt
+/testsuite*.xml
+/testlog*
+/utils/mkUserGuidePart/mkUserGuidePart.cabal
 /utils/runghc/runghc.cabal
 
 /extra-gcc-opts
@@ -150,6 +181,15 @@ _darcs/
 
 .tm_properties
 VERSION
-
-/libraries/integer-gmp/gmp/gmp.h
-/libraries/integer-gmp/gmp/gmpbuild/
+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