aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-05-13 11:34:03 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-05-13 11:36:13 +0200
commitc05b619dabc2a293ad1c7d4cf8c566dca54b34a0 (patch)
tree4243f938c90d5c1503c4699841bcfe1ceafa7165 /Makefile
parente726f42b64de35f7a8fc316b0eb1169106d8e714 (diff)
Makefile: print uname in install_prerequisites
Travis is still broken with: E: Unable to locate package gcc-aarch64-linux-gnu E: Unable to locate package gcc-arm-linux-gnueabihf E: Unable to locate package gcc-powerpc64le-linux-gnu https://travis-ci.org/google/syzkaller/jobs/378034948 Let's at least see what's OS is there and what gcc packages present.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f8f29a188..462dc2253 100644
--- a/Makefile
+++ b/Makefile
@@ -295,6 +295,9 @@ clean:
# We use "|| true" for apt-get install because packages are all different on different distros,
# and we want to install at least gometalinter on Travis CI.
install_prerequisites:
+ uname -a
+ sudo apt-get update
+ apt-cache search gcc | grep gcc | grep aarch64
sudo apt-get install -y -q libc6-dev-i386 linux-libc-dev \
gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf gcc-powerpc64le-linux-gnu || true
sudo apt-get install -y -q g++-aarch64-linux-gnu g++-powerpc64le-linux-gnu g++-arm-linux-gnueabihf || true