Closed
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:
- 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.
- 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.
- Be able to specify the default build system in the package.py file.
Metadata
Assignees
Labels
No labels