diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2019-04-17 15:50:48 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-04-17 15:56:34 +1000 |
commit | 208ca81ffd47ab1d244a8e1a521cf7671415e90f (patch) | |
tree | c65c5565a873be39137956a7911c281d0a433b19 | |
parent | 065877fc59de64ae22b4677667ce42db609ffdf5 (diff) | |
download | skiboot-208ca81ffd47ab1d244a8e1a521cf7671415e90f.zip skiboot-208ca81ffd47ab1d244a8e1a521cf7671415e90f.tar.gz skiboot-208ca81ffd47ab1d244a8e1a521cf7671415e90f.tar.bz2 |
opal-ci: Centos7 with latest crosstool toolchain (gcc 8.1.0)
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
-rw-r--r-- | opal-ci/Dockerfile-centos7 | 4 | ||||
-rwxr-xr-x | opal-ci/build-centos7.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/opal-ci/Dockerfile-centos7 b/opal-ci/Dockerfile-centos7 index ab94ef6..826145e 100644 --- a/opal-ci/Dockerfile-centos7 +++ b/opal-ci/Dockerfile-centos7 @@ -2,8 +2,8 @@ FROM centos:7 RUN yum -y update && yum clean all RUN yum -y install wget curl xterm gcc git xz make diffutils findutils expect valgrind valgrind-devel ccache dtc openssl-devel openssl RUN mkdir /opt/cross -RUN if [ `arch` = "x86_64" ]; then wget https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.8.0/x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz; tar -C /opt/cross -xf x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz; fi -RUN if [ `arch` = "ppc64le" ]; then wget https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/ppc64le/4.9.4/ppc64le-gcc-4.9.4-nolibc-powerpc64-linux.tar.xz; tar -C /opt/cross -xf ppc64le-gcc-4.9.4-nolibc-powerpc64-linux.tar.xz; fi +RUN if [ `arch` = "x86_64" ]; then wget https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/8.1.0/x86_64-gcc-8.1.0-nolibc-powerpc64-linux.tar.xz; tar -C /opt/cross -xf x86_64-gcc-8.1.0-nolibc-powerpc64-linux.tar.xz; fi +RUN if [ `arch` = "ppc64le" ]; then wget https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/ppc64le/8.1.0/ppc64le-gcc-8.1.0-nolibc-powerpc64-linux.tar.xz; tar -C /opt/cross -xf ppc64le-gcc-8.1.0-nolibc-powerpc64-linux.tar.xz; fi RUN if [ `arch` = "x86_64" ]; then curl -L -O http://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v1.0-2/systemsim-p8-1.0-2.el7.x86_64.rpm; yum install -y systemsim-p8-1.0-2.el7.x86_64.rpm; fi RUN if [ `arch` = "x86_64" ]; then curl -L -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.0-0/systemsim-p9-1.0-0.el7.x86_64.rpm; yum install -y systemsim-p9-1.0-0.el7.x86_64.rpm; fi RUN yum install -y flex bison diff --git a/opal-ci/build-centos7.sh b/opal-ci/build-centos7.sh index 4473334..79b4c2e 100755 --- a/opal-ci/build-centos7.sh +++ b/opal-ci/build-centos7.sh @@ -8,11 +8,11 @@ set -vx # It's fairly old and some of the things (e.g. build+run qemu) we don't # want to bother doing. if [ $(arch) == "x86_64" ]; then - export CROSS=/opt/cross/gcc-4.8.0-nolibc/powerpc64-linux/bin/powerpc64-linux- + export CROSS=/opt/cross/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- fi # Note that this doesn't work on centos7 because "/lib64/ld64.so.2: version `GLIBC_2.22' not found" if [ $(arch) == "ppc64le" ]; then - export CROSS=/opt/cross/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- + export CROSS=/opt/cross/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- fi MAKE_J=$(grep -c processor /proc/cpuinfo) |