From patchwork Wed Dec 17 18:59:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 42395 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 45A8C26C76 for ; Wed, 17 Dec 2014 19:00:21 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf10561637lbj.7 for ; Wed, 17 Dec 2014 11:00:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=rlfsJ3+EgmxPfHjMH+fD1eMlGHUVkkjFvTqHNOP+h+s=; b=N2BOL6tatYn+uuXhtvRIOPbk77l4U3kYvAiSMRkF1v/4J9kgXPY8jWIfcsj4E9S6Tg 8hQlbZTYihY027217VvS8tOefbKQ4rPf0l22t7rfi6Rk4SbFxVieoedwDPj8Jq5Jqzzs lgr8BSfn/WSPp0ErkcPoR2Gz6xqEwZ57fuh3zp3qTYh7vpKfxCoEiHwuQ/4chgulRY3I V2hE6XyXXceoF2blNFd2gn1mfp+pi3TyaQqL5hE41FAK+Hu8OIRdSBjiKPGMmayY774p uf3mEYJ2e7GKfyyszQ6xyKsOgOS8jRViAw5l2NbfJtREI/BF5wF8LfZOyy/rYy+9gcmn Ktbg== X-Gm-Message-State: ALoCoQkmIxwAPIxoTbu32tykRo3QDn7yUhSN6Hc7HbSfvCVhpFcoyIAUwX3ulgb4H869/ChWPQhi X-Received: by 10.194.92.34 with SMTP id cj2mr7988wjb.5.1418842820156; Wed, 17 Dec 2014 11:00:20 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.27.9 with SMTP id p9ls1100765lag.80.gmail; Wed, 17 Dec 2014 11:00:19 -0800 (PST) X-Received: by 10.112.129.228 with SMTP id nz4mr42389860lbb.8.1418842819846; Wed, 17 Dec 2014 11:00:19 -0800 (PST) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id gn10si4671322lbc.102.2014.12.17.11.00.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Dec 2014 11:00:19 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by mail-lb0-f177.google.com with SMTP id b6so12732795lbj.8 for ; Wed, 17 Dec 2014 11:00:19 -0800 (PST) X-Received: by 10.112.136.69 with SMTP id py5mr28655480lbb.56.1418842819684; Wed, 17 Dec 2014 11:00:19 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.142.69 with SMTP id ru5csp1458415lbb; Wed, 17 Dec 2014 11:00:18 -0800 (PST) X-Received: by 10.140.33.226 with SMTP id j89mr73460008qgj.23.1418842817772; Wed, 17 Dec 2014 11:00:17 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id t4si5622535qar.11.2014.12.17.11.00.15 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 17 Dec 2014 11:00:17 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Y1JpV-0000eq-Kg; Wed, 17 Dec 2014 19:00:13 +0000 Received: from mail-qa0-f52.google.com ([209.85.216.52]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Y1JpP-0000cO-AT for lng-odp@lists.linaro.org; Wed, 17 Dec 2014 19:00:07 +0000 Received: by mail-qa0-f52.google.com with SMTP id x12so3194045qac.39 for ; Wed, 17 Dec 2014 11:00:02 -0800 (PST) X-Received: by 10.224.75.193 with SMTP id z1mr76641675qaj.91.1418842802051; Wed, 17 Dec 2014 11:00:02 -0800 (PST) Received: from localhost.localdomain ([98.221.136.245]) by mx.google.com with ESMTPSA id n1sm4645651qag.21.2014.12.17.11.00.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Dec 2014 11:00:01 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 17 Dec 2014 13:59:55 -0500 Message-Id: <1418842795-11746-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH] DEPENDENCIES: Update CUnit instructions X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Add the required version of CUnit and provide better install instructions. Signed-off-by: Mike Holmes --- DEPENDENCIES | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/DEPENDENCIES b/DEPENDENCIES index f70a1d4..bc39889 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -78,23 +78,33 @@ Prerequisites for building the OpenDataPlane (ODP) API 4.0 Packages needed to build API tests - Cunit test framework + Cunit test framework version 2.1-3 is required Cunit prvodes a framework to run the API test suite that proves conformance to the ODP API. The home page http://cunit.sourceforge.net/doc/introduction.html 4.1 Native Cunit install - # Debian/Ubuntu + # Debian/Ubuntu check it is 2.1-3 $ apt-get install libcunit1-dev -4.2 Cross compile of Cunit +4.2 Built from src + + export CUNIT_VERSION=2.1-3 + curl -sSOL http://sourceforge.net/projects/cunit/files/CUnit/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 + tar -jxf *.bz2 + cd CUnit* + ./bootstrap + make install + #In Step 4.4 use --with-cunit-path=/home//CUnitHome + +4.3 Cross compile of Cunit $ git svn clone http://svn.code.sf.net/p/cunit/code/trunk cunit-code $ cd cunit-code $ ./bootstrap $ ./configure --host=arm-linux-gnueabihf --prefix=/home//src/install-cunit -4.3 Using Cunit with ODP +4.4 Using Cunit with ODP $ Add the configuration option to the regular configuration options ./configure --enable-cunit #if cunit is in the PATH ./configure --with-cunit-path=DIR #only if you need a path to Cunit libs and headers