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

Remove CMP0144 for now as that requires cmake 3.27.0 #45

Conversation

TedThemistokleous
Copy link

Description

Fixes issue with upstream requring CMake = 3.26.4 right now.

Motivation and Context

Keep things consistent with upstream onnxruntime

@@ -21,8 +21,8 @@
# Add search paths for default rocm installation
list(APPEND CMAKE_PREFIX_PATH /opt/rocm/hcc /opt/rocm/hip /opt/rocm $ENV{HIP_PATH})

# Suppress the warning about the small capitals of the package name
cmake_policy(SET CMP0144 NEW)
# Suppress the warning about the small capitals of the package name - Enable when support to CMake 3.27.0 is used
Copy link

Choose a reason for hiding this comment

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

Suggested change
# Suppress the warning about the small capitals of the package name - Enable when support to CMake 3.27.0 is used
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.27)
cmake_policy(SET CMP0144 NEW)
endif()

Copy link
Author

Choose a reason for hiding this comment

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

I'm just going to comment this out for now.

@TedThemistokleous TedThemistokleous merged commit 479551b into ROCm:rocm6.2_internal_testing Jul 9, 2024
5 of 9 checks passed
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.

2 participants