From a04405653482f9cafb29219826f488718801b573 Mon Sep 17 00:00:00 2001 From: Donato Capitella Date: Wed, 12 Nov 2025 11:54:52 +0000 Subject: [PATCH] Use absolute include path for HIP shuffle shim to fix CMake compiler detection --- toolboxes/Dockerfile.rocm-6.4.4-rocwmma | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/toolboxes/Dockerfile.rocm-6.4.4-rocwmma b/toolboxes/Dockerfile.rocm-6.4.4-rocwmma index 21d3177..454c846 100644 --- a/toolboxes/Dockerfile.rocm-6.4.4-rocwmma +++ b/toolboxes/Dockerfile.rocm-6.4.4-rocwmma @@ -59,10 +59,11 @@ RUN set -euo pipefail \ -DROCM_PATH=/opt/rocm \ -DHIP_PATH=/opt/rocm \ -DHIP_PLATFORM=amd \ - -DCMAKE_HIP_FLAGS="--rocm-path=/opt/rocm -include ggml/src/ggml-cuda/hip_shfl_fix.h -Wno-macro-redefined" \ - && cmake --build build --config Release -- -j"$(nproc)" \ + -DCMAKE_HIP_FLAGS="--rocm-path=/opt/rocm -include /opt/llama.cpp/ggml/src/ggml-cuda/hip_shfl_fix.h -Wno-macro-redefined" \ + && cmake --build build --config Release -- -j\"$(nproc)\" \ && cmake --install build --config Release + # libs RUN find /opt/llama.cpp/build -type f -name 'lib*.so*' -exec cp {} /usr/lib64/ \; \ && ldconfig