Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve cmake workaround for rocm <6 #705

Merged
merged 1 commit into from
Dec 16, 2024
Merged

Conversation

tpadioleau
Copy link
Member

@tpadioleau tpadioleau commented Dec 14, 2024

The call to cmake_minimum_required(VERSION 3.3) inside hip-config.cmake along with include(CMakeFindDependencyMacro) redefines the macro find_dependency with a behavior following the OLD policy CMP0074.

The trick in the PR is to redefine the macro each time we plan to use it. It slightly improve the situation.

@tpadioleau tpadioleau self-assigned this Dec 14, 2024
@tpadioleau tpadioleau force-pushed the improve-cmake-workaround-rocm branch from 2210d9b to e8e40bb Compare December 15, 2024 11:08
@tpadioleau tpadioleau force-pushed the improve-cmake-workaround-rocm branch from e8e40bb to 6e9fa5f Compare December 15, 2024 13:08
@tpadioleau tpadioleau merged commit 262f537 into main Dec 16, 2024
55 checks passed
@tpadioleau tpadioleau deleted the improve-cmake-workaround-rocm branch December 16, 2024 11:02
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