[PR #3423] [CLOSED] [Other] Set the policy baseline for the standalone GGML overlay test #4629

Closed
opened 2026-11-07 15:37:56 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/3423
Author: @hulkbig
Created: 10/20/2026
Status: ❌ Closed

Base: main ← Head: fix/cmake-overlay-policy-3412


📝 Commits (1)

  • 3459d15 Fix CMake policy baseline in standalone GGML overlay test

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 cmake/ggml_tq_overlay_test.cmake (+2 -0)

📄 Description

Fixes #3412.

The documented cmake -P cmake/ggml_tq_overlay_test.cmake invocation fails on CMake 3.x because its script scope has no policy baseline. In particular, the IN_LIST check uses the OLD behavior of CMP0057 even though the project requires CMake 3.24 or newer. Running the main CMake project first does not initialize policies for a separate script invocation.

Set cmake_minimum_required(VERSION 3.24) in the standalone test, matching the project baseline. The overlay generator and GPU source are unchanged.

Validation (Linux x86_64, CPU-only script execution):

  • Used Strata source at 9ae93f7b1fe989d04a8e404d32cddaeeff10505f and a complete llama.cpp checkout at the pinned 3cf03257f219afbe7334045ff7c6a06ac68c627d.
  • Before the change, the unmodified overlay test fails with CMP0057 / Unknown arguments on CMake 3.24.3 and 3.31.10; it passes on 4.4.4.
  • After the change, the same standalone test passes on all three versions.
  • All 121 generated/copied files are byte-identical across the three fixed runs and the pre-change CMake 4.4.4 run.
  • Command: cmake -DLLAMA=<pinned llama.cpp checkout> -DOUT=<dedicated scratch directory> -P cmake/ggml_tq_overlay_test.cmake.

Not run: CUDA/HIP/SYCL builds, GPU inference, model benchmarks, or online CI. This change only initializes the standalone test's CMake policies and makes no performance claim.

AI-assisted implementation and validation.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/3423 **Author:** [@hulkbig](https://github.com/hulkbig) **Created:** 10/20/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/cmake-overlay-policy-3412` --- ### 📝 Commits (1) - [`3459d15`](https://github.com/Niko1221/Strata/commit/3459d156ef2b1e91a3b67f510890db62e4c3d0ab) Fix CMake policy baseline in standalone GGML overlay test ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmake/ggml_tq_overlay_test.cmake` (+2 -0) </details> ### 📄 Description Fixes #3412. The documented `cmake -P cmake/ggml_tq_overlay_test.cmake` invocation fails on CMake 3.x because its script scope has no policy baseline. In particular, the `IN_LIST` check uses the OLD behavior of CMP0057 even though the project requires CMake 3.24 or newer. Running the main CMake project first does not initialize policies for a separate script invocation. Set `cmake_minimum_required(VERSION 3.24)` in the standalone test, matching the project baseline. The overlay generator and GPU source are unchanged. Validation (Linux x86_64, CPU-only script execution): - Used Strata source at `9ae93f7b1fe989d04a8e404d32cddaeeff10505f` and a complete llama.cpp checkout at the pinned `3cf03257f219afbe7334045ff7c6a06ac68c627d`. - Before the change, the unmodified overlay test fails with CMP0057 / Unknown arguments on CMake 3.24.3 and 3.31.10; it passes on 4.4.4. - After the change, the same standalone test passes on all three versions. - All 121 generated/copied files are byte-identical across the three fixed runs and the pre-change CMake 4.4.4 run. - Command: `cmake -DLLAMA=<pinned llama.cpp checkout> -DOUT=<dedicated scratch directory> -P cmake/ggml_tq_overlay_test.cmake`. Not run: CUDA/HIP/SYCL builds, GPU inference, model benchmarks, or online CI. This change only initializes the standalone test's CMake policies and makes no performance claim. AI-assisted implementation and validation. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:37:56 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#4629
No description provided.