infrastructure/machines/krz01/ollama/disable-git.patch
sinavir 492fe550d9
All checks were successful
Check meta / check_dns (pull_request) Successful in 17s
Check meta / check_meta (pull_request) Successful in 19s
build configuration / build_and_cache_rescue01 (pull_request) Successful in 1m12s
build configuration / build_and_cache_storage01 (pull_request) Successful in 1m15s
build configuration / build_and_cache_geo02 (pull_request) Successful in 1m0s
build configuration / build_and_cache_geo01 (pull_request) Successful in 1m4s
build configuration / build_and_cache_compute01 (pull_request) Successful in 1m34s
build configuration / build_and_cache_krz01 (pull_request) Successful in 2m12s
build configuration / build_and_cache_web02 (pull_request) Successful in 1m6s
build configuration / build_and_cache_web03 (pull_request) Successful in 1m7s
lint / check (pull_request) Successful in 24s
build configuration / build_and_cache_bridge01 (pull_request) Successful in 1m1s
build configuration / build_and_cache_vault01 (pull_request) Successful in 1m25s
build configuration / build_and_cache_web01 (pull_request) Successful in 1m42s
build configuration / build_and_cache_geo01 (push) Successful in 1m10s
build configuration / build_and_cache_geo02 (push) Successful in 1m14s
build configuration / build_and_cache_rescue01 (push) Successful in 1m23s
build configuration / build_and_cache_storage01 (push) Successful in 1m25s
build configuration / build_and_cache_compute01 (push) Successful in 1m38s
build configuration / build_and_cache_krz01 (push) Successful in 2m10s
lint / check (push) Successful in 24s
build configuration / build_and_cache_web03 (push) Successful in 1m9s
build configuration / build_and_cache_vault01 (push) Successful in 1m24s
build configuration / build_and_cache_web02 (push) Successful in 1m14s
build configuration / build_and_cache_bridge01 (push) Successful in 1m3s
build configuration / build_and_cache_web01 (push) Successful in 1m42s
chore(krz01): Put all ollama/whisper stuff in separate modules
2024-10-17 15:47:10 +02:00

20 lines
651 B
Diff

diff --git c/llm/generate/gen_common.sh i/llm/generate/gen_common.sh
index 3825c155..238a74a7 100644
--- c/llm/generate/gen_common.sh
+++ i/llm/generate/gen_common.sh
@@ -69,6 +69,7 @@ git_module_setup() {
}
apply_patches() {
+ return
# apply temporary patches until fix is upstream
for patch in ../patches/*.patch; do
git -c 'user.name=nobody' -c 'user.email=<>' -C ${LLAMACPP_DIR} am ${patch}
@@ -133,6 +134,7 @@ install() {
# Keep the local tree clean after we're done with the build
cleanup() {
+ return
(cd ${LLAMACPP_DIR}/ && git checkout CMakeLists.txt)
if [ -n "$(ls -A ../patches/*.diff)" ]; then