Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

build2cmake: fix C++ dependency lookup warnings#326

Merged
danieldk merged 1 commit intomainfrom
only-check-backend-deps
Dec 16, 2025
Merged

build2cmake: fix C++ dependency lookup warnings#326
danieldk merged 1 commit intomainfrom
only-check-backend-deps

Conversation

@danieldk
Copy link
Member

The C++ dependency lookup in build2cmake would iterate over all kernels, looking up their dependencies. However, this lead to spurious warnings such as:

Warning: CUDA backend doesn't need/support dependency: CutlassSycl

Fix this by only collecting and then looking up the dependencies of the currently-active backend.

The C++ dependency lookup in build2cmake would iterate over all kernels,
looking up their dependencies. However, this lead to spurious warnings such
as:

Warning: CUDA backend doesn't need/support dependency: CutlassSycl

Fix this by only collecting and then looking up the dependencies of the
currently-active backend.
@danieldk danieldk force-pushed the only-check-backend-deps branch from 31203df to 04e9d04 Compare December 15, 2025 14:40
Copy link
Contributor

@MekkCyber MekkCyber left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this

@danieldk danieldk merged commit 3eeb97b into main Dec 16, 2025
28 of 30 checks passed
@danieldk danieldk deleted the only-check-backend-deps branch December 16, 2025 10:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants