From patchwork Thu Dec 18 17:36:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 42466 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D0C6D26C6B for ; Thu, 18 Dec 2014 17:37:02 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id hs14sf1127888lab.1 for ; Thu, 18 Dec 2014 09:37:01 -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=IOGMnBZQO0IacdcYxNEbxayGfA32T1tnW0Z+JVqvq2c=; b=FO/qm/7ZtVhWu1lij0XVXkGYmLI3Ef+BiP+bwlfTSK1/KQVTNfNoYW192TO4Pf6yK1 WbiLTWkl7I7F6nkShxs2nHN3wFd9IziKrxXfp1NP4nLeCClDRh0WUsSm0/+RWLMvFbi8 sWPA76yOfJOR0FyVLgvc/Q8hjrWFFrVbPU8Ly6pnir0PfolVcSn+0D77F4z2yMzshFa/ 4U7XbOCXfB5VPmLpjDI4jadiZYg1ZtAiQpZx4lehSGOQusgIJeGIB0XkD9lKeKW6Q2RV zTbVRxfh8/juAYYr4IizVFpHAeeJIduk6H0WUoX3ElKhe7JY3gdCyyfXEqeTNulsQkr+ w1Fg== X-Gm-Message-State: ALoCoQl/60CB+umlSNff+MgWqc0seg+Wfre9L/+OBaLPuRcbNeTevrAO1Um6iBOKjY1N/uxQ7oup X-Received: by 10.112.130.8 with SMTP id oa8mr475988lbb.11.1418924221816; Thu, 18 Dec 2014 09:37:01 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.7 with SMTP id f7ls71855laa.100.gmail; Thu, 18 Dec 2014 09:37:01 -0800 (PST) X-Received: by 10.112.139.196 with SMTP id ra4mr3424704lbb.95.1418924221665; Thu, 18 Dec 2014 09:37:01 -0800 (PST) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id xe3si7478045lbb.114.2014.12.18.09.37.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Dec 2014 09:37:01 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id 10so1358341lbg.5 for ; Thu, 18 Dec 2014 09:37:01 -0800 (PST) X-Received: by 10.112.136.69 with SMTP id py5mr3411091lbb.56.1418924221570; Thu, 18 Dec 2014 09:37:01 -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 ru5csp15195lbb; Thu, 18 Dec 2014 09:37:00 -0800 (PST) X-Received: by 10.140.19.76 with SMTP id 70mr5444088qgg.74.1418924219842; Thu, 18 Dec 2014 09:36:59 -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 gh3si9012923qcb.26.2014.12.18.09.36.58 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 18 Dec 2014 09:36:59 -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 1Y1f0S-0005xu-9n; Thu, 18 Dec 2014 17:36:56 +0000 Received: from mail-qa0-f41.google.com ([209.85.216.41]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Y1f0L-0005xm-Re for lng-odp@lists.linaro.org; Thu, 18 Dec 2014 17:36:49 +0000 Received: by mail-qa0-f41.google.com with SMTP id f12so1136866qad.28 for ; Thu, 18 Dec 2014 09:36:44 -0800 (PST) X-Received: by 10.140.39.116 with SMTP id u107mr5491364qgu.98.1418924204435; Thu, 18 Dec 2014 09:36:44 -0800 (PST) Received: from localhost.localdomain ([98.221.136.245]) by mx.google.com with ESMTPSA id n5sm7351197qat.13.2014.12.18.09.36.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Dec 2014 09:36:43 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Thu, 18 Dec 2014 12:36:38 -0500 Message-Id: <1418924198-5951-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH v2 2/2] 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.174 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 Reviewed-by: Anders Roxell --- Use ${USER} in the example paths DEPENDENCIES | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/DEPENDENCIES b/DEPENDENCIES index f70a1d4..2208671 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/${USER}/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 + $ ./configure --host=arm-linux-gnueabihf --prefix=/home/${USER}/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