Skip to content

--build-system not always available #549

Closed
@brentVilla

Description

In rez-build's finding on what build-system plugin to use, it only defines the --build-system flag if two or more build systems are detected. This is problematic because there is no way to force the build system if you have build infrastructure that is building codebases that may find a single build system and others find multiple. You can't configure the build infrastructure to always pass a --build-system flag because that will fail for codebases where only a single build system is defined. And you can't leave out that flag because then you'll get errors for multi-build system codebases.

Some options:

  1. Always define the --build-system flag, even for single build system codebases. Raise an error if the value of --build-system doesn't match the build system found.
  2. Have a default build system configuration value that rez-build will use in codebases with when multiple build systems are found and a --build-system flag is not provided.
  3. Be able to specify the default build system in the package.py file.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions