Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustbuild: Disable docs on cross-compiled builds #49187

Merged
merged 1 commit into from
Mar 26, 2018

Commits on Mar 26, 2018

  1. rustbuild: Disable docs on cross-compiled builds

    This commit disables building documentation on cross-compiled compilers, for
    example ARM/MIPS/PowerPC/etc. Currently I believe we're not getting much use out
    of these documentation artifacts and they often take 10-15 minutes total to
    build as it requires building rustdoc/rustbook and then also generating all the
    documentation, especially for the reference and the book itself.
    
    In an effort to cut down on the amount of work that we're doing on dist CI
    builders in light of recent timeouts this was some relatively low hanging fruit
    to cut which in theory won't have much impact on the ecosystem in the hopes that
    the documentation isn't used too heavily anyway.
    
    While initial analysis in rust-lang#48827 showed only shaving 5 minutes off local builds
    the same 5 minute conclusion was drawn from rust-lang#48826 which ended up having nearly
    a half-hour impact on the bots. In that sense I'm hoping that we can land this
    and test out what happens on CI to see how it affects timing.
    
    Note that all tier 1 platforms, Windows, Mac, and Linux, will continue to
    generate documentation.
    alexcrichton committed Mar 26, 2018
    Configuration menu
    Copy the full SHA
    bd28641 View commit details
    Browse the repository at this point in the history