Bug 1324492 - Install CMake 3.7.1 in desktop-build images; r=dustin
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 04 Jan 2017 13:53:00 -0500
changeset 375358 73dae2d9869edc721b053629d766d66074d1ce68
parent 375269 c8883a87c6dc7c8d355fc93c9ee08bb75cfbf7db
child 375359 84e0ff8ca28fdc5601a43e7cf2a0511ea0b30549
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1324492
milestone53.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1324492 - Install CMake 3.7.1 in desktop-build images; r=dustin
taskcluster/docker/desktop-build/Dockerfile
taskcluster/docker/recipes/centos6-build-system-setup.sh
taskcluster/docker/recipes/install-cmake.sh
--- a/taskcluster/docker/desktop-build/Dockerfile
+++ b/taskcluster/docker/desktop-build/Dockerfile
@@ -22,16 +22,19 @@ ADD topsrcdir/testing/mozharness/externa
 ADD topsrcdir/taskcluster/docker/recipes/common.sh /setup/common.sh
 
 # %include taskcluster/docker/recipes/install-mercurial.sh
 ADD topsrcdir/taskcluster/docker/recipes/install-mercurial.sh /setup/install-mercurial.sh
 
 # %include taskcluster/docker/recipes/install-make.sh
 ADD topsrcdir/taskcluster/docker/recipes/install-make.sh /setup/install-make.sh
 
+# %include taskcluster/docker/recipes/install-cmake.sh
+ADD topsrcdir/taskcluster/docker/recipes/install-cmake.sh /setup/install-cmake.sh
+
 # %include taskcluster/docker/recipes/centos6-build-system-setup.sh
 ADD topsrcdir/taskcluster/docker/recipes/centos6-build-system-setup.sh /setup/system-setup.sh
 
 # TODO remove once base image doesn't install Mercurial
 RUN pip uninstall -y Mercurial
 
 RUN bash /setup/system-setup.sh
 
--- a/taskcluster/docker/recipes/centos6-build-system-setup.sh
+++ b/taskcluster/docker/recipes/centos6-build-system-setup.sh
@@ -3,10 +3,11 @@
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 cd /setup
 
 . /setup/common.sh
 . /setup/install-mercurial.sh
 . /setup/install-make.sh
+. /setup/install-cmake.sh
 
 rm -rf /setup
new file mode 100644
--- /dev/null
+++ b/taskcluster/docker/recipes/install-cmake.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# This script installs CMake 3.7.1.
+tooltool_fetch <<'EOF'
+[
+  {
+    "size": 7361172,
+    "digest": "0539d70ce3ac77042a45d638443b09fbf368e253622db980bc6fb15988743eacd031ab850a45c821ec3e9f0f5f886b9c9cb0668aeda184cd457b78abbfe7b629",
+    "algorithm": "sha512",
+    "filename": "cmake-3.7.1.tar.gz",
+    "unpack": true
+  }
+]
+EOF
+cd cmake-3.7.1
+./bootstrap && make install
+cd ..
+rm -rf cmake-3.7.1