From f3163219474fc856149e87c347ce4080358b9af2 Mon Sep 17 00:00:00 2001 From: srinivamd <52507740+srinivamd@users.noreply.github.com> Date: Thu, 21 May 2026 00:31:25 -0700 Subject: [PATCH] Add CMAKE_POLICY_VERSION_MINIMUM=3.5 to composable_kernel dependency CMake 4.x (shipped in TheRock 7.14.0) removed compatibility with cmake_minimum_required < 3.5. The pinned composable_kernel revision (ad0db05) still declares an older minimum, causing cget builds to fail. This matches the existing pattern used for protobuf, nlohmann/json, and msgpack (added in PR #4714). Fixes: ROCM-24848 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a792cb4ff9e..bbf3543afca 100644 --- a/requirements.txt +++ b/requirements.txt @@ -28,6 +28,6 @@ pybind/pybind11@3e9dfa2866941655c56877882565e7577de6fc7b --build msgpack/msgpack-c@cpp-3.3.0 -DMSGPACK_BUILD_TESTS=Off -DMSGPACK_BUILD_EXAMPLES=Off -DCMAKE_POLICY_VERSION_MINIMUM=3.5 sqlite3@3.50.4 -DCMAKE_POSITION_INDEPENDENT_CODE=On ROCm/rocm-cmake@b3959201846b9d9250a6f2a386ad43be04d1d051 --build -ROCm/composable_kernel@ad0db05b040bacda751c65c705261b8a0a7ed25d --cmake subdir -DCMAKE_DIR=codegen -DCMAKE_POSITION_INDEPENDENT_CODE=On -DBUILD_TESTING=Off +ROCm/composable_kernel@ad0db05b040bacda751c65c705261b8a0a7ed25d --cmake subdir -DCMAKE_DIR=codegen -DCMAKE_POSITION_INDEPENDENT_CODE=On -DBUILD_TESTING=Off -DCMAKE_POLICY_VERSION_MINIMUM=3.5 https://gitlab.com/libeigen/eigen/-/archive/5.0.1/eigen-5.0.1.tar.gz -DBUILD_TESTING=Off -DEIGEN_BUILD_DOC=Off -DEIGEN_BUILD_LAPACK=Off ROCm/rocMLIR@b9342c0d0a2565bca7389f911891e43684a22e2a -DBUILD_FAT_LIBROCKCOMPILER=On -DLLVM_INCLUDE_TESTS=Off