Skip to content

Commit a5ff0b0

Browse files
Support for build under Debian 12 (Azure#707)
1 parent 86ff8fb commit a5ff0b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/install-deps.sh

+4
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ do_install_aduc_packages() {
186186
$SUDO apt-get install --yes gcc-10 g++-10 || return
187187
catch2_cc=/usr/bin/gcc-10
188188
catch2_cxx=/usr/bin/g++-10
189+
elif [[ $OS == "Debian" && $VER == "12" ]]; then
190+
$SUDO apt-get install --yes gcc-12 g++-12 || return
191+
catch2_cc=/usr/bin/gcc-12
192+
catch2_cxx=/usr/bin/g++-12
189193
else
190194
$SUDO apt-get install --yes gcc-8 g++-8 || return
191195
catch2_cc=/usr/bin/gcc-8

0 commit comments

Comments
 (0)