Skip to content

Can we factor the LLVM targets information out of --version and into its own flag? #22658

Open
@bradcray

Description

@bradcray

I’m finding the “available LLVM targets” in the chpl --version output to have made what used to be a fairly short and sweet message into something that's now much longer without adding information that I typically find myself caring about. In this issue, I'd like to propose pushing that additional information into another flag (like chpl --print-llvm-targets , chpl --help-llvm-targets or chpl --llvm-targets?)

If we imagine we’ll normally be the ones asking the users to send us this information, we could leave it at that. If we think they’re going to want to find it on their own, we could change the LLVM version line to read:

built with LLVM version 14.0.6  (use --print--llvm-targets to see a list of available targets)

(where my preference would be the former if we don’t think there’d be a downside). If we thought this was something we were going to want from users typically, we could add it to the GitHub bug template; or if we thought we'd primarily want it for GPU bugs, we could create a GPU-bug-specific template.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions