fix build on federa 40

This commit is contained in:
pufferffish 2024-09-23 18:38:42 +08:00
parent 5f1a301981
commit ace3d10468
1 changed files with 2 additions and 2 deletions

View File

@ -234,8 +234,8 @@ if [ -z "${OLLAMA_SKIP_VULKAN_GENERATE}" -a -d "${VULKAN_ROOT}" ] && [ -z "${OLL
for dep in $(ldd "${BUILD_DIR}/bin/ollama_llama_server" | grep "=>" | cut -f2 -d= | cut -f2 -d' ' | grep -e vulkan -e cap); do
cp "${dep}" "${BUILD_DIR}/bin/"
done
cp "${VULKAN_ROOT}/libvulkan.so" "${BUILD_DIR}/bin/"
cp "${CAP_ROOT}/libcap.so" "${BUILD_DIR}/bin/"
cp "${VULKAN_ROOT}/libvulkan.so*" "${BUILD_DIR}/bin/"
cp "${CAP_ROOT}/libcap.so*" "${BUILD_DIR}/bin/"
compress
fi