Skip to content

LLVM build output spew doubles the size CI logs. #70468

Closed

Description

@eddyb

Out of the 12622 log lines in a recent dist-x86_64-linux build:

  • 4843 of them are from the LLVM build itself
    • half of those are printing the file being compiled
    • the other half is this warning for every compiler invocation:
      clang-9: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
      
  • 1693 are from installing the LLVM build

So that's 6536 lines, over half of the log, that's noise from a successful LLVM build.

The result is slowed down log navigation, which can be frustrating when looking for an failure.

I'm not sure what the best way to quiet each of these things is, but I should mention that with ninja (and no -static-libstdc++), the only thing I see locally is the 1693 "Installing: ..." lines:

  • the build itself is contained within one status line, assuming there are no warnings, but I'm not sure how ninja would behave on CI (on Windows CI it certainly still outputs one line per file)
  • would be nice to get rid of those "Installing: ..." lines locally too

cc @Mark-Simulacrum

Activity

  1. added
    T-infra
    A-LLVM
    T-bootstrap
    on Mar 27, 2020
  2. jonhoo commented on Jan 28, 2022

    @jonhoo
    Contributor

    Just to leave a trail of breadcrumbs, there was an attempted fix for this in #89983

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMT-bootstrapT-infra

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions