Skip to content

Adjustable outputDirectoryName #7477

@excitoon

Description

@excitoon

Description of the problem / feature request:

Hi. I wonder if one can make outputDirectoryName (these {cpu}-{compilation_mode} parts of paths) for the build adjustable from command line. It would help to integrate Bazel into other pipelines because it is necessary to know where output files are. I can run bazel info/bazel cquery, but that will involve extracting, loading and/or configuring, I guess, and therefore it looks like extra overhead.

Have you found anything relevant by searching the web?

https://stackoverflow.com/questions/51292429/bazel-how-to-get-path-to-output-binary
https://stackoverflow.com/questions/47859615/bazel-how-do-you-get-the-path-to-a-generated-file

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)team-Configurabilityplatforms, toolchains, cquery, select(), config transitions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions