From 66b94f73fe6fdd3574873169eba5c916341f8f4c Mon Sep 17 00:00:00 2001 From: Bhagyashri Date: Wed, 29 Apr 2026 22:41:24 +0530 Subject: [PATCH 1/4] Update outlines-core_ubi_9.3.sh Fixed issue --- o/outlines-core/outlines-core_ubi_9.3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/o/outlines-core/outlines-core_ubi_9.3.sh b/o/outlines-core/outlines-core_ubi_9.3.sh index a03821a74b..d2faed485d 100644 --- a/o/outlines-core/outlines-core_ubi_9.3.sh +++ b/o/outlines-core/outlines-core_ubi_9.3.sh @@ -54,7 +54,7 @@ git clone https://github.com/OpenMathLib/OpenBLAS cd OpenBLAS git checkout v0.3.32 make -j${MAX_JOBS} TARGET=POWER9 BUILD_BFLOAT16=1 BINARY=64 USE_OPENMP=1 USE_THREAD=1 NUM_THREADS=120 DYNAMIC_ARCH=1 INTERFACE64=0 -make install +make install PREFIX=/usr/local export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64:/usr/local/lib cd $CURRENT_DIR From dc0700b9ca0d7019964b0b21fcda69f9ade8d336 Mon Sep 17 00:00:00 2001 From: Bhagyashri Date: Mon, 4 May 2026 18:47:28 +0530 Subject: [PATCH 2/4] Update outlines-core_ubi_9.3.sh Fixed issue of numpy --- o/outlines-core/outlines-core_ubi_9.3.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/o/outlines-core/outlines-core_ubi_9.3.sh b/o/outlines-core/outlines-core_ubi_9.3.sh index d2faed485d..e12f944832 100644 --- a/o/outlines-core/outlines-core_ubi_9.3.sh +++ b/o/outlines-core/outlines-core_ubi_9.3.sh @@ -694,7 +694,8 @@ export CMAKE_PREFIX_PATH=${ARROW_HOME}:${CMAKE_PREFIX_PATH} export ArrowCompute_DIR=${ARROW_HOME}/lib/cmake/ArrowCompute export Arrow_DIR=${ARROW_HOME}/lib/cmake/Arrow - +export NUMPY_INCLUDE_DIR=$(python3.12 -c "import numpy; print(numpy.get_include())") +export PYARROW_CMAKE_OPTIONS="-DPython3_NumPy_INCLUDE_DIRS=${NUMPY_INCLUDE_DIR}" python3.12 setup.py install echo "-------------------Installed Pyarrow-------------------------" From 2d3ecb3b888a1d908a4b0b47e95a6cffdccc85db Mon Sep 17 00:00:00 2001 From: Bhagyashri Date: Tue, 5 May 2026 11:49:46 +0530 Subject: [PATCH 3/4] Update outlines-core_ubi_9.3.sh Fixed issue --- o/outlines-core/outlines-core_ubi_9.3.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/o/outlines-core/outlines-core_ubi_9.3.sh b/o/outlines-core/outlines-core_ubi_9.3.sh index e12f944832..c3644fa5a3 100644 --- a/o/outlines-core/outlines-core_ubi_9.3.sh +++ b/o/outlines-core/outlines-core_ubi_9.3.sh @@ -695,7 +695,15 @@ export ArrowCompute_DIR=${ARROW_HOME}/lib/cmake/ArrowCompute export Arrow_DIR=${ARROW_HOME}/lib/cmake/Arrow export NUMPY_INCLUDE_DIR=$(python3.12 -c "import numpy; print(numpy.get_include())") + +# Export for CMake/PyArrow +export Python3_NumPy_INCLUDE_DIRS=${NUMPY_INCLUDE_DIR} export PYARROW_CMAKE_OPTIONS="-DPython3_NumPy_INCLUDE_DIRS=${NUMPY_INCLUDE_DIR}" +export CMAKE_ARGS="${CMAKE_ARGS} -DPython3_NumPy_INCLUDE_DIRS=${NUMPY_INCLUDE_DIR}" + +# Debug prints +echo "NUMPY_INCLUDE_DIR=${NUMPY_INCLUDE_DIR}" +echo "PYARROW_CMAKE_OPTIONS=${PYARROW_CMAKE_OPTIONS}" python3.12 setup.py install echo "-------------------Installed Pyarrow-------------------------" From 95de3f05067d362b27e00ba2e6889e1eb0ff6df0 Mon Sep 17 00:00:00 2001 From: Bhagyashri Date: Tue, 5 May 2026 15:17:12 +0530 Subject: [PATCH 4/4] Update outlines-core_ubi_9.3.sh fixed issue of build fail --- o/outlines-core/outlines-core_ubi_9.3.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/o/outlines-core/outlines-core_ubi_9.3.sh b/o/outlines-core/outlines-core_ubi_9.3.sh index c3644fa5a3..4012da0811 100644 --- a/o/outlines-core/outlines-core_ubi_9.3.sh +++ b/o/outlines-core/outlines-core_ubi_9.3.sh @@ -694,16 +694,16 @@ export CMAKE_PREFIX_PATH=${ARROW_HOME}:${CMAKE_PREFIX_PATH} export ArrowCompute_DIR=${ARROW_HOME}/lib/cmake/ArrowCompute export Arrow_DIR=${ARROW_HOME}/lib/cmake/Arrow + export NUMPY_INCLUDE_DIR=$(python3.12 -c "import numpy; print(numpy.get_include())") -# Export for CMake/PyArrow -export Python3_NumPy_INCLUDE_DIRS=${NUMPY_INCLUDE_DIR} export PYARROW_CMAKE_OPTIONS="-DPython3_NumPy_INCLUDE_DIRS=${NUMPY_INCLUDE_DIR}" -export CMAKE_ARGS="${CMAKE_ARGS} -DPython3_NumPy_INCLUDE_DIRS=${NUMPY_INCLUDE_DIR}" -# Debug prints +export CMAKE_ARGS="-DPython3_NumPy_INCLUDE_DIRS=${NUMPY_INCLUDE_DIR}" + echo "NUMPY_INCLUDE_DIR=${NUMPY_INCLUDE_DIR}" echo "PYARROW_CMAKE_OPTIONS=${PYARROW_CMAKE_OPTIONS}" +echo "CMAKE_ARGS=${CMAKE_ARGS}" python3.12 setup.py install echo "-------------------Installed Pyarrow-------------------------"