Skip to content

Commit fee4617

Browse files
committed
qf: add gcc13 fallback and use gcc14
1 parent 3393019 commit fee4617

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

ct/immich.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ EOF
134134
$STD sudo -u postgres psql -d immich -c "REINDEX INDEX clip_index;"
135135
fi
136136
ensure_dependencies ccache gcc-13 g++-13
137-
export CC=gcc-13
138-
export CXX=g++-13
139137

140138
INSTALL_DIR="/opt/${APP}"
141139
UPLOAD_DIR="$(sed -n '/^IMMICH_MEDIA_LOCATION/s/[^=]*=//p' /opt/immich/.env)"

install/immich-install.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,8 @@ sed -i "s/^#shared_preload.*/shared_preload_libraries = 'vchord.so'/" /etc/postg
154154
systemctl restart postgresql.service
155155
PG_DB_NAME="immich" PG_DB_USER="immich" PG_DB_GRANT_SUPERUSER="true" PG_DB_SKIP_ALTER_ROLE="true" setup_postgresql_db
156156

157-
msg_info "Installing GCC-13 (workaround for GCC-14 ICE on Trixie)"
157+
msg_info "Installing GCC-13 (available as fallback compiler)"
158158
$STD apt install -y gcc-13 g++-13
159-
export CC=gcc-13
160-
export CXX=g++-13
161159
msg_ok "Installed GCC-13"
162160

163161
msg_warn "Compiling Custom Photo-processing Libraries (can take anywhere from 15min to 2h)"

0 commit comments

Comments
 (0)