gcc: Use prebuilts from alpine repo to reduce compile time
Signed-off-by: PeroSar <perosar1111@gmail.com>
This commit is contained in:
parent
9fee6a0d25
commit
d88e689c3a
|
@ -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
|
||||
|
|
|
@ -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 "$_"
|
||||
|
||||
|
|
Loading…
Reference in New Issue