From patchwork Fri Dec 19 01:29:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 422685 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6C48814009B for ; Fri, 19 Dec 2014 12:29:26 +1100 (AEDT) Received: from ozlabs.org (ozlabs.org [103.22.144.67]) by lists.ozlabs.org (Postfix) with ESMTP id 499971A0BB3 for ; Fri, 19 Dec 2014 12:29:26 +1100 (AEDT) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 50B161A09FF for ; Fri, 19 Dec 2014 12:29:23 +1100 (AEDT) Received: by mail-pa0-f42.google.com with SMTP id et14so98941pad.29 for ; Thu, 18 Dec 2014 17:29:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=from:to:subject:date:message-id; bh=cMBGDl0paa79e3LLWv+5YosEvyzumD7SR94SWuLItkc=; b=ngp3xK462ZrFafeIilygeBK081gkRRAEjhuvX0AbV+Bbz+t3GE9Ab7rKdRfkZopss/ ruVofYwN6Cr4mxJhJFi1a3HGzrOwRK95BH5Huoft7rZsXY5/DF1veaK6BFuZHrp6AmuB RnJpyMuMfWDtOlwm1oSHzibbO2Zt3HyIL9dzo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=cMBGDl0paa79e3LLWv+5YosEvyzumD7SR94SWuLItkc=; b=I0ksneHPBb7w2F2CCcLDBAeYg4czbNRfqVePRafgRN5ZBOYrrX/MiDHG9Gu8uEcEwQ XLWiJvkQoypJaq4fOZuXZSn4o3o74R46a6+eJdeojkO36VKdRVSPI9ih030a63neT2e2 Hi6/+77vc7pjY+mMPb5t4kCk4+rfU+4Np3XMZy6cw/XpITIckpL5hVegt78I9I+nwxN9 BAxaemoX9pHhx8LE4AvkADzsY8H73D0mmQBUjusAFuzJo+1TRN74DOvzb13a25D57YYp IQiyeP/hUylSeImQr0o7cs9pWXGfeqL0cpoITRThDxN1PIrWJ/MKpqscFwneyabLgEP7 nWKw== X-Gm-Message-State: ALoCoQlqhPFfNGkR/q4L7PIS7PmqGJJBSj9tBOmBMCdWAyuNEFfMjxjSSZUKjG8SlV09OTOdH8Dq X-Received: by 10.68.191.101 with SMTP id gx5mr8351278pbc.108.1418952561036; Thu, 18 Dec 2014 17:29:21 -0800 (PST) Received: from icarus.au.ibm.com (ppp118-210-160-161.lns20.adl6.internode.on.net. [118.210.160.161]) by mx.google.com with ESMTPSA id vb4sm7961427pab.19.2014.12.18.17.29.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Dec 2014 17:29:20 -0800 (PST) From: Joel Stanley To: skiboot@lists.ozlabs.org Date: Fri, 19 Dec 2014 11:59:11 +1030 Message-Id: <1418952551-27575-1-git-send-email-joel@jms.id.au> X-Mailer: git-send-email 2.1.3 Subject: [Skiboot] [PATCH] travis: Install power8 simulator for make check X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" This downloads and installs mambo, the power8 simulator, including some dependencies to ensure it runs on Travis' ancient Ubuntu 12.04. Without the newer libc, you'll see a warning like this: /opt/ibm/systemsim-p8/bin/systemsim-pegasus: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/ibm/systemsim-p8/bin/systemsim-pegasus) Where GLIBCXX_3.4.20 is GCC 4.9. This is why we require libstdc++ from the ppa. Signed-off-by: Joel Stanley --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 66fc1a6..5c7c1a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,14 +3,13 @@ language: c before_install: - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - sudo apt-get update -qq - - sudo apt-get install -y gcc-4.8 + - sudo apt-get install -y gcc-4.8 libstdc++6 valgrind expect xterm - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50 - -install: - - sudo apt-get install -y valgrind - wget https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.8.0/x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz - sudo mkdir /opt/cross - sudo tar -C /opt/cross -xvf x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz + - wget ftp://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v1.0-2/systemsim-p8_1.0-2_amd64.deb + - sudo dpkg -i systemsim-p8_1.0-2_amd64.deb env: global: