Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit 417ddbf

Browse files
committed
Update CMake used across all bots
Next LLVM upgrade will require CMake 3.4.3, and only Android is using a new-enough CMake version.
1 parent 647450b commit 417ddbf

File tree

3 files changed

+14
-20
lines changed

3 files changed

+14
-20
lines changed

slaves/dist/build_cmake.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
set -ex
44

5-
VERSION=3.3.2
6-
SHA256=e75a178d6ebf182b048ebfe6e0657c49f0dc109779170bad7ffcb17463f2fc22
5+
VERSION=3.6.0
6+
SHA256=fd05ed40cc40ef9ef99fac7b0ece2e0b871858a82feade48546f5d2940147670
77

88
curl https://cmake.org/files/v${VERSION%\.*}/cmake-$VERSION.tar.gz | \
99
tee >(sha256sum > cmake-$VERSION.tar.gz.sha256) | tar xzf -

slaves/linux-cross/Dockerfile

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
FROM ubuntu:15.10
1+
FROM ubuntu:16.04
22

33
RUN apt-get update
44
RUN apt-get install -y --force-yes --no-install-recommends \
55
curl make cmake git wget file \
6-
python-dev python-pip stunnel \
6+
python-dev python-pip python-setuptools stunnel \
77
bzip2 xz-utils \
88
g++ libc6-dev \
99
g++-4.8-powerpc-linux-gnu libc6-dev-powerpc-cross \
1010
g++-4.8-powerpc64le-linux-gnu libc6-dev-ppc64el-cross \
1111
lib64gcc-4.8-dev-powerpc-cross libc6-dev-ppc64-powerpc-cross \
1212
lib64stdc++-4.8-dev-powerpc-cross \
13-
software-properties-common bsdtar
14-
RUN add-apt-repository ppa:angelsl/mips-cross && apt-get update
15-
RUN apt-get install -y --force-yes --no-install-recommends \
13+
bsdtar \
14+
cmake \
1615
g++-5-mips-linux-gnu libc6-dev-mips-cross \
1716
g++-5-mipsel-linux-gnu libc6-dev-mipsel-cross
1817

@@ -29,16 +28,16 @@ RUN \
2928
ln -vs $f `echo $f | sed -e 's/-4.7$//'`; \
3029
done
3130

32-
# Install rumprun cross compiler
33-
WORKDIR /build
34-
COPY linux-cross/build_rumprun.sh /build/
35-
RUN /bin/bash build_rumprun.sh && rm -rf /build
36-
3731
# Install buildbot and prep it to run
3832
RUN pip install buildbot-slave
3933
RUN groupadd -r rustbuild && useradd -m -r -g rustbuild rustbuild
4034
RUN mkdir /buildslave && chown rustbuild:rustbuild /buildslave
4135

36+
# Install rumprun cross compiler
37+
WORKDIR /build
38+
COPY linux-cross/build_rumprun.sh /build/
39+
RUN /bin/bash build_rumprun.sh && rm -rf /build
40+
4241
# Build/install crosstool-ng cross compilers
4342
# NOTE crosstool-ng can't be executed by root so we execute it under the
4443
# rustbuild user. /x-tools is the crosstool-ng output directory and /build is

slaves/linux/Dockerfile

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1-
FROM ubuntu:14.04
1+
FROM ubuntu:16.04
22

33
RUN dpkg --add-architecture i386
44
RUN apt-get update
55
RUN apt-get install -y \
66
curl make xz-utils git \
77
python-dev python-pip stunnel \
88
g++-multilib libssl-dev libssl-dev:i386 gdb \
9-
valgrind libc6-dbg:i386 software-properties-common
10-
11-
# for cargo, we need cmake-3.1.2+ to avoid a cmake bug where it doesn't detect
12-
# OpenSSL-1.0.2.
13-
# See https://cmake.org/Bug/bug_relationship_graph.php?bug_id=15386
14-
RUN add-apt-repository ppa:george-edison55/cmake-3.x && apt-get update
15-
RUN apt-get install -y cmake
9+
valgrind libc6-dbg:i386 \
10+
cmake
1611

1712
# Install buildbot and prep it to run
1813
RUN pip install buildbot-slave

0 commit comments

Comments
 (0)