Skip to content

Disambiguate CI job names and fix Torch CMake header path#635

Merged
swahtz merged 2 commits into
openvdb:mainfrom
swahtz:js/cmake_pip_fixes
Apr 22, 2026
Merged

Disambiguate CI job names and fix Torch CMake header path#635
swahtz merged 2 commits into
openvdb:mainfrom
swahtz:js/cmake_pip_fixes

Conversation

@swahtz

@swahtz swahtz commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Add environment qualifiers (Conda, pip CUDA 12.8, pip CUDA 13.0) to all workflow and job names so each check is uniquely identifiable in GitHub branch protection rules. Standardize "PyTests" / "Unit Tests" naming inconsistency across workflows.

Mark Torch include directories as SYSTEM to fix include pathing in pip builds.

Add environment qualifiers (Conda, pip CUDA 12.8, pip CUDA 13.0) to all
workflow and job names so each check is uniquely identifiable in GitHub
branch protection rules. Standardize "PyTests" / "Unit Tests" naming
inconsistency across workflows.

Mark Torch include directories as SYSTEM to fix include pathing
in pip builds.

Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
@swahtz swahtz added this to the v0.5 milestone Apr 21, 2026
@swahtz swahtz added CI Issues related to the Github actions CI/CD. For build issues use CMake/Build cmake/build Issues related to building and CMake labels Apr 21, 2026
@swahtz swahtz requested a review from a team as a code owner April 21, 2026 23:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to (1) make GitHub Actions checks uniquely identifiable by adding environment qualifiers to workflow/job names, and (2) adjust Torch include handling in CMake to address pip-build header/include behavior.

Changes:

  • Renamed CI workflows/jobs to include environment qualifiers: Conda, pip CUDA 12.8, pip CUDA 13.0.
  • Standardized “PyTests” → “Unit Tests” naming in pip CUDA workflows.
  • Updated CMake to add Torch include directories as SYSTEM includes.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/CMakeLists.txt Changes how Torch include dirs are applied to the fvdb target (now SYSTEM and added via a separate call).
.github/workflows/tests.yml Renames the Conda PR workflow and its jobs to include “(Conda)” qualifiers.
.github/workflows/cu128.yml Renames the pip CUDA 12.8 PR workflow and its jobs to include “(pip CUDA 12.8)” qualifiers and “Unit Tests”.
.github/workflows/cu130.yml Renames the pip CUDA 13.0 PR workflow and its jobs to include “(pip CUDA 13.0)” qualifiers and “Unit Tests”.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/CMakeLists.txt Outdated
Comment thread .github/workflows/tests.yml

@harrism harrism left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, modulo copilot comments.

…talls

TORCH_INCLUDE_DIRS was added as a bare PUBLIC include, which baked
build-machine absolute paths into the exported fvdb::fvdb target.
Since fvdbConfig.cmake.in already appends the consumer's Torch paths
at find_package time, exporting them is both redundant and breaks
relocatability.

Wrap each path individually in BUILD_INTERFACE via a foreach loop
(a single generator expression mishandles the semicolon-separated
list, which caused the path-mangling bug in Docker/pip builds).

Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
@swahtz swahtz enabled auto-merge (squash) April 21, 2026 23:33
@swahtz swahtz merged commit c792d4a into openvdb:main Apr 22, 2026
39 checks passed
@swahtz swahtz deleted the js/cmake_pip_fixes branch April 22, 2026 00:07
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 cmake/build Issues related to building and CMake

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants