[GHC] #8723: sdist should not have to build everything
#8723: sdist should not have to build everything ----------------------------------------------+---------------------------- Reporter: nomeata | Owner: Type: task | Status: new Priority: low | Milestone: Component: Build System | Version: 7.6.3 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Moderate (less than a day) | Type of failure: Blocked By: | None/Unknown Related Tickets: | Test Case: | Blocking: ----------------------------------------------+---------------------------- It would be nice if instead of {{{ $ perl boot $ ./configure $ make $ make sdist }}} it would suffice to run {{{ $ perl boot $ ./configure $ make sdist }}} and if that would not build more than necessary to generate the tarballs. It would save time on the GHC-HEAD-Debian-Package-autobuilder that I am currently working on. I might look into this bug eventually, but if someone else feels like doing it: Even better. (Difficulty estimated conservatively; might well be less than an hour, besides maybe waiting for test runs to finish :-)) Remember to update MakingReleases and Building/StandardTargets if this is implemented. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8723> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8723: sdist should not have to build everything -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: task | Status: new Priority: low | Milestone: Component: Build | Version: 7.6.3 System | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: | Difficulty: Moderate (less Unknown/Multiple | than a day) Type of failure: | Blocked By: None/Unknown | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by hvr): * cc: hvr (added) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8723#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8723: sdist should not have to build everything -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: task | Status: patch Priority: low | Milestone: 7.12.1 Component: Build System | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D917 -------------------------------------+------------------------------------- Changes (by thomie): * status: new => patch * differential: => Phab:D917 * milestone: => 7.12.1 Comment: Took me quite a bit longer then one hour, but I have a patch up in Phab:D917. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8723#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8723: sdist should not have to build everything -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: task | Status: patch Priority: low | Milestone: 7.12.1 Component: Build System | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D917 -------------------------------------+------------------------------------- Comment (by thomie): How about adding `happy` and `alex` to the build requirements for building from source tarballs? Then generating a source tarball becomes easier. As suggested by SPJ in ticket:1693#comment:25. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8723#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8723: sdist should not have to build everything -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: task | Status: patch Priority: low | Milestone: 7.12.1 Component: Build System | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D917 -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"092082e7583c8170ae41ef8d01a554db34f91bb3/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="092082e7583c8170ae41ef8d01a554db34f91bb3" Build: ./boot && ./configure && make sdist (#8723) Make it possible to run `make sdist` right after configure, without completing a complete build first. Test Plan: I compared the contents of the created `.tar.bz2` files in the `sdistprep` directory, after running `make sdist` both before and after completing a full build, using `diff -r`. There weren't any differences (after applying the patches from D914). Note that the `.tar.bz2` files were not exactly the same size, but they aren't either when tarring and bzipping the same directory twice. It seems tarring and bzipping is not deterministic (on my system). Differential Revision: https://phabricator.haskell.org/D917 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8723#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8723: sdist should not have to build everything -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: task | Status: closed Priority: low | Milestone: 7.12.1 Component: Build System | Version: 7.6.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D917 -------------------------------------+------------------------------------- Changes (by thomie): * status: patch => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8723#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC