From patchwork Tue Nov 25 22:08:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 41507 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D93AA25E72 for ; Tue, 25 Nov 2014 22:09:14 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id b13sf1004195wgh.9 for ; Tue, 25 Nov 2014 14:09:14 -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=zoF9cE39tRA5N1UfpAaIaUOyeZDZbaN54h6uGBdgNF0=; b=Yexn0WPpxS9vuqGEglHyrLIZo9MImAK88ZN+wczdK6p5BPaNBRvWaE/46gOTkY0njc 5MsfeMkXY6wCyFrZa1Pc1tgR98AFgFWEXLuQ9mtPdmVLHH4ECpuY8WIJFKOLzH+JZGQh n3Ump9L8VbyRh6FbCbkaD3aK72WrzPYWHF0Lh1Uq8+H4y3BbQiCgZFuOLA0NbzgPGFu0 S84nlyhn/Cq4r352vCG36MLn8qyEgQMbF0pb4OvTKTEge3bWScWz29spofLv+w5qkAqP V7gdYA3f9w/RT4ytsglTIFOU8WrhvFiVr80JkmxsfjLGQnw1d2hD9vjpnJLZ9guOOLN/ FE5g== X-Gm-Message-State: ALoCoQlfRPJxdW5Lbi7eAGQag+6l4+VlQqqUItGbL3L7aC7983FC0GCiCdChAtRPOg3+r5kG6lsM X-Received: by 10.180.19.226 with SMTP id i2mr6125607wie.5.1416953354186; Tue, 25 Nov 2014 14:09:14 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.67 with SMTP id 3ls516891las.61.gmail; Tue, 25 Nov 2014 14:09:13 -0800 (PST) X-Received: by 10.112.42.114 with SMTP id n18mr30916707lbl.44.1416953353890; Tue, 25 Nov 2014 14:09:13 -0800 (PST) Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com. [209.85.217.178]) by mx.google.com with ESMTPS id vy6si2561576lbb.88.2014.11.25.14.09.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Nov 2014 14:09:13 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.178 as permitted sender) client-ip=209.85.217.178; Received: by mail-lb0-f178.google.com with SMTP id f15so1568449lbj.9 for ; Tue, 25 Nov 2014 14:09:13 -0800 (PST) X-Received: by 10.152.6.228 with SMTP id e4mr30690904laa.71.1416953353749; Tue, 25 Nov 2014 14:09:13 -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.184.201 with SMTP id ew9csp527968lbc; Tue, 25 Nov 2014 14:09:13 -0800 (PST) X-Received: by 10.224.69.200 with SMTP id a8mr7504468qaj.40.1416953352502; Tue, 25 Nov 2014 14:09:12 -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 64si2863600qgh.48.2014.11.25.14.09.10 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 25 Nov 2014 14:09:12 -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 1XtOIG-0002iS-4P; Tue, 25 Nov 2014 22:09:08 +0000 Received: from mail-qg0-f48.google.com ([209.85.192.48]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XtOI9-0002hm-Sg for lng-odp@lists.linaro.org; Tue, 25 Nov 2014 22:09:01 +0000 Received: by mail-qg0-f48.google.com with SMTP id q107so1171869qgd.21 for ; Tue, 25 Nov 2014 14:08:56 -0800 (PST) X-Received: by 10.224.12.145 with SMTP id x17mr41630276qax.23.1416953336657; Tue, 25 Nov 2014 14:08:56 -0800 (PST) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id e2sm2278173qaw.10.2014.11.25.14.08.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Nov 2014 14:08:56 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Tue, 25 Nov 2014 17:08:45 -0500 Message-Id: <1416953325-53436-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.178 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 Signed-off-by: Mike Holmes --- DEPENDENCIES | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/DEPENDENCIES b/DEPENDENCIES index f70a1d4..11452ff 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}. ar.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