Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error when build base component #8707

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Fix error when build base component #8707

merged 1 commit into from
Jan 22, 2025

Conversation

stsoe
Copy link
Collaborator

@stsoe stsoe commented Jan 21, 2025

Problem solved by the commit

Amend #8706. Use dummy value or XRT_DEV_COMPONENT when building only base component.

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

How problem was solved, alternative solutions (if any) and why they were rejected

Tempoary fix for cpackLin conditionally adding dependencies for legacy XRT when XRT_DEV_COMPONENT equals "xrt". We don't want the dependencies in case of base package so use dummy value to by-pass.

Also, ensure that pcie/linux shim is built only when XRT_BASE is active. Linux shim is shared between npu and alveo, hence should be in base component only.

Amend Xilinx#8706. Use dummy value or XRT_DEV_COMPONENT when building only
base component.

Tempoary fix for cpackLin conditionally adding dependencies for
legacy XRT when XRT_DEV_COMPONENT equals "xrt".  We don't want the
dependencies in case of base package so use dummy value to by-pass.

Also, ensure that pcie/linux shim is built only when XRT_BASE is
active.  Linux shim is shared between npu and alveo, hence should be
in base component only.

Signed-off-by: Soren Soe <[email protected]>
@stsoe stsoe requested a review from rozumx as a code owner January 21, 2025 17:21
@stsoe stsoe merged commit bda7340 into Xilinx:master Jan 22, 2025
20 checks passed
@stsoe stsoe deleted the components branch January 22, 2025 23:45
rchane pushed a commit to rchane/XRT that referenced this pull request Jan 24, 2025
Amend Xilinx#8706. Use dummy value or XRT_DEV_COMPONENT when building only
base component.

Tempoary fix for cpackLin conditionally adding dependencies for
legacy XRT when XRT_DEV_COMPONENT equals "xrt".  We don't want the
dependencies in case of base package so use dummy value to by-pass.

Also, ensure that pcie/linux shim is built only when XRT_BASE is
active.  Linux shim is shared between npu and alveo, hence should be
in base component only.

Signed-off-by: Soren Soe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant