From 25ea4e0228fb47c3bcf56ad2cd255d36619afb63 Mon Sep 17 00:00:00 2001 From: Nishidha Date: Tue, 11 Nov 2025 05:11:43 -0500 Subject: [PATCH 1/4] PArt of fix for RHOAIENG-37723 --- build_vllm_ppc64le.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build_vllm_ppc64le.sh b/build_vllm_ppc64le.sh index 64b3e36d34..8539304576 100755 --- a/build_vllm_ppc64le.sh +++ b/build_vllm_ppc64le.sh @@ -50,6 +50,11 @@ curl -L https://github.com/OpenMathLib/OpenBLAS/releases/download/v${OPENBLAS_VE # rename directory for mounting (without knowing version numbers) in multistage builds mv OpenBLAS-${OPENBLAS_VERSION}/ OpenBLAS/ cd OpenBLAS/ + +# Apply the patch below to add Power11 support if OpenBLAS being built here is less than or equal to 0.3.30. +curl -Lo power11.patch https://github.com/OpenMathLib/OpenBLAS/pull/5354.patch +git apply power11.patch + make -j${MAX_JOBS} TARGET=POWER9 BINARY=64 USE_OPENMP=1 USE_THREAD=1 NUM_THREADS=120 DYNAMIC_ARCH=1 INTERFACE64=0 && make install # set path for openblas From 51cffb9acfeea7d62ec14df42a1992200c4a0474 Mon Sep 17 00:00:00 2001 From: Nishidha Date: Tue, 11 Nov 2025 05:14:03 -0500 Subject: [PATCH 2/4] Updated glib2 to the latest available version --- Dockerfile.konflux.cpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.konflux.cpu b/Dockerfile.konflux.cpu index d6a57808e8..b4f3ad68fd 100644 --- a/Dockerfile.konflux.cpu +++ b/Dockerfile.konflux.cpu @@ -128,7 +128,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \ freetype lcms2 libwebp tcl tk utf8proc \ harfbuzz fribidi libxcb \ python${PYTHON_VERSION}-devel python${PYTHON_VERSION}-pip \ - && microdnf clean all; \ + && microdnf update -y glib2 && microdnf clean all; \ python${PYTHON_VERSION} -m venv ${VIRTUAL_ENV}; \ python -m pip install -U pip uv --no-cache; \ make -C /numactl install; \ From 5d1227721df00fcaaa4e4c1c3f5a758506c1c1de Mon Sep 17 00:00:00 2001 From: Nishidha Date: Tue, 11 Nov 2025 05:11:43 -0500 Subject: [PATCH 3/4] PArt of fix for RHOAIENG-37723 --- build_vllm_ppc64le.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build_vllm_ppc64le.sh b/build_vllm_ppc64le.sh index 64b3e36d34..8539304576 100755 --- a/build_vllm_ppc64le.sh +++ b/build_vllm_ppc64le.sh @@ -50,6 +50,11 @@ curl -L https://github.com/OpenMathLib/OpenBLAS/releases/download/v${OPENBLAS_VE # rename directory for mounting (without knowing version numbers) in multistage builds mv OpenBLAS-${OPENBLAS_VERSION}/ OpenBLAS/ cd OpenBLAS/ + +# Apply the patch below to add Power11 support if OpenBLAS being built here is less than or equal to 0.3.30. +curl -Lo power11.patch https://github.com/OpenMathLib/OpenBLAS/pull/5354.patch +git apply power11.patch + make -j${MAX_JOBS} TARGET=POWER9 BINARY=64 USE_OPENMP=1 USE_THREAD=1 NUM_THREADS=120 DYNAMIC_ARCH=1 INTERFACE64=0 && make install # set path for openblas From 82c63ecdf61cc9a9766bf8fea409bacb38537fb1 Mon Sep 17 00:00:00 2001 From: Nishidha Date: Tue, 11 Nov 2025 05:14:03 -0500 Subject: [PATCH 4/4] Updated glib2 to the latest available version --- Dockerfile.konflux.cpu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.konflux.cpu b/Dockerfile.konflux.cpu index d6a57808e8..b4f3ad68fd 100644 --- a/Dockerfile.konflux.cpu +++ b/Dockerfile.konflux.cpu @@ -128,7 +128,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \ freetype lcms2 libwebp tcl tk utf8proc \ harfbuzz fribidi libxcb \ python${PYTHON_VERSION}-devel python${PYTHON_VERSION}-pip \ - && microdnf clean all; \ + && microdnf update -y glib2 && microdnf clean all; \ python${PYTHON_VERSION} -m venv ${VIRTUAL_ENV}; \ python -m pip install -U pip uv --no-cache; \ make -C /numactl install; \