Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem solved by the commit
Ensure that all install targets specify a CMake component.
How problem was solved, alternative solutions (if any) and why they were rejected
XRT currently supports building four packages: base, npu, alveo, and legacy xrt. The package built by XRT is controlled through CMake variables that are either set by build scripts or inferred automatically:
The packages are created by populating CMake components controlled through following symbolic internal CMake variables, which are set to either base, npu, alveo, or xrt depending on which package is built
This PR ensures that all install targets specify and CMake component and it wires up the symbolic components based on what package is being built.
For the time being, the npu, alveo, and legacy xrt packages all include the base component. This will change when we are ready keep a separate base package and support side-by-side installation of npu and alveo. Also for the time being, all packages combine deployment and development.
Risks (if any) associated the changes in the commit
What has been tested and how, request additional testing if necessary
This PR has been tested building all variants listed above ensuring that the legacy xrt package (and npu package) have the same content as in earlier (or current) XRT releases.