Build scripts: use gcc 16

This commit is contained in:
SChernykh
2026-05-04 21:37:34 +02:00
parent 3eae86d1eb
commit 3e88a90d61
4 changed files with 20 additions and 6 deletions
@@ -120,6 +120,20 @@ mkdir build && cd build
make -j$(nproc)
make install
echo "Installing GCC 16.1.0"
cd /root
git clone --depth 1 --branch releases/gcc-16.1.0 --jobs $(nproc) git://gcc.gnu.org/git/gcc.git gcc-16
cd gcc-16
contrib/download_prerequisites
mkdir build && cd build
../configure --enable-languages=c,c++ --disable-multilib --disable-bootstrap --prefix=/usr/local/gcc-16
make -j$(nproc)
make install
echo "Installing clang"
cd /root