Skip to content

Package: add TGZ packaging support to holoscan package command#188

Draft
tbirdso wants to merge 1 commit into
nvidia-holoscan:mainfrom
tbirdso:package-tgz
Draft

Package: add TGZ packaging support to holoscan package command#188
tbirdso wants to merge 1 commit into
nvidia-holoscan:mainfrom
tbirdso:package-tgz

Conversation

@tbirdso

@tbirdso tbirdso commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Migrate TGZ generator support from holohub-internal tbirdso/holoscan-gstreamer-tgz branch to holoscan-cli:

  • Add TGZ to --pkg-generator help text alongside DEB and WHEEL
  • Pass -DHOLOHUB_PKG_TGZ=ON to cmake configure when TGZ is requested; this lets modules set CMAKE_INSTALL_LIBDIR to lib/<cuda_major>/ for the KitMaker multi-variant layout without affecting DEB/WHEEL builds
  • Route each generator to its matching CPackConfig--.cmake if one exists, falling back to the base CPackConfig-.cmake; this lets modules emit generator-specific CPack configs with different install layouts
  • Synthesize generator-specific filenames in dry-run so routing is consistent with real builds
  • Hard-fail with clear messages when no CPack configs were generated or when the requested generator has no matching config
  • Add six unit tests covering the new TGZ paths and error cases

Ported from: nvidia-holoscan/holohub#1604

@copy-pr-bot

copy-pr-bot Bot commented Jun 10, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Migrate TGZ generator support from holohub-internal
tbirdso/holoscan-gstreamer-tgz branch to holoscan-cli:

- Add TGZ to --pkg-generator help text alongside DEB and WHEEL
- Pass -DHOLOHUB_PKG_TGZ=ON to cmake configure when TGZ is requested;
  this lets modules set CMAKE_INSTALL_LIBDIR to lib/<cuda_major>/ for the
  KitMaker multi-variant layout without affecting DEB/WHEEL builds
- Route each generator to its matching CPackConfig-*-<GEN>.cmake if one
  exists, falling back to the base CPackConfig-*.cmake; this lets modules
  emit generator-specific CPack configs with different install layouts
- Synthesize generator-specific filenames in dry-run so routing is
  consistent with real builds
- Hard-fail with clear messages when no CPack configs were generated or
  when the requested generator has no matching config
- Add six unit tests covering the new TGZ paths and error cases

Ported from: nvidia-holoscan/holohub#1604

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Tom Birdsong <tbirdsong@nvidia.com>
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