Skip to content

Greatly reduce the amount of build product we upload. - #4494

Merged
ezyang merged 4 commits into
haskell:masterfrom
ezyang:cabal-travis
May 7, 2017
Merged

ezyang merged 4 commits into
haskell:masterfrom
ezyang:cabal-travis

Conversation

@ezyang

@ezyang ezyang commented May 4, 2017 •

Copy link
Copy Markdown
Contributor

Greatly reduce the amount of build product we upload.

See #4462 for the gory details.

Main things about this commit:

  • New 'monolithic' flag on cabal-install, which combines
    all of the tests into a single binary. It's not very
    much code, and you don't pay for any of it on a release
    build. I quite like it. The one downside is that
    we can't also pull in Cabal test suites this way.

  • Env vars got moved into travis-common.sh

  • travis-script.sh now runs the cabal-tests tests, because
    we aren't sending enough build product over to do them
    on the second Travis run

@mention-bot

Copy link
Copy Markdown

@ezyang, thanks for your PR! By analyzing the history of the files in this pull request, we identified @phadej, @23Skidoo and @quchen to be potential reviewers.

@ezyang
ezyang force-pushed the cabal-travis branch 3 times, most recently from c0691a1 to 761f007 Compare May 6, 2017 04:28
See haskell#4462 for the gory details.

Main things about this commit:

- New 'monolithic' flag on cabal-install, which combines
  all of the tests into a single binary.  It's not very
  much code, and you don't pay for any of it on a release
  build.  I quite like it.  The one downside is that
  we can't also pull in Cabal test suites this way.

- Env vars got moved into travis-common.sh

- travis-script.sh now runs the cabal-tests tests, because
  we aren't sending enough build product over to do them
  on the second Travis run

Signed-off-by: Edward Z. Yang <[email protected]>
ezyang added 3 commits May 6, 2017 20:53
Signed-off-by: Edward Z. Yang <[email protected]>
@ezyang ezyang changed the title Initial cut at reduced upload Greatly reduce the amount of build product we upload. May 7, 2017
@ezyang

ezyang commented May 7, 2017

Copy link
Copy Markdown
Contributor Author

This is ready for review.

@23Skidoo 23Skidoo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@ezyang
ezyang merged commit 934009b into haskell:master May 7, 2017
ezyang added a commit to ezyang/cabal that referenced this pull request May 7, 2017
 Greatly reduce the amount of build product we upload.
main-is: MemoryUsageTests.hs
hs-source-dirs: tests
ghc-options: -Wall -fwarn-tabs "-with-rtsopts=-M4M -K1K"
ghc-options: -Wall -fwarn-tabs "-with-rtsopts=-M4M -K1K" -main-is MemoryUsageTests

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the Travis script no longer uses these RTS options to run the test suite.

ezyang added a commit that referenced this pull request May 7, 2017
Merge pull request #4494 from ezyang/cabal-travis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants