From fee461780240c287ad03b0e723380ea5d6099cb1 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Mon, 16 Mar 2026 20:03:45 +0100 Subject: [PATCH] qf: add gcc13 fallback and use gcc14 --- ct/immich.sh | 2 -- install/immich-install.sh | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/ct/immich.sh b/ct/immich.sh index 28ffe2e66..d272d95d8 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -134,8 +134,6 @@ EOF $STD sudo -u postgres psql -d immich -c "REINDEX INDEX clip_index;" fi ensure_dependencies ccache gcc-13 g++-13 - export CC=gcc-13 - export CXX=g++-13 INSTALL_DIR="/opt/${APP}" UPLOAD_DIR="$(sed -n '/^IMMICH_MEDIA_LOCATION/s/[^=]*=//p' /opt/immich/.env)" diff --git a/install/immich-install.sh b/install/immich-install.sh index eeb566263..cd0a932bc 100644 --- a/install/immich-install.sh +++ b/install/immich-install.sh @@ -154,10 +154,8 @@ sed -i "s/^#shared_preload.*/shared_preload_libraries = 'vchord.so'/" /etc/postg systemctl restart postgresql.service PG_DB_NAME="immich" PG_DB_USER="immich" PG_DB_GRANT_SUPERUSER="true" PG_DB_SKIP_ALTER_ROLE="true" setup_postgresql_db -msg_info "Installing GCC-13 (workaround for GCC-14 ICE on Trixie)" +msg_info "Installing GCC-13 (available as fallback compiler)" $STD apt install -y gcc-13 g++-13 -export CC=gcc-13 -export CXX=g++-13 msg_ok "Installed GCC-13" msg_warn "Compiling Custom Photo-processing Libraries (can take anywhere from 15min to 2h)"