From patchwork Tue Nov 25 22:11:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 41508 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 60F5E25E72 for ; Tue, 25 Nov 2014 22:12:24 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id l15sf1174667wiw.4 for ; Tue, 25 Nov 2014 14:12:23 -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=VzHKhYcNcv3tI6PGY1KH48bgYUDKIgi3uaEOdILeGyA=; b=d9OZ9wcQde6E3FGVpsp261uofpARhS8OP6ckpuDVx9iIUwxQEwXIlW9xxsZOPceSWM L/n59wLQiyFRANe1EXypzS9mTS1KghPo6hJltywdCWtNdeVTREdAADwa5oHC+fIM4Isg yXmY04VzCFcHKsmJdNJgGhieb41q61ipv8mGvP307cifxRFVOgJZrTKLFyoCKzGtihrn bUrX+Z0cepYeMARwCpFlSJI7XtV0HAUXnSL1wj7n8snfCru9Y8myVuRjurKFj4voakGq 3xuBVrR2yfANUOBrLazj2keE1lqAfTBF2OmH/FJbhjiNIS4sPDPmGFk1yy0Tx5SrgAGL Ghyg== X-Gm-Message-State: ALoCoQld55XtNDKLN3/HEd823Z1foM1b9F+vQWeX4s8IHHop/HTESPdf8jQcVEf6NKaGiYC0Pbws X-Received: by 10.152.8.67 with SMTP id p3mr8231431laa.4.1416953543696; Tue, 25 Nov 2014 14:12:23 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.42.228 with SMTP id r4ls292883lal.41.gmail; Tue, 25 Nov 2014 14:12:23 -0800 (PST) X-Received: by 10.152.234.163 with SMTP id uf3mr30905130lac.45.1416953543434; Tue, 25 Nov 2014 14:12:23 -0800 (PST) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id x8si2562936laj.94.2014.11.25.14.12.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Nov 2014 14:12:23 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by mail-la0-f48.google.com with SMTP id s18so1407546lam.7 for ; Tue, 25 Nov 2014 14:12:23 -0800 (PST) X-Received: by 10.112.138.137 with SMTP id qq9mr30548199lbb.80.1416953543301; Tue, 25 Nov 2014 14:12:23 -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 ew9csp528442lbc; Tue, 25 Nov 2014 14:12:22 -0800 (PST) X-Received: by 10.224.46.131 with SMTP id j3mr39289292qaf.86.1416953541972; Tue, 25 Nov 2014 14:12:21 -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 lb6si2887515qcb.25.2014.11.25.14.12.21 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 25 Nov 2014 14:12:21 -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 1XtOLL-00032O-Ku; Tue, 25 Nov 2014 22:12:19 +0000 Received: from mail-qc0-f178.google.com ([209.85.216.178]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XtOLF-000318-5D for lng-odp@lists.linaro.org; Tue, 25 Nov 2014 22:12:13 +0000 Received: by mail-qc0-f178.google.com with SMTP id b13so1315254qcw.37 for ; Tue, 25 Nov 2014 14:12:08 -0800 (PST) X-Received: by 10.229.212.66 with SMTP id gr2mr39937333qcb.8.1416953527894; Tue, 25 Nov 2014 14:12:07 -0800 (PST) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id d2sm2272311qab.24.2014.11.25.14.12.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Nov 2014 14:12:07 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Tue, 25 Nov 2014 17:11:59 -0500 Message-Id: <1416953519-53534-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH v2] 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.215.48 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 --- Add t to ar.bz2 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