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

Create XRT Windows SDK when base-dev component is built #8733

Merged
merged 8 commits into from
Feb 1, 2025

Conversation

stsoe
Copy link
Collaborator

@stsoe stsoe commented Jan 31, 2025

Problem solved by the commit

When building the base-dev component on windows, support creating
an SDK installer with the content of the development package.

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

A new build option build22.bat -sdk enables building of the SDK,
but requires NSIS to be installed on the build host.

The -sdk build switch implies building for npu, which
in turn builds both the base and npu components of XRT. In order to
prevent build failures for folks who have not installed NSIS, the sdk
is only built when explicitly requested through -sdk.

build22.bat -npu

build22.bat -sdk

build22.bat -npu -sdk

stsoe added 5 commits January 31, 2025 08:57
NSIS packager does not allow '-' in component name.

Signed-off-by: Soren Soe <[email protected]>
Signed-off-by: Soren Soe <[email protected]>
When building the base-dev component on windows, support creating
an SDK installer with the content of the development package.

A new build option `build22.bat -sdk` enables building of the SDK,
but requires NSIS to be installed on the build host.

The `-sdk` build switch implies building for npu, which
in turn builds both the base and npu components of XRT.  In order to
prevent build failures for folks who have not installed NSIS, the sdk
is only built when explicitly requested through `-sdk`.

```
build22.bat -npu

build22.bat -sdk

build22.bat -npu -sdk
```

Signed-off-by: Soren Soe <[email protected]>
Signed-off-by: Soren Soe <[email protected]>
@stsoe stsoe requested a review from rozumx as a code owner January 31, 2025 17:52
stsoe added 2 commits January 31, 2025 11:44
The capture library is a runtime plugin, do not release library or
namelink component.

Signed-off-by: Soren Soe <[email protected]>
This commit restores the default zip file generation for legacy XRT
builds.  For NPU builds it adds a zip file for the SDK as well the
NSIS installer

Signed-off-by: Soren Soe <[email protected]>
CPackDeb.cmake does not support -l{dir} which is required
when packaging plugin library libxrt_capture.so

Signed-off-by: Soren Soe <[email protected]>
@stsoe stsoe merged commit 74c9888 into Xilinx:master Feb 1, 2025
20 checks passed
@stsoe stsoe deleted the windows_packaging branch February 1, 2025 17:30
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