Opened 3 years ago

Closed 3 years ago

#7579 closed feature request (fixed)

Command line option to suppress LLVM version warning

Reported by: thoughtpolice Owned by: thoughtpolice
Priority: normal Milestone:
Component: Compiler (LLVM) Version: 7.7
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


When developing I'm sometimes testing the LLVM backend and often it's with a development version. In this case I'd like to be able to configure my mk/ to suppress the annoying version constraint warning, since I know what llc etc it will use. It makes the build output a lot less annoying.

Attached is a patch. It's undocumented, since it's probably is only useful to developers.

Attachments (1)

0001-Add-f-no-warn-unsupported-llvm-version.patch (3.1 KB) - added by thoughtpolice 3 years ago.
Add -f[no-]warn-unsupported-llvm-version

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by thoughtpolice

Add -f[no-]warn-unsupported-llvm-version

comment:1 Changed 3 years ago by thoughtpolice

  • Status changed from new to patch

comment:2 Changed 3 years ago by…

commit 5cca0b443ed2b0328e58fb7881cb393c300f64ed

Author: Austin Seipp <[email protected]>
Date:   Sun Jan 13 22:23:37 2013 -0600

    Add -f[no-]warn-unsupported-llvm-version. Closes Trac #7579.
    This controls whether or not the compiler warns if we're using an LLVM
    version that's too old or too new. It's mostly useful when building the
    compiler knowingly with an unsupported version, so you don't get a lot
    of warnings in the build process.
    There's no documentation for this since it's a flag only a few
    developers would care about anyway.
    Signed-off-by: Austin Seipp <[email protected]>

 compiler/llvmGen/LlvmCodeGen.hs |    5 +++--
 compiler/main/DynFlags.hs       |    5 ++++-
 2 files changed, 7 insertions(+), 3 deletions(-)

comment:3 Changed 3 years ago by thoughtpolice

  • Resolution set to fixed
  • Status changed from patch to closed
Note: See TracTickets for help on using tickets.