You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bb...@apache.org on 2019/07/23 19:55:11 UTC
[mesos] branch master updated: Update clang and cmake for arm
docker build.
This is an automated email from the ASF dual-hosted git repository.
bbannier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 0dec449 Update clang and cmake for arm docker build.
0dec449 is described below
commit 0dec44997b8246831d17b7a6c5934da0d6b8d62a
Author: Tomasz Janiszewski <ja...@gmail.com>
AuthorDate: Tue Jul 23 21:51:38 2019 +0200
Update clang and cmake for arm docker build.
Review: https://reviews.apache.org/r/71118/
---
support/mesos-build/ubuntu-16.04-arm.dockerfile | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/support/mesos-build/ubuntu-16.04-arm.dockerfile b/support/mesos-build/ubuntu-16.04-arm.dockerfile
index d223202..6a14739 100644
--- a/support/mesos-build/ubuntu-16.04-arm.dockerfile
+++ b/support/mesos-build/ubuntu-16.04-arm.dockerfile
@@ -21,7 +21,6 @@ RUN apt-get update && \
apt-get install -qy \
autoconf \
build-essential \
- clang \
curl \
git \
iputils-ping \
@@ -55,10 +54,21 @@ RUN add-apt-repository -y ppa:deadsnakes/ppa && \
apt-get clean && \
rm -rf /var/lib/apt/lists
+# Install newer Clang.
+RUN curl http://releases.llvm.org/8.0.0/clang+llvm-8.0.0-aarch64-linux-gnu.tar.xz -o /tmp/clang.tar.xz && \
+ tar -xf /tmp/clang.tar.xz && \
+ rm /tmp/clang.tar.xz && \
+ cp -R clang+llvm-8.0.0-aarch64-linux-gnu/* /usr/ && \
+ rm -rf clang+llvm-8.0.0-aarch64-linux-gnu && \
+ clang++ --version
+
+
# Install newer CMake.
-RUN curl https://cmake.org/files/v3.8/cmake-3.8.2.tar.gz -o /tmp/cmake-3.8.2.tar.gz && \
- tar xvzf /tmp/cmake-3.8.2.tar.gz -C /tmp && \
- cd /tmp/cmake-3.8.2 && \
+RUN curl https://cmake.org/files/v3.15/cmake-3.15.0.tar.gz -o /tmp/cmake-3.15.0.tar.gz && \
+ tar xvzf /tmp/cmake-3.15.0.tar.gz -C /tmp && \
+ cd /tmp/cmake-3.15.0 && \
+ export CC=/usr/bin/clang && \
+ export CXX=/usr/bin/clang++ && \
./configure && \
make && \
make install && \