gcc: Use prebuilts from alpine repo to reduce compile time

Signed-off-by: PeroSar <perosar1111@gmail.com>
This commit is contained in:
PeroSar 2022-06-04 10:50:01 +05:30
parent 9fee6a0d25
commit d88e689c3a
Signed by: PeroSar
GPG Key ID: 5C2D258445DA8B58
2 changed files with 1 additions and 3 deletions

View File

@ -11,7 +11,7 @@ steps:
- name: build
image: alpine:latest
commands:
- apk add gcc g++ texinfo make curl xz bash patch
- apk add gcc g++ texinfo make curl xz bash patch isl-dev gmp-dev mpfr-dev libgomp mpc1-dev
- bash emerald-binutils.sh
- bash emerald-sysroot.sh
- bash emerald-gcc.sh

View File

@ -24,8 +24,6 @@ cd "$EMERALD_BUILD_DIR"/gcc-"$GCC_VER"
# Apply patches
find "$EMERALD_SCRIPT_DIR"/patches/gcc/"$GCC_VER" -type f -name '*.patch' -exec patch -p0 -i {} \;
./contrib/download_prerequisites
# Its suggested to run configure from a seperate directory
mkdir -vp build && cd "$_"