mirror of
https://github.com/yuzu-emu/ext-linux-bin.git
synced 2024-11-21 22:25:41 +01:00
gcc: Add GCC 12.2 package files
Also updates build scripts.
This commit is contained in:
parent
77d4d35a92
commit
54facbbf76
@ -1,19 +1,25 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
# This script is meant to make it easy to build GCC using a Docker container.
|
# This script is meant to make it easy to build GCC using a Docker container.
|
||||||
|
|
||||||
# Run this from the same directory as gcc source directory
|
|
||||||
# Recommended to clone GCC with:
|
|
||||||
# git clone --depth 1 -b "releases/gcc-11.3.0" git://gcc.gnu.org/git/gcc.git
|
|
||||||
|
|
||||||
THIS=$(readlink -e $0)
|
THIS=$(readlink -e $0)
|
||||||
USER_ID=`id -u`
|
USER_ID=`id -u`
|
||||||
GROUP_ID=`id -g`
|
GROUP_ID=`id -g`
|
||||||
VERSION=11.3.0
|
VERSION=12.2.0
|
||||||
|
|
||||||
mkdir -p gcc-$VERSION
|
if [ ! -d gcc ]; then
|
||||||
|
git clone --depth 1 -b "releases/gcc-$VERSION" git://gcc.gnu.org/git/gcc.git
|
||||||
|
else
|
||||||
|
cd gcc
|
||||||
|
sudo git clean -fxd
|
||||||
|
git restore :/
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
|
||||||
docker run -v $(pwd):/src -w /src -u root -t debian:test /bin/bash /src/docker.sh $VERSION
|
mkdir -p gcc-$VERSION | true
|
||||||
|
|
||||||
|
docker run -v $(pwd):/src -w /src -u root -t yuzuemu/build-environments:linux-fresh /bin/bash /src/docker.sh $VERSION
|
||||||
|
|
||||||
cp -v $THIS gcc-$VERSION/
|
cp -v $THIS gcc-$VERSION/
|
||||||
tar cv gcc-$VERSION | xz -T0 -c | split --bytes=90MB - gcc-$VERSION.tar.xz.
|
tar cv gcc-$VERSION | xz -T0 -c | split --bytes=90MB - gcc-$VERSION.tar.xz.
|
||||||
|
@ -1,12 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
THIS=$(readlink -e $0)
|
THIS=$(readlink -e $0)
|
||||||
|
|
||||||
mkdir build
|
mkdir gcc/build
|
||||||
cd build
|
cd gcc/build
|
||||||
/src/gcc/configure --enable-languages=c,c++ --disable-multilib
|
/src/gcc/configure --enable-languages=c,c++ --disable-multilib
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
|
|
||||||
mkdir gcc-$1
|
mkdir gcc-$1 | true
|
||||||
make -j$(nproc) install DESTDIR=/src/gcc-$1
|
make -j$(nproc) install DESTDIR=/src/gcc-$1
|
||||||
cp $THIS /src/gcc-$1
|
cp $THIS /src/gcc-$1
|
||||||
|
BIN
gcc/gcc-12.2.0-ubuntu.tar.xz.aa
Normal file
BIN
gcc/gcc-12.2.0-ubuntu.tar.xz.aa
Normal file
Binary file not shown.
BIN
gcc/gcc-12.2.0-ubuntu.tar.xz.ab
Normal file
BIN
gcc/gcc-12.2.0-ubuntu.tar.xz.ab
Normal file
Binary file not shown.
BIN
gcc/gcc-12.2.0-ubuntu.tar.xz.ac
Normal file
BIN
gcc/gcc-12.2.0-ubuntu.tar.xz.ac
Normal file
Binary file not shown.
BIN
gcc/gcc-12.2.0-ubuntu.tar.xz.ad
Normal file
BIN
gcc/gcc-12.2.0-ubuntu.tar.xz.ad
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user