[GHC] #12599: Add Hadrian build artifacts to gitignore

#12599: Add Hadrian build artifacts to gitignore -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- Andrey wrote requesting the following,
For top-level `.gitignore`: {{{ #
# Hadrian's stuff. Note, **/stageN/ folders will be relocated to _build/ after # resolving https://github.com/snowleopard/hadrian/issues/113 #
_build/ hadrian/ **/stage?/ }}}
For `.gitignore` in affected submodules (array, deepseq, directory, filepath, hoopl, hpc, process, utils/hsc2hs):
{{{ #
# Hadrian's stuff. Note, stageN/ folders will be relocated to top-level _build/ # after resolving https://github.com/snowleopard/hadrian/issues/113 #
stage?/ }}}
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12599 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12599: Add Hadrian build artifacts to gitignore -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): As indicated in the comments, these entries would disappear when https://github.com/snowleopard/hadrian/issues/113 is resolved. Consequently, I'm not entirely sure this is something we really want to do since it will pollute a large number of repositories outside of GHC. I'm going to see what it would take to resolve the issue in hopes that we can avoid adding the gitignores. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12599#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12599: Add Hadrian build artifacts to gitignore -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * owner: => bgamari -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12599#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12599: Add Hadrian build artifacts to gitignore -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #8040 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * related: => #8040 Comment: It seems like one of the first things to look at is #8040. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12599#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12599: Add Hadrian build artifacts to gitignore -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: task | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #8040 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * cc: snowleopard (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12599#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12599: Add Hadrian build artifacts to gitignore -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: task | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #8040 | Differential Rev(s): Phab:D2530 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * differential: => Phab:D2530 * milestone: => 8.2.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12599#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12599: Add Hadrian build artifacts to gitignore -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: task | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #8040 | Differential Rev(s): Phab:D2530 Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): The `HsVersions.h` issue (#8040) has been resolved. Andrey, what is the status of removing the remaining build artifacts out of the tree? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12599#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12599: Add Hadrian build artifacts to gitignore -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: task | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #8040 | Differential Rev(s): Phab:D2530 Wiki Page: | -------------------------------------+------------------------------------- Comment (by snowleopard): Thanks Ben! I've moved generated includes outside of the tree. The remaining bits are: 1. Files produced by `ghc-cabal` (e.g. `package-data.mk`) 2. Package configuration folders such as `libraries/bootstrapping.conf` 3. Program binaries If I understand correctly, we can close this ticket after fixing (1), as the Make build system also builds (2) and (3) in the tree. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12599#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12599: Add Hadrian build artifacts to gitignore -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: task | Status: new Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #8040 | Differential Rev(s): Phab:D2530 Wiki Page: | -------------------------------------+------------------------------------- Comment (by mgsloan): After running a hadrian build I see a clean working copy. Perhaps this ticket can be closed? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12599#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12599: Add Hadrian build artifacts to gitignore -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: task | Status: closed Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #8040 | Differential Rev(s): Phab:D2530 Wiki Page: | -------------------------------------+------------------------------------- Changes (by snowleopard): * status: new => closed * resolution: => fixed Comment: I'm pretty sure this ticket has been resolved a long time ago, so I'm closing it. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12599#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC