Align publish.yml build containers with tests.yml (Rocky Linux 8 / manylinux_2_28)#540
Merged
Conversation
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>
publish.yml
harrism
approved these changes
Mar 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Aligns the
publish.ymlbuild and validation containers withtests.ymlto producemanylinux_2_28wheels (glibc 2.28) instead ofmanylinux_2_35(glibc 2.35), ensuringwheels are compatible with the same environments we test against.
Container and toolchain changes
fvdb-buildcontainer from Ubuntu 22.04 to Rocky Linux 8 (nvidia/cuda:*-cudnn-devel-rockylinux8)validate-smoke-testandvalidate-unit-testscontainers to Rocky Linux 8 base imagesaptpackage installation withdnfequivalents (procps-ng,findutils, etc.)gcc-toolset-14and enable via/etc/profile.d/sonvccpicks up GCC 14 as host compileractions/setup-pythonwithastral-sh/setup-uv+uv python installfor Python on Rocky Linux 8Compiler warning fix
-Wmaybe-uninitializedfalse positive triggered by GCC 14.2.1 in NanoVDBHDDA.h(filed upstream: NanoVDB HDDA.h triggers -Wmaybe-uninitialized with GCC 14.2.1 AcademySoftwareFoundation/openvdb#2177)Build system fixes
fvdb/utils/_build_ext.pyto lazy-importtorchandfvdb(avoids import errors duringsetuptoolsmetadata collection)pipcalls withuv pipfor consistencym6a.16xlargeAction version updates
actions/checkoutv4 -> v6actions/upload-artifactv4 -> v7actions/download-artifactv4 -> v8aws-actions/configure-aws-credentialsv4 -> v6actions/github-scriptv7 -> v8machulav/ec2-github-runnerv2.4.3 -> v2Test plan
fvdb-buildjob completes on Rocky Linux 8 with GCC 14manylinux_2_28_x86_64validate-smoke-testpassesvalidate-unit-testspassesfvdb-reality-captureagainst these wheels