Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions o/ollama/ollama_v0.13.1_ubi_9.6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,15 @@ git clone $PACKAGE_URL
cd $PACKAGE_NAME
git checkout $PACKAGE_VERSION

echo "** Applying Power10 Patches..."
patch -p1 < ${SCRIPT_PATH}/build_power_${PACKAGE_VERSION}.patch
patch -p1 < ${SCRIPT_PATH}/set_threads_env_${PACKAGE_VERSION}.patch
patch -p1 < ${SCRIPT_PATH}/enable_mma_${PACKAGE_VERSION}.patch
echo "** Downloading Power10 Patches..."
wget -O build_power.patch https://raw.githubusercontent.com/ppc64le/build-scripts/refs/heads/master/o/ollama/build_power_v0.13.1.patch
wget -O set_threads_env.patch https://raw.githubusercontent.com/ppc64le/build-scripts/refs/heads/master/o/ollama/set_threads_env_v0.13.1.patch
wget -O enable_mma.patch https://raw.githubusercontent.com/ppc64le/build-scripts/refs/heads/master/o/ollama/enable_mma_v0.13.1.patch

echo "** Applying Patches..."
patch -p1 < build_power.patch
patch -p1 < set_threads_env.patch
patch -p1 < enable_mma.patch

# -----------------------------------------------------------------------------
# Build Ollama
Expand Down