about summary refs log tree commit diff
path: root/src/ci/docker/scripts/make3.sh
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-07-13 08:06:11 +0000
committerbors <bors@rust-lang.org>2017-07-13 08:06:11 +0000
commit06ffdeb7816ae62175febdfa18534290bf5ad573 (patch)
tree09a50a2c77a0c846c5b833b29a222174eb94797c /src/ci/docker/scripts/make3.sh
parentcfd4c811881ac159b8604c47b8b0b63fe7d909bd (diff)
parent250346128b0083c8137171af503bda194c6124dd (diff)
downloadrust-06ffdeb7816ae62175febdfa18534290bf5ad573.tar.gz
rust-06ffdeb7816ae62175febdfa18534290bf5ad573.zip
Auto merge of #43129 - Ophirr33:master, r=alexcrichton
Updated docker images to share scripts

Attempts to resolve #42201. I managed to pull out five scripts (android-base-apt-get, ubuntu16-apt-get, make3, rustbuild-setup, and crosstool-ng). Let me know if there's more I can do or if I should change some names.
r? @malbarbo
Diffstat (limited to 'src/ci/docker/scripts/make3.sh')
-rw-r--r--src/ci/docker/scripts/make3.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/ci/docker/scripts/make3.sh b/src/ci/docker/scripts/make3.sh
new file mode 100644
index 00000000000..8a7845cb8f3
--- /dev/null
+++ b/src/ci/docker/scripts/make3.sh
@@ -0,0 +1,19 @@
+# Copyright 2017 The Rust Project Developers. See the COPYRIGHT
+# file at the top-level directory of this distribution and at
+# http://rust-lang.org/COPYRIGHT.
+#
+# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+# option. This file may not be copied, modified, or distributed
+# except according to those terms.
+
+set -ex
+
+curl https://ftp.gnu.org/gnu/make/make-3.81.tar.gz | tar xzf -
+cd make-3.81
+./configure --prefix=/usr
+make
+make install
+cd ..
+rm -rf make-3.81