зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1571596 - Reduce the number of toolchain scripts for GCC. r=nalexander
Now that all GCC and related source tarballs extract to paths independent of their version number, the scripts are all very look-alike, so they can be consolidated. Differential Revision: https://phabricator.services.mozilla.com/D40749
This commit is contained in:
Родитель
375094b924
Коммит
d931e57c8e
|
@ -16,7 +16,7 @@ linux64-gcc-6:
|
||||||
treeherder:
|
treeherder:
|
||||||
symbol: TL(gcc6)
|
symbol: TL(gcc6)
|
||||||
run:
|
run:
|
||||||
script: build-gcc-6-linux.sh
|
script: build-gcc-linux.sh
|
||||||
toolchain-alias: linux64-gcc
|
toolchain-alias: linux64-gcc
|
||||||
fetches:
|
fetches:
|
||||||
fetch:
|
fetch:
|
||||||
|
@ -32,7 +32,7 @@ linux64-gcc-7:
|
||||||
treeherder:
|
treeherder:
|
||||||
symbol: TL(gcc7)
|
symbol: TL(gcc7)
|
||||||
run:
|
run:
|
||||||
script: build-gcc-7-linux.sh
|
script: build-gcc-linux.sh
|
||||||
fetches:
|
fetches:
|
||||||
fetch:
|
fetch:
|
||||||
- binutils-2.31.1
|
- binutils-2.31.1
|
||||||
|
@ -47,7 +47,7 @@ linux64-gcc-8:
|
||||||
treeherder:
|
treeherder:
|
||||||
symbol: TL(gcc8)
|
symbol: TL(gcc8)
|
||||||
run:
|
run:
|
||||||
script: build-gcc-8-linux.sh
|
script: build-gcc-linux.sh
|
||||||
fetches:
|
fetches:
|
||||||
fetch:
|
fetch:
|
||||||
- binutils-2.31.1
|
- binutils-2.31.1
|
||||||
|
@ -62,7 +62,7 @@ linux64-gcc-9:
|
||||||
treeherder:
|
treeherder:
|
||||||
symbol: TL(gcc9)
|
symbol: TL(gcc9)
|
||||||
run:
|
run:
|
||||||
script: build-gcc-9-linux.sh
|
script: build-gcc-linux.sh
|
||||||
fetches:
|
fetches:
|
||||||
fetch:
|
fetch:
|
||||||
- binutils-2.31.1
|
- binutils-2.31.1
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# This script is for building GCC 7 for Linux.
|
|
||||||
|
|
||||||
root_dir=$MOZ_FETCHES_DIR
|
|
||||||
data_dir=$GECKO_PATH/build/unix/build-gcc
|
|
||||||
|
|
||||||
. $data_dir/build-gcc.sh
|
|
||||||
|
|
||||||
pushd $root_dir/gcc-source
|
|
||||||
ln -sf ../gmp-source gmp
|
|
||||||
ln -sf ../isl-source isl
|
|
||||||
ln -sf ../mpc-source mpc
|
|
||||||
ln -sf ../mpfr-source mpfr
|
|
||||||
popd
|
|
||||||
|
|
||||||
build_binutils
|
|
||||||
build_gcc
|
|
||||||
|
|
||||||
# Put a tarball in the artifacts dir
|
|
||||||
mkdir -p $UPLOAD_DIR
|
|
||||||
cp $MOZ_FETCHES_DIR/gcc.tar.* $UPLOAD_DIR
|
|
|
@ -1,23 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# This script is for building GCC 7 for Linux.
|
|
||||||
|
|
||||||
root_dir=$MOZ_FETCHES_DIR
|
|
||||||
data_dir=$GECKO_PATH/build/unix/build-gcc
|
|
||||||
|
|
||||||
. $data_dir/build-gcc.sh
|
|
||||||
|
|
||||||
pushd $root_dir/gcc-source
|
|
||||||
ln -sf ../gmp-source gmp
|
|
||||||
ln -sf ../isl-source isl
|
|
||||||
ln -sf ../mpc-source mpc
|
|
||||||
ln -sf ../mpfr-source mpfr
|
|
||||||
popd
|
|
||||||
|
|
||||||
build_binutils
|
|
||||||
build_gcc
|
|
||||||
|
|
||||||
# Put a tarball in the artifacts dir
|
|
||||||
mkdir -p $UPLOAD_DIR
|
|
||||||
cp $MOZ_FETCHES_DIR/gcc.tar.* $UPLOAD_DIR
|
|
|
@ -1,23 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# This script is for building GCC 7 for Linux.
|
|
||||||
|
|
||||||
root_dir=$MOZ_FETCHES_DIR
|
|
||||||
data_dir=$GECKO_PATH/build/unix/build-gcc
|
|
||||||
|
|
||||||
. $data_dir/build-gcc.sh
|
|
||||||
|
|
||||||
pushd $root_dir/gcc-source
|
|
||||||
ln -sf ../gmp-source gmp
|
|
||||||
ln -sf ../isl-source isl
|
|
||||||
ln -sf ../mpc-source mpc
|
|
||||||
ln -sf ../mpfr-source mpfr
|
|
||||||
popd
|
|
||||||
|
|
||||||
build_binutils
|
|
||||||
build_gcc
|
|
||||||
|
|
||||||
# Put a tarball in the artifacts dir
|
|
||||||
mkdir -p $UPLOAD_DIR
|
|
||||||
cp $MOZ_FETCHES_DIR/gcc.tar.* $UPLOAD_DIR
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# This script is for building GCC 6 for Linux.
|
# This script is for building GCC for Linux.
|
||||||
|
|
||||||
root_dir=$MOZ_FETCHES_DIR
|
root_dir=$MOZ_FETCHES_DIR
|
||||||
data_dir=$GECKO_PATH/build/unix/build-gcc
|
data_dir=$GECKO_PATH/build/unix/build-gcc
|
Загрузка…
Ссылка в новой задаче