Skip to content

Align publish.yml build containers with tests.yml (Rocky Linux 8 / manylinux_2_28)#540

Merged
harrism merged 9 commits into
mainfrom
fix/publish-rocky-linux
Mar 12, 2026
Merged

Align publish.yml build containers with tests.yml (Rocky Linux 8 / manylinux_2_28)#540
harrism merged 9 commits into
mainfrom
fix/publish-rocky-linux

Conversation

@swahtz

@swahtz swahtz commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Aligns the publish.yml build and validation containers with tests.yml to produce
manylinux_2_28 wheels (glibc 2.28) instead of manylinux_2_35 (glibc 2.35), ensuring
wheels are compatible with the same environments we test against.

Container and toolchain changes

  • Switch fvdb-build container from Ubuntu 22.04 to Rocky Linux 8 (nvidia/cuda:*-cudnn-devel-rockylinux8)
  • Switch validate-smoke-test and validate-unit-tests containers to Rocky Linux 8 base images
  • Replace apt package installation with dnf equivalents (procps-ng, findutils, etc.)
  • Install gcc-toolset-14 and enable via /etc/profile.d/ so nvcc picks up GCC 14 as host compiler
  • Replace actions/setup-python with astral-sh/setup-uv + uv python install for Python on Rocky Linux 8

Compiler warning fix

Build system fixes

  • Fix fvdb/utils/_build_ext.py to lazy-import torch and fvdb (avoids import errors during setuptools metadata collection)
  • Replace pip calls with uv pip for consistency
  • Increase build runner instance type to m6a.16xlarge

Action version updates

  • actions/checkout v4 -> v6
  • actions/upload-artifact v4 -> v7
  • actions/download-artifact v4 -> v8
  • aws-actions/configure-aws-credentials v4 -> v6
  • actions/github-script v7 -> v8
  • machulav/ec2-github-runner v2.4.3 -> v2

Test plan

  • fvdb-build job completes on Rocky Linux 8 with GCC 14
  • Wheels tagged as manylinux_2_28_x86_64
  • Wheels uploaded to S3 staging
  • validate-smoke-test passes
  • validate-unit-tests passes
  • Validate downstream fvdb-reality-capture against these wheels

harrism and others added 9 commits March 12, 2026 11:09
Rocky Linux 8 ships GCC 8.5 which is too old for fvdb-core.
Install gcc-toolset-14 (GCC 14.2) to match the conda
build_environment.yml and set CC/CXX env vars.

Signed-off-by: Mark Harris <mharris@nvidia.com>
The CC/CXX env vars alone are not sufficient because nvcc finds
its host compiler via PATH. Source the enable script from
/etc/profile.d/ so all bash -el steps pick up GCC 14.

Signed-off-by: Mark Harris <mharris@nvidia.com>
gcc-toolset-14 (GCC 14.2.1) triggers a false -Wmaybe-uninitialized
warning in NanoVDB's HDDA.h. This is a known class of GCC false
positive (76+ open bugs in GCC bugzilla). Suppress it for both CXX
and CUDA host compiler, matching the precedent from #439.

Signed-off-by: Mark Harris <mharris@nvidia.com>
Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
@swahtz swahtz requested a review from a team as a code owner March 12, 2026 08:02
@swahtz swahtz added the CI Issues related to the Github actions CI/CD. For build issues use CMake/Build label Mar 12, 2026
@harrism harrism changed the title Fix publish.yml Align publish.yml build containers with tests.yml (Rocky Linux 8 / manylinux_2_28) Mar 12, 2026
@harrism harrism merged commit 441eb53 into main Mar 12, 2026
86 of 87 checks passed
@swahtz swahtz deleted the fix/publish-rocky-linux branch March 13, 2026 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Issues related to the Github actions CI/CD. For build issues use CMake/Build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants