From patchwork Wed Aug 30 16:59:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111321 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1235351qge; Wed, 30 Aug 2017 10:01:16 -0700 (PDT) X-Google-Smtp-Source: ADKCNb4BptIMokqAWijMRScqt+9tuMZVqyLcZiJFyqOhWFua1hWyj2+eUKzJAPEIzR4rlWZwAHRX X-Received: by 10.200.8.186 with SMTP id v55mr3262772qth.181.1504112476726; Wed, 30 Aug 2017 10:01:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112476; cv=none; d=google.com; s=arc-20160816; b=HvYd4BcCu0dqf0IMEEtQMxs6s0iVf7fmr3+pWytJaoW+iphyp+dXPW8JVv/Pk5sxKI v1jtJUbXIxKrZSFPU8Lc5TsfsIRnwQJAOcbITG1Bw02hwCOyezG+iBNvrTGj2H1KgvYi Lpj7hPi9cCHz1ix+biAFPtXv9nxj3At6VJWjyUB2Tvhfdeh63GDKB01uF3RUvgJrwGti lK4D6602NO3VuaL+OPDHD19PW2Lun6wSyzpS6LSj/rD1oFEAFHyUCargRnfXuzpT9syR +NXl6lrnEdGyeS1iCFiXeErwj4bmio4YPqbvsmKcF27ekFFc0DXcmEeX9hodm61NeF+p YUQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=xp7tDTwx9r6tzhShQEbEZ+bxevIrCT8UHO2bK0++hVQ=; b=tEu+lAqzy38rQN+Q1hpOLb+J6ZKNF2gGtrBBy3ze/agZ7KZC7b62nmvTvHX1j1ibYi jES6iqKV4NiXKOjEJqVMbt2rlOgYe/0ZWKHkLTM/CtmoVnCVoQtVIPuzbhdyptg2OI8D d7RZ9EO1991CVNMQ3ER84KDUftTHhE8gubfCunVrsy+1Tg/TM3+KDXY0WHjI/wz0H3YO FhN3cq3FqzvJIAWQMlamG4qtU04gtI9dAw1r6fjttHLqqB5/4DGb25i0ybxtKino6tzO 8QXIU1v1EoRS3W192sgtwYMEYVYeFtLZ5VhdtDuZDeJBxfsLEDlY0iA+LOvdgsK4soCa jpAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p187si5801626qkf.238.2017.08.30.10.01.16; Wed, 30 Aug 2017 10:01:16 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 60DEC6081E; Wed, 30 Aug 2017 17:01:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 85EEC62AE6; Wed, 30 Aug 2017 17:00:30 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 973E062B5D; Wed, 30 Aug 2017 17:00:22 +0000 (UTC) Received: from forward3j.cmail.yandex.net (forward3j.cmail.yandex.net [5.255.227.21]) by lists.linaro.org (Postfix) with ESMTPS id EB21260C4F for ; Wed, 30 Aug 2017 17:00:18 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::15:6]) by forward3j.cmail.yandex.net (Yandex) with ESMTP id 1A6E120F7A for ; Wed, 30 Aug 2017 20:00:17 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id EB1073240F47 for ; Wed, 30 Aug 2017 20:00:16 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0FLmnLYa; Wed, 30 Aug 2017 20:00:15 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 30 Aug 2017 19:59:58 +0300 Message-Id: <1504112406-3108-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 1/9] configure: enable all tests by default X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 155 (lumag:improve-build-2) ** https://github.com/Linaro/odp/pull/155 ** Patch: https://github.com/Linaro/odp/pull/155.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ Makefile.am | 8 +------- configure.ac | 6 ------ example/m4/configure.m4 | 11 ++++------- helper/m4/configure.m4 | 9 ++++----- test/common_plat/m4/miscellaneous.m4 | 9 ++++----- test/common_plat/m4/performance.m4 | 9 ++++----- test/common_plat/m4/validation.m4 | 25 +++++++------------------ test/linux-generic/m4/performance.m4 | 9 ++++----- 8 files changed, 28 insertions(+), 58 deletions(-) diff --git a/Makefile.am b/Makefile.am index e1ea07d5..7398499c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,11 +1,5 @@ ACLOCAL_AMFLAGS=-I m4 -AM_DISTCHECK_CONFIGURE_FLAGS = --enable-test-cpp \ - --enable-test-example \ - --enable-test-helper \ - --enable-test-perf \ - --enable-test-perf-proc \ - --enable-test-vald \ - --enable-user-guides \ +AM_DISTCHECK_CONFIGURE_FLAGS = --enable-user-guides \ --with-testdir #@with_platform@ works alone in subdir but not as part of a path??? diff --git a/configure.ac b/configure.ac index c1811003..c076b4cc 100644 --- a/configure.ac +++ b/configure.ac @@ -214,12 +214,6 @@ AC_SUBST([testdir]) AM_CONDITIONAL([SDK_INSTALL_PATH_], [test "x${SDK_INSTALL_PATH_}" = "x1"]) AM_CONDITIONAL([test_installdir], [test "$testdir" != ""]) AM_CONDITIONAL([cunit_support], [test x$cunit_support = xyes ]) -AM_CONDITIONAL([test_vald], [test x$test_vald = xyes ]) -AM_CONDITIONAL([test_perf], [test x$test_perf = xyes ]) -AM_CONDITIONAL([test_perf_proc], [test x$test_perf_proc = xyes ]) -AM_CONDITIONAL([test_cpp], [test x$test_cpp = xyes ]) -AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ]) -AM_CONDITIONAL([test_example], [test x$test_example = xyes ]) AM_CONDITIONAL([HAVE_DOXYGEN], [test "x${DOXYGEN}" = "xdoxygen"]) AM_CONDITIONAL([user_guide], [test "x${user_guides}" = "xyes" ]) AM_CONDITIONAL([HAVE_MSCGEN], [test "x${MSCGEN}" = "xmscgen"]) diff --git a/example/m4/configure.m4 b/example/m4/configure.m4 index 18218d05..cab7f8b8 100644 --- a/example/m4/configure.m4 +++ b/example/m4/configure.m4 @@ -1,14 +1,11 @@ ########################################################################## # Enable/disable test-example ########################################################################## -test_example=no AC_ARG_ENABLE([test-example], - [ --enable-test-example run basic test against examples], - [if test "x$enableval" = "xyes"; then - test_example=yes - else - test_example=no - fi]) + [AS_HELP_STRING([--enable-test-example], [run basic test against examples])], + [test_example=$enableval], + [test_example=yes]) +AM_CONDITIONAL([test_example], [test x$test_example = xyes ]) AC_CONFIG_FILES([example/classifier/Makefile example/generator/Makefile diff --git a/helper/m4/configure.m4 b/helper/m4/configure.m4 index 343f5e3c..2e2943d1 100644 --- a/helper/m4/configure.m4 +++ b/helper/m4/configure.m4 @@ -1,12 +1,11 @@ ########################################################################## # Enable/disable test-helper ########################################################################## -test_helper=no AC_ARG_ENABLE([test-helper], - [ --enable-test-helper run test in helper/test], - [if test "x$enableval" = "xyes"; then - test_helper=yes - fi]) + [AS_HELP_STRING([--enable-test-helper], [run test in helper/test])], + [test_helper=$enableval], + [test_helper=yes]) +AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ]) ########################################################################## # Enable/disable helper-ext diff --git a/test/common_plat/m4/miscellaneous.m4 b/test/common_plat/m4/miscellaneous.m4 index cc881edb..dac236a6 100644 --- a/test/common_plat/m4/miscellaneous.m4 +++ b/test/common_plat/m4/miscellaneous.m4 @@ -1,9 +1,8 @@ ########################################################################## # Enable/disable test-cpp ########################################################################## -test_cpp=no AC_ARG_ENABLE([test-cpp], - [ --enable-test-cpp run basic test aginast cpp], - [if test "x$enableval" = "xyes"; then - test_cpp=yes - fi]) + [AS_HELP_STRING([--disable-test-cpp], [run basic test aginast cpp])], + [test_cpp=$enableval], + [test_cpp=yes]) +AM_CONDITIONAL([test_cpp], [test x$test_cpp = xyes ]) diff --git a/test/common_plat/m4/performance.m4 b/test/common_plat/m4/performance.m4 index 1e2000d9..34270e8d 100644 --- a/test/common_plat/m4/performance.m4 +++ b/test/common_plat/m4/performance.m4 @@ -1,9 +1,8 @@ ########################################################################## # Enable/disable test-perf ########################################################################## -test_perf=no AC_ARG_ENABLE([test-perf], - [ --enable-test-perf run test in test/performance], - [if test "x$enableval" = "xyes"; then - test_perf=yes - fi]) + [AS_HELP_STRING([--enable-test-perf], [run test in test/performance])], + [test_perf=$enableval], + [test_perf=yes]) +AM_CONDITIONAL([test_perf], [test x$test_perf = xyes ]) diff --git a/test/common_plat/m4/validation.m4 b/test/common_plat/m4/validation.m4 index 67edac7a..b2a2f75d 100644 --- a/test/common_plat/m4/validation.m4 +++ b/test/common_plat/m4/validation.m4 @@ -1,30 +1,19 @@ ########################################################################## # Enable/disable Unit tests ########################################################################## -cunit_support=no -test_vald=no AC_ARG_ENABLE([test_vald], - [ --enable-test-vald run test in test/validation], - [if test x$enableval = xyes; then - test_vald=yes - cunit_support=yes - fi]) - -########################################################################## -# Enable/disable Unit tests -########################################################################## -AC_ARG_ENABLE([cunit_support], - [ --enable-cunit-support include cunit infrastructure], - [if test x$enableval = xyes; then - cunit_support=yes - fi]) + [AS_HELP_STRING([--enable-test-vald], [run test in test/validation])], + [test_vald=$enableval], + [test_vald=yes]) +AM_CONDITIONAL([test_vald], [test x$test_vald = xyes ]) ########################################################################## # Set optional CUnit path ########################################################################## +cunit_support=$test_vald AC_ARG_WITH([cunit-path], -AC_HELP_STRING([--with-cunit-path=DIR path to CUnit libs and headers], - [(or in the default path if not specified).]), +AC_HELP_STRING([--with-cunit-path=DIR], + [path to CUnit libs and headers (if not present at default path)]), [CUNIT_PATH=$withval CUNIT_CPPFLAGS="-I$CUNIT_PATH/include" CUNIT_LIBS="-L$CUNIT_PATH/lib" diff --git a/test/linux-generic/m4/performance.m4 b/test/linux-generic/m4/performance.m4 index 7f54b96d..05b3a990 100644 --- a/test/linux-generic/m4/performance.m4 +++ b/test/linux-generic/m4/performance.m4 @@ -1,9 +1,8 @@ ########################################################################## # Enable/disable test-perf-proc ########################################################################## -test_perf_proc=no AC_ARG_ENABLE([test-perf-proc], - [ --enable-test-perf-proc run test in test/performance in process mode], - [if test "x$enableval" = "xyes"; then - test_perf_proc=yes - fi]) + [AS_HELP_STRING([--enable-test-perf-proc], [run test in test/performance in process mode])], + [test_perf_proc=$enableval], + [test_perf_proc=yes]) +AM_CONDITIONAL([test_perf_proc], [test x$test_perf_proc = xyes ]) From patchwork Wed Aug 30 16:59:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111322 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1236937qge; Wed, 30 Aug 2017 10:02:16 -0700 (PDT) X-Google-Smtp-Source: ADKCNb4jUVi0kobV8Vf8iqxwlmER6I5XK8gh64pOaAr63rWIbdVytn/meyw5IWw+VfWTdb1fMIYG X-Received: by 10.55.97.73 with SMTP id v70mr11175348qkb.149.1504112535850; Wed, 30 Aug 2017 10:02:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112535; cv=none; d=google.com; s=arc-20160816; b=EcXqgmrzEGDtuB8q0H40Kwf+5WhA1TfC18On462J/C7nifmAQQ/A42x8JNlMGZucke 6yLtiH3dnLPInTmm8m1eUuYPlkABYoN96/hLq6a7Mn/pC+YMqcclmYqqrvDyhFwU+eWr VQrDb2VWwhOyO4pOpMYSaJrTgz//cnROrUxOi7vBaXfjeT7rRFKICbvhEZtVjUjjzbCe krHiz0V8SbdnH4QkVALTEyJAUE2jra6IWOzvw3B7iLfGntFkYweNgySw9Iusr0Kr97Sp i8d61A3zREimHPlYcid+3UZZakJsYR6FFOSHZwTg4HWviXw1Et6aCDagCmW/nakj4on1 42Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=fmc7rIAeniGfiJF9VjLDlE2GsYpMhqdtpdwx/HeK8Pg=; b=auVzDQKcnp3ZogvQXwjxA09wB6L+j8V560kN3gJoByKwBqsnZKCLyMcBv4f87rJ4me RCk3c+DjuHI3VLK3qQMehXTXBVVvC/IFP8elEKQqDjLek/zvtlIKvOKoJSQjzgxIXq+0 aJ0VBPxEs9rYdI5/apYQjheAY5yBB0zsQLSj1eweoUx1A+yX2LKJAtBnMhR1GLyJAHlY xsb7s0UInSfOog2C7MMeakUg/KHucUUOlfkXH4t+z0xFSpXwFjFxiukK8e+RWNngaY5M uVyJwCvQxxKa8kR/g+RxEMK5opSMg3zxHla1T43/Zx2tsqchdYFbTsA8R44wUIbM6/KB ESjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id m44si5827832qtk.192.2017.08.30.10.02.15; Wed, 30 Aug 2017 10:02:15 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 23F8062D06; Wed, 30 Aug 2017 17:02:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 087DC62C6C; Wed, 30 Aug 2017 17:00:33 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 8685F62C2D; Wed, 30 Aug 2017 17:00:24 +0000 (UTC) Received: from forward1j.cmail.yandex.net (forward1j.cmail.yandex.net [5.255.227.19]) by lists.linaro.org (Postfix) with ESMTPS id 0A2ED61E1A for ; Wed, 30 Aug 2017 17:00:20 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [5.45.198.129]) by forward1j.cmail.yandex.net (Yandex) with ESMTP id 6F1DE2179C for ; Wed, 30 Aug 2017 20:00:18 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id 23AD33240C86 for ; Wed, 30 Aug 2017 20:00:17 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0HLa2V6Q; Wed, 30 Aug 2017 20:00:17 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 30 Aug 2017 19:59:59 +0300 Message-Id: <1504112406-3108-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 2/9] configure: rework with-testdir check X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Rework with-testdir option handling to follow the rest of configure options. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 155 (lumag:improve-build-2) ** https://github.com/Linaro/odp/pull/155 ** Patch: https://github.com/Linaro/odp/pull/155.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ configure.ac | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index c076b4cc..dcf14629 100644 --- a/configure.ac +++ b/configure.ac @@ -200,19 +200,18 @@ AC_SUBST(SDK_INSTALL_PATH) # Set the install directory for test binaries/scripts ########################################################################## AC_ARG_WITH([testdir], - AC_HELP_STRING([--with-testdir=DIR installation directory for tests]), - [if test "$withval" = "yes"; then - testdir=$libdir/odp/tests - else - testdir=$withval - fi], []) + [AC_HELP_STRING([--with-testdir=DIR], [installation directory for tests])], + [testdir=$withval], + [testdir=no]) +AS_IF([test "x$testdir" = "xyes"], [testdir=$libdir/odp/tests], + [test "x$testdir" = "xno"], [testdir=]) AC_SUBST([testdir]) +AM_CONDITIONAL([test_installdir], [test "x$testdir" != "xno"]) ########################################################################## # Set conditionals as computed within platform specific files ########################################################################## AM_CONDITIONAL([SDK_INSTALL_PATH_], [test "x${SDK_INSTALL_PATH_}" = "x1"]) -AM_CONDITIONAL([test_installdir], [test "$testdir" != ""]) AM_CONDITIONAL([cunit_support], [test x$cunit_support = xyes ]) AM_CONDITIONAL([HAVE_DOXYGEN], [test "x${DOXYGEN}" = "xdoxygen"]) AM_CONDITIONAL([user_guide], [test "x${user_guides}" = "xyes" ]) From patchwork Wed Aug 30 17:00:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111326 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1242194qge; Wed, 30 Aug 2017 10:05:10 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6slZdP0kddqAihi+sLU3rQ5fW2x1/83p2ZyFWAOoyDKG523qJPA/zhmnZ8RkUmK9OkAiHH X-Received: by 10.55.159.146 with SMTP id i140mr11786771qke.7.1504112709972; Wed, 30 Aug 2017 10:05:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112709; cv=none; d=google.com; s=arc-20160816; b=QJ8sUIyJCNgoDfStHlOdAzN6LONdeGvRFlQKLMAqNIlei0Kj8ME7uw22hEs058kLQu oo3V1j4rA2de0pJxLymtY9iho5I42g5f0GqsEUjJtNuqRfXaEoBS2pBs/J+31TVHRtno vyAEZVBCiS7O2E9CwVt51fr1sjR9I9H+UO08gsITLnaEu2SDFuR99ScQ1/Mb1/S+srCj T/Btt/3rLD5n2lrC/w98cE7ROR87dDED0k4PSZsQ71yiFQqreyqLxSdq6JDpMnRi73DH 6+7qHb1kJafqT0letuHJYwcHBF3J7+y1vaa9MZ98igJ3JMCnQt7zaK9m0SvdNk8KEXjT tAEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=IwDFcrjJyY5D6q5SfIXImsAavBtWcK67XNN69k6e8jQ=; b=gCjEfY24xH3NNAdtWmxjNcjHZA/k2FGnnf0S7sUaCdBtDfOeJgW0IELFy4SAJyAu3T jm2Z8eRiUE+VghSW9hWmg1MN3VdM429U6aaU04C+3sB6xMXqbtxbnjo2p2lcviwK9lcM Urz2n/oRPZg5YNerHQGAefxZQuvOkB1+1VGHlev3BnGGk5oGOQcoxI87luUwU56ZSVbH O9FWnAtcLy3NtDlhL5tezrKIeWF69kTZfUIX2uUG8xaTXPWZVaEDbnt8imQNJHtWDF1Z klUi77gwQ9Kx9WNhjWP7oUvG8gsrHJiyHP5DlNGBx+DcaZS/peyf6AHYMFFotcl3II+p e4Xg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id v2si5793846qkv.139.2017.08.30.10.05.09; Wed, 30 Aug 2017 10:05:09 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 8C24E62C62; Wed, 30 Aug 2017 17:05:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 566ED62DA3; Wed, 30 Aug 2017 17:00:45 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 23BDE62B5D; Wed, 30 Aug 2017 17:00:29 +0000 (UTC) Received: from forward1p.cmail.yandex.net (forward1p.cmail.yandex.net [77.88.31.16]) by lists.linaro.org (Postfix) with ESMTPS id E67EB62AE6 for ; Wed, 30 Aug 2017 17:00:21 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [5.45.198.129]) by forward1p.cmail.yandex.net (Yandex) with ESMTP id B18372105C for ; Wed, 30 Aug 2017 20:00:19 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id 792EC3240F47 for ; Wed, 30 Aug 2017 20:00:18 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0IL01WWY; Wed, 30 Aug 2017 20:00:18 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 30 Aug 2017 20:00:00 +0300 Message-Id: <1504112406-3108-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 3/9] configure: enable helper-linux in distcheck options X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 155 (lumag:improve-build-2) ** https://github.com/Linaro/odp/pull/155 ** Patch: https://github.com/Linaro/odp/pull/155.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 7398499c..6c43679e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,6 @@ ACLOCAL_AMFLAGS=-I m4 AM_DISTCHECK_CONFIGURE_FLAGS = --enable-user-guides \ + --enable-helper-linux \ --with-testdir #@with_platform@ works alone in subdir but not as part of a path??? From patchwork Wed Aug 30 17:00:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111323 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1238097qge; Wed, 30 Aug 2017 10:02:54 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7P5jsdYP2+bv+dH4ifwsRJYj4UoE1j9J0LN3ctkju98LvYqFGHwYXjf5duZqh6Vl29rpnB X-Received: by 10.237.34.220 with SMTP id q28mr2953179qtc.241.1504112574885; Wed, 30 Aug 2017 10:02:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112574; cv=none; d=google.com; s=arc-20160816; b=w9RbqthCDl/FMoTs3tJ2v3DKE+3LYG9uKfM8VrlhYGtP7ZU6d4nOfKNvqRYittfj9+ kTKGcsDDOhmGaCvAjNf6xe10CL9VazhzQShdxMG3d4T1Go1R8fXSrBCUX5VwSzevR21V CD5Smw2HsHU2i59Hm6g86iJ8Bt2ijJaGvaLG2+1zHWsJYRJlKvfgThIkEeiY1G7ptbqL n6ItZByLRCGTzKIucVVRdsNXHm/XLhPjQZNDaQ+QLElESk4JvCs0lvTXQJCKD/xNWluI KmSIVh4UQRfyhQPjBlINaWrjxw+EGcyS0C8rv1xxpa9r768Dz1S/5oRTK6KLXXW/NoOH qZAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=wKt8SFn/fvnAVW+nqE46LeB4w/XFz5WrlIQLOh/Oqjk=; b=UL8I69XTzB02+WGJCDWTFGBxOgP7Kg9TPmuHoxgDR8PPsE9K+KFdLmWIM4PYt43+dI 87EL0NxYowcmmHZSQ4hOO9CxstN2sHyQy47RCURYbmjAl2+PUi4KLOS5MPMMgA0bkySK usyWtVp0Fe8GGz+JdmvTpxyWsRyZ6KkCRyWaSpy770lSD+/I8cMxOYHR7MtTUEFGcTAp jwWNiq0wsoJlULt9mignQsVpzBSwmkDPl5bWL4YB+0uh07SLlgXgMaGw99I0NBIXkQNh xgbAyJNO8ezcMEnAdpySydkjNkAT1A7GKN27nuLo1MTvkaznw+sEPkS8Br5SjEy/nvzJ VOFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id m126si5810210qkd.191.2017.08.30.10.02.54; Wed, 30 Aug 2017 10:02:54 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 5DFDC62C59; Wed, 30 Aug 2017 17:02:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 5396862C2D; Wed, 30 Aug 2017 17:00:35 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id F091960C4F; Wed, 30 Aug 2017 17:00:24 +0000 (UTC) Received: from forward3p.cmail.yandex.net (forward3p.cmail.yandex.net [77.88.31.18]) by lists.linaro.org (Postfix) with ESMTPS id 37FBE60C4F for ; Wed, 30 Aug 2017 17:00:23 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [5.45.198.129]) by forward3p.cmail.yandex.net (Yandex) with ESMTP id 2C208210D6 for ; Wed, 30 Aug 2017 20:00:21 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id EB8233240C86 for ; Wed, 30 Aug 2017 20:00:20 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0JLOBlnQ; Wed, 30 Aug 2017 20:00:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 30 Aug 2017 20:00:01 +0300 Message-Id: <1504112406-3108-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 4/9] configure: provide a way to enable all debugging options at once X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Adding --enable-debug=full to configure will enable all debugging options. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 155 (lumag:improve-build-2) ** https://github.com/Linaro/odp/pull/155 ** Patch: https://github.com/Linaro/odp/pull/155.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ configure.ac | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/configure.ac b/configure.ac index dcf14629..df0a0f61 100644 --- a/configure.ac +++ b/configure.ac @@ -239,39 +239,40 @@ DX_INIT_DOXYGEN($PACKAGE_NAME, ${builddir}/doc/driver-api-guide/output) ########################################################################## +# Enable/disable ODP_DEBUG +########################################################################## +AC_ARG_ENABLE([debug], + [AS_HELP_STRING([--enable-debug], + [include additional debugging code ] + [(set to 'full' to enable all --enable-*-debug-* options)])]) + +AS_IF([test "x$enable_debug" != "xno"], [ODP_DEBUG=1], + [ODP_DEBUG=0]) +AC_DEFINE_UNQUOTED([ODP_DEBUG], [$ODP_DEBUG], + [Define to 1 to include additional debug code]) + +########################################################################## # Enable/disable ODP_DEBUG_PRINT ########################################################################## -ODP_DEBUG_PRINT=0 AC_ARG_ENABLE([debug-print], - [ --enable-debug-print display debugging information], - [if test "x$enableval" = "xyes"; then - ODP_DEBUG_PRINT=1 - fi]) + [AS_HELP_STRING([--enable-debug-print], [display debugging information])], + [], [AS_IF([test "x$enable_debug" = "xfull"], [enable_debug_print=yes], + [enable_debug_print=no])]) +AS_IF([test "x$enable_debug_print" != "xno"], [ODP_DEBUG_PRINT=1], + [ODP_DEBUG_PRINT=0]) AC_DEFINE_UNQUOTED([ODP_DEBUG_PRINT], [$ODP_DEBUG_PRINT], [Define to 1 to display debug information]) -ODPH_DEBUG_PRINT=0 AC_ARG_ENABLE([helper-debug-print], - [ --enable-helper-debug-print display helper debugging information], - [if test "x$enableval" = "xyes"; then - ODPH_DEBUG_PRINT=1 - fi]) + [AS_HELP_STRING([--enable-helper-debug-print], [display helper debugging information])], + [], [AS_IF([test "x$enable_debug" = "xfull"], [enable_helper_debug_print=yes], + [enable_helper_debug_print=no])]) +AS_IF([test "x$enable_helper_debug_print" != "xno"], [ODPH_DEBUG_PRINT=1], + [ODPH_DEBUG_PRINT=0]) AC_DEFINE_UNQUOTED([ODPH_DEBUG_PRINT], [$ODPH_DEBUG_PRINT], [Define to 1 to display helper debug information]) ########################################################################## -# Enable/disable ODP_DEBUG -########################################################################## -ODP_DEBUG=0 -AC_ARG_ENABLE([debug], - [ --enable-debug include additional code], - [if test "x$enableval" = "xyes"; then - ODP_DEBUG=1 - fi]) -AC_DEFINE_UNQUOTED([ODP_DEBUG], [$ODP_DEBUG], - [Define to 1 to include additional debug code]) - -########################################################################## # Enable/disable ABI compatible build ########################################################################## ODP_ABI_COMPAT=1 From patchwork Wed Aug 30 17:00:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111325 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1240515qge; Wed, 30 Aug 2017 10:04:19 -0700 (PDT) X-Google-Smtp-Source: ADKCNb5KHVyE7UGH905DHR/FDNV1AcNF9ITgN1YRy4njYb2LpWLF9Ce9j9djX935jMJTwwFBZYVG X-Received: by 10.200.35.18 with SMTP id a18mr2884887qta.307.1504112658949; Wed, 30 Aug 2017 10:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112658; cv=none; d=google.com; s=arc-20160816; b=qb+fskvtNiZJIBMiU80u1EMsQj4IFXJJUn29OKLoVTX/33AYwXWmm8JdZxiHNpOQc8 zoB1D9rHr7CZ74M4oiAUOz49A4aDahPfhxYOfpDfhvaG4bhpy81r1payclYQMNxYZYrE OOsxpLM9DXUd8FuXD1ccUFMs6nCSEkqHhAp19JNee9cVeOuqZOVWe/0kPQ4AD2fuMqxb D8c7+h50nqWpOgAMB3GHeLC7oEDetBpQp4pPGadZD3fs0IN4wLRZVFnsAJ5+F9XMjwuU Ay+IHGmn84Kzy6z5j0boO84KY0dKvfN/1rQDenKC/jHQnPOLqeglbfG7yKAR7AcXkVLU HtuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=jBn4jlKwbPj2JQkoFTINMXHAijgUhu4qLseQS30QUAs=; b=JBQ4M+JXg1o3/GAOarScZe+ilpA8wByF8tPg0eA6++KXcuVSD9RgoWmLjA60MrUQwm pbQQAo5D2zjGKiIwdX6s5q+FwVgXhz/bw4uYF/vanm8posV6003gjxRhEr7ixdefPOSW 0Lk0nFbBUIBA9CHKd+WVIP19sfoZXsLvU9wkCt4gnmjpHTXEGUX0tGv4keUSuvwVtoux 18shv9s6qSm/S8Wk/mw+X4QJjVEgfRF8KTYBIXSm7DLCTk5Ae1fK270Qz5sg8tK4+lc3 ovd+DLctfhxDUQruMOwhnG9NDS4lvk/AofhHfdQkBGz76LbeEryTqEIgpWUo5F1uNXZ1 A7qA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id o53si5620408qto.221.2017.08.30.10.04.18; Wed, 30 Aug 2017 10:04:18 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 35B0D62AE8; Wed, 30 Aug 2017 17:04:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 07A2062D20; Wed, 30 Aug 2017 17:00:43 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 8A3E462C62; Wed, 30 Aug 2017 17:00:28 +0000 (UTC) Received: from forward4j.cmail.yandex.net (forward4j.cmail.yandex.net [5.255.227.22]) by lists.linaro.org (Postfix) with ESMTPS id D54D662AE8 for ; Wed, 30 Aug 2017 17:00:23 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::15:6]) by forward4j.cmail.yandex.net (Yandex) with ESMTP id 713EB20841 for ; Wed, 30 Aug 2017 20:00:22 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id 451113240D40 for ; Wed, 30 Aug 2017 20:00:21 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0LLmMs5L; Wed, 30 Aug 2017 20:00:21 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 30 Aug 2017 20:00:02 +0300 Message-Id: <1504112406-3108-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 5/9] travis: split configure commands into individual options X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Bill Fischofer Avoid long configure command lines by splitting it into individual lines for each option. This permits easy future option maintenance without running into checkpatch line length checks. Signed-off-by: Bill Fischofer --- /** Email created from pull request 155 (lumag:improve-build-2) ** https://github.com/Linaro/odp/pull/155 ** Patch: https://github.com/Linaro/odp/pull/155.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ .travis.yml | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 87 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 245ade2a..478d4200 100644 --- a/.travis.yml +++ b/.travis.yml @@ -150,7 +150,17 @@ install: script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF + - ./configure --prefix=$HOME/odp-install + --enable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-user-guides + --enable-test-perf-proc + --enable-test-example + --with-dpdk-path=`pwd`/dpdk/${TARGET} + --with-netmap-path=`pwd`/netmap + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF --enable-debug - make -j $(nproc) - mkdir /dev/shm/odp @@ -175,8 +185,15 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: "\"clang-3.8 --target=aarch64-linux-gnu\"" @@ -184,8 +201,15 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: arm-linux-gnueabihf-gcc @@ -193,8 +217,15 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: "\"clang-3.8 --target=arm-linux-gnueabihf\"" @@ -202,8 +233,15 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: powerpc-linux-gnu-gcc @@ -211,8 +249,15 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: "\"clang-3.8 --target=powerpc-linux-gnu\"" @@ -220,15 +265,34 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test env: TEST=coverage compiler: gcc script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="-O0 -coverage" --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" + - ./configure --prefix=$HOME/odp-install + --enable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-user-guides + --enable-test-perf-proc + --enable-test-example + --with-dpdk-path=`pwd`/dpdk/${TARGET} + --with-netmap-path=`pwd`/netmap CFLAGS="-O0 + -coverage" + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" --enable-debug - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" PATH=${PATH//:\.\/node_modules\/\.bin/} make check - find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy @@ -237,7 +301,15 @@ jobs: compiler: gcc script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install + --enable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-user-guides + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-cunit-path=$HOME/cunit-install/$CROSS_ARCH" - stage: test env: TEST=doxygen From patchwork Wed Aug 30 17:00:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111324 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1239373qge; Wed, 30 Aug 2017 10:03:41 -0700 (PDT) X-Google-Smtp-Source: ADKCNb574mewtmla0CViw3Vc28MsIj9wlvFERiZxfYbAi5H5K9Xojo1PlLCa8V6jRkFDn5GbLX2B X-Received: by 10.55.164.214 with SMTP id n205mr12004461qke.28.1504112621592; Wed, 30 Aug 2017 10:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112621; cv=none; d=google.com; s=arc-20160816; b=cG+Zef1bHo9zsJeHSK5OdZeoIrUM7FiK0zNfEAa+RYajf69GEIlp+b0+S2nN7QErKR OvmjcvfPJDwjU3iyifv3qNUtME7+xu1JR5xt8f4YDi0JfqdqAMsPtS7+UF95bZCX2Dgf jFvT7x7/I2x8rZL/qbR5meSpm364wH9xhHAMC70Qmr6brdC3+R+N6Ts/f7ZrgMAgx4Jk dB+jpdITqVusyXuidBb1Hrv1VzmoNXFTqzOzIQ2N/31l2dAHm2aIhUDwK4Su15MVw7Ov ibQrjhUKqyX9TnzIGSM+msc9SN7ENP5+Pla5LqKMF7Q3Z3gaJH18M40LX7Z8f4ryaql5 /wNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=ObEr9RBMYrEqU8WCbpoq+4JuP7CTU5SVjrmyDthsc0A=; b=kpc8lOH3eZkqJtv/hWQ6CSodxvutCd1IZMms0uz3HFgYhy90S91PVWjRteEgHzxXpY 0hsNrbSMQQbu2QlPL8UWpiFBzTfsaqnM7DrqpvLc3W0K3agUKUXwnn2+qhM3UEwx69tL dhbwcmRh2zeLLfyllxbYrOFyB3GVjyDn2IN5AOmgp9XlfYeBIUq0LIc/DWKehMKEv0rU +/LssV7IW7CmKno4nkxnWihR6PblGfNDDfuDuAoVyl0FvpdLan/gxzZqvSCELnXJJ2zS O3DMYTAge22cDnf1LuuSCNOke6MR3dA484JY4JIJlfo+e6UAhgSsqBc4muW60+A0BNTH OGOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id c98si1829748qkh.103.2017.08.30.10.03.41; Wed, 30 Aug 2017 10:03:41 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 4122962C2D; Wed, 30 Aug 2017 17:03:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id A89ED62D0C; Wed, 30 Aug 2017 17:00:37 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 135B362C6C; Wed, 30 Aug 2017 17:00:28 +0000 (UTC) Received: from forward5o.cmail.yandex.net (forward5o.cmail.yandex.net [37.9.109.249]) by lists.linaro.org (Postfix) with ESMTPS id C4C1961E1A for ; Wed, 30 Aug 2017 17:00:24 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [5.45.198.129]) by forward5o.cmail.yandex.net (Yandex) with ESMTP id 5B1A120CAF for ; Wed, 30 Aug 2017 20:00:23 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id 347C73240F67 for ; Wed, 30 Aug 2017 20:00:22 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0MLG82cq; Wed, 30 Aug 2017 20:00:22 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 30 Aug 2017 20:00:03 +0300 Message-Id: <1504112406-3108-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 6/9] travis: drop configure options enabled by default X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 155 (lumag:improve-build-2) ** https://github.com/Linaro/odp/pull/155 ** Patch: https://github.com/Linaro/odp/pull/155.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ .travis.yml | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) diff --git a/.travis.yml b/.travis.yml index 478d4200..bd2e3e32 100644 --- a/.travis.yml +++ b/.travis.yml @@ -151,13 +151,7 @@ install: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install - --enable-test-cpp - --enable-test-vald - --enable-test-helper - --enable-test-perf --enable-user-guides - --enable-test-perf-proc - --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF @@ -188,11 +182,6 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug --disable-test-cpp - --enable-test-vald - --enable-test-helper - --enable-test-perf - --enable-test-perf-proc - --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -204,11 +193,6 @@ jobs: - ./configure --prefix=$HOME/odp/odp-install $CROSS --enable-debug --disable-test-cpp - --enable-test-vald - --enable-test-helper - --enable-test-perf - --enable-test-perf-proc - --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -220,11 +204,6 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug --disable-test-cpp - --enable-test-vald - --enable-test-helper - --enable-test-perf - --enable-test-perf-proc - --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -236,11 +215,6 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug --disable-test-cpp - --enable-test-vald - --enable-test-helper - --enable-test-perf - --enable-test-perf-proc - --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -252,11 +226,6 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug --disable-test-cpp - --enable-test-vald - --enable-test-helper - --enable-test-perf - --enable-test-perf-proc - --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -268,11 +237,6 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug --disable-test-cpp - --enable-test-vald - --enable-test-helper - --enable-test-perf - --enable-test-perf-proc - --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -281,13 +245,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install - --enable-test-cpp - --enable-test-vald - --enable-test-helper - --enable-test-perf --enable-user-guides - --enable-test-perf-proc - --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="-O0 -coverage" @@ -302,13 +260,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install - --enable-test-cpp - --enable-test-vald - --enable-test-helper - --enable-test-perf --enable-user-guides - --enable-test-perf-proc - --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-cunit-path=$HOME/cunit-install/$CROSS_ARCH" - stage: test From patchwork Wed Aug 30 17:00:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111327 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1242877qge; Wed, 30 Aug 2017 10:05:37 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6r6h+ZAAZTKVT73jCet9nPqmoS+LYf4Qla7r2IIlI6rW+FsY9O5tDDq3S2VMW5+TPV3JRL X-Received: by 10.55.217.150 with SMTP id q22mr4059722qkl.343.1504112737353; Wed, 30 Aug 2017 10:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112737; cv=none; d=google.com; s=arc-20160816; b=MHyVKmZXErxL5JYOvN9KjhS3O62HoIJqNLpmz9FkreI0gnFnItd2Lw5jGYcVuKzvR9 6axZK7EQubb2oxe4Y1CAvLWS0EglTXCD8YEL/5S+tmpn5fc1q90tgDrjF2gYMgp8tAXi 7NxJKZhR5NNbJpG0Ce1iFtH0RqwBKWQiq2nawhbQrER00DqIgKNUIAJt5P/G26yp+o9Q 6GAlJEmyD2gTUKH+30B8h5lk4RntF6rVzodXvOL+QKtuXNrdtoPJWJnVvrb6saygRAZV nMUaVN/AEWhmhTiIM08w4l9LCnQLeWzDTLq40nVdetgjMezMBvUHTLOVrKHQhRMoK38p 2Beg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=Pxqr8Oj7YPf69BpIPHp6pgS8Fhs4GgIpinPJYbFo02U=; b=Qf7ltWJ1KUsQ6fM8dso+mD7q/VBto2wiSNdSbUbqYBIH8v+6dAXMporNmQXtYt7R+o jCS8vVymitMHbPFl9wAva406+JgOJpcZTqkqWlMebU8uLKajEuXGit5EQFhqQ7fiEg1/ 7DzpYvzvnQSx5VQodOQXuNz/L1zjUm7JhUheiKQtmOpl1kOJhU2et73x/bejzlkdq8sM hms/Ckh09CrAuzWNPCfU3fuTzPNGcx3yBwBY0M1LMpIYNL5YjzWh7VAc36i8v8Itm2NH oo+Qja7JYGEGnL+PsmvgcqVgR3vXEDAAPDUy/ceaUSv80lM/tmqqZZnBqSaX1A8ixKqA nBeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id v6si5581744qkd.109.2017.08.30.10.05.37; Wed, 30 Aug 2017 10:05:37 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 087A562CF5; Wed, 30 Aug 2017 17:05:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 921E362DF3; Wed, 30 Aug 2017 17:00:49 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id EEF9262CF5; Wed, 30 Aug 2017 17:00:34 +0000 (UTC) Received: from forward4o.cmail.yandex.net (forward4o.cmail.yandex.net [37.9.109.248]) by lists.linaro.org (Postfix) with ESMTPS id 0150960C4F for ; Wed, 30 Aug 2017 17:00:26 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [5.45.198.129]) by forward4o.cmail.yandex.net (Yandex) with ESMTP id 4E14C2103B for ; Wed, 30 Aug 2017 20:00:24 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id 19B1E3240BD5 for ; Wed, 30 Aug 2017 20:00:23 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0NLmZinD; Wed, 30 Aug 2017 20:00:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 30 Aug 2017 20:00:04 +0300 Message-Id: <1504112406-3108-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 7/9] travis: enable full debug option X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov The --enable-debug=full option allows expansion of ODP_DBG() and ODPH_DBG() debugging statements throughout ODP. Add this option to .travis.yml to ensure that these are properly tested as part of regressions. Cc: Bill Fischofer Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 155 (lumag:improve-build-2) ** https://github.com/Linaro/odp/pull/155 ** Patch: https://github.com/Linaro/odp/pull/155.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index bd2e3e32..05cddbc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -155,7 +155,7 @@ script: --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF - --enable-debug + --enable-debug=full - make -j $(nproc) - mkdir /dev/shm/odp - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check @@ -180,7 +180,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -191,7 +191,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -202,7 +202,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -213,7 +213,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -224,7 +224,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -235,7 +235,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug + --enable-debug=full --disable-test-cpp --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) @@ -251,7 +251,7 @@ jobs: -coverage" --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" - --enable-debug + --enable-debug=full - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" PATH=${PATH//:\.\/node_modules\/\.bin/} make check - find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy - stage: test From patchwork Wed Aug 30 17:00:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111328 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1244701qge; Wed, 30 Aug 2017 10:06:46 -0700 (PDT) X-Google-Smtp-Source: ADKCNb66zXyaM6QOyfIradEwCiMR0mlKnHy2YdUSq+hUPWHkYRFNNN/+lgozxWjmBzp3Af/t/LKc X-Received: by 10.55.11.140 with SMTP id 134mr12160069qkl.127.1504112806334; Wed, 30 Aug 2017 10:06:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112806; cv=none; d=google.com; s=arc-20160816; b=LzDwYsWXy1j3XVSc+T/53FDCAOJB8fSnsEx0mdnxWUU6zFcDrr9vaKyBEizZZkZAE7 RYn+Pws1gJH6hA7LcXPxMilT023OPqibP790oq6ot88IBHeKrOpOcgdMDX6Unnwo+9FE Un/Ny8oCyWenZA0AFe54NUvWrlVL7Rde+B5xpE9cRq6xZx7q9oCnFRH3/DN4JRQMK5ct 9odsMDXEURgtXGCXBAt3Hpt4IhT9tJ/fFCf9qqBWz4HySfiHTNjGK7Q6Mnp0/MjjkwJK xTu8TEvXNpZKJlSZBIwzvzjl0qStUoFDM3aHWMaZ+3H4lktlqeWWhwac4S6WUhPA5/lx GbEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=yjv6/npJGwj84t7qoMoM5umZJBgAZQV7MjUEGMMjYbE=; b=XfsJ1Hw+RVgenzj9JSqhtP6GSGSzOGePUK5FocfYTNcRXWUCXVf2dalp3Xf3TQ7IuW ItQp2JbHsU+2uu7ndTlXRTW6RKHiLOjO4Sfo1hfoM2jqgV8LqQKZ+ReaSEqJ/RT7mQTN t29iGsrf2ViGbLhSuoefaHauI+JLO+c79zu6VwpZf4jUCsqgzh06EAspvKKhz8aah7Wo KJSazm+5gAxqcqOZpzmHPJsfjxKs4xm+oGjK0GuH2GLj0TlGbtCmewIxeUdXI5dJ9jV2 GJoPeBXfI3FOeote6sbKo7jzXvrFTsEAeGRtuzh2bSuYx0C+xEIuysQmVTckR2thS0Ft lYnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 133si5839751qki.31.2017.08.30.10.06.46; Wed, 30 Aug 2017 10:06:46 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id E8B2E60C4F; Wed, 30 Aug 2017 17:06:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 8A4FB60828; Wed, 30 Aug 2017 17:01:09 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 907ED62D99; Wed, 30 Aug 2017 17:00:59 +0000 (UTC) Received: from forward3p.cmail.yandex.net (forward3p.cmail.yandex.net [77.88.31.18]) by lists.linaro.org (Postfix) with ESMTPS id 82D8462C5C for ; Wed, 30 Aug 2017 17:00:26 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::15:6]) by forward3p.cmail.yandex.net (Yandex) with ESMTP id 7EB63210FC for ; Wed, 30 Aug 2017 20:00:25 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id 56B9C3240E1D for ; Wed, 30 Aug 2017 20:00:24 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0OL058Ym; Wed, 30 Aug 2017 20:00:24 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 30 Aug 2017 20:00:05 +0300 Message-Id: <1504112406-3108-9-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 8/9] travis: add --enable-helper-linux test variants X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Bill Fischofer The ODP helper modules can explicitly expose linux variants via the --enable-helper-linux configuration option, so add that into the test options as well to ensure full coverage. [DES: just enable this option instead of adding another entry into build matrix.] Signed-off-by: Bill Fischofer Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 155 (lumag:improve-build-2) ** https://github.com/Linaro/odp/pull/155 ** Patch: https://github.com/Linaro/odp/pull/155.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 05cddbc3..45ffa396 100644 --- a/.travis.yml +++ b/.travis.yml @@ -156,6 +156,7 @@ script: --with-netmap-path=`pwd`/netmap --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF --enable-debug=full + --enable-helper-linux - make -j $(nproc) - mkdir /dev/shm/odp - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check @@ -182,6 +183,7 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -193,6 +195,7 @@ jobs: - ./configure --prefix=$HOME/odp/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -204,6 +207,7 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -215,6 +219,7 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -226,6 +231,7 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -237,6 +243,7 @@ jobs: - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full --disable-test-cpp + --enable-helper-linux --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test @@ -252,6 +259,7 @@ jobs: --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" --enable-debug=full + --enable-helper-linux - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" PATH=${PATH//:\.\/node_modules\/\.bin/} make check - find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy - stage: test From patchwork Wed Aug 30 17:00:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111329 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1245660qge; Wed, 30 Aug 2017 10:07:26 -0700 (PDT) X-Google-Smtp-Source: ADKCNb5Gna/tK2PUljLMBhqbEbeF4z+05FQ+4yCpzd+uep6sKBhXbd6RjJUDXtp1LQzJfIgdw56K X-Received: by 10.200.52.143 with SMTP id w15mr3426316qtb.52.1504112846322; Wed, 30 Aug 2017 10:07:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112846; cv=none; d=google.com; s=arc-20160816; b=Z0fGF2/hDM4mjbbRlV6wV3Wr8AQogCwSNK6hUOwkA3ZhHeDNGvJZTMRgj9c9FGRA50 AFO0Ci9g0czRO6wK80V55i4hh1fD0JUCc7ww9/Z8cjGjyBh48nsjdvzd/VQP4vasIa2T GZQbmYqnPDYzq4H7szgmERxnM/4vvL5U+i7ur7SKfCt79EYPZPoHpjYoebxxSK+awze1 6ZkQb98ix1TqN72JN3pbcmrF7vTSMhGAzh5UlTqnPjK20I4RVw1NI8Nt5FLk536yH2fv rRENM4kUj3AmBBnD4gJuT2UvtaLSfZbDYuGyXL9vR4t5tl6WWcZ3EnzeLWMl+N5+48ck /vDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=AzfOwJTSSzKrFs7f27dsDppOoDr0bUyafeBNoAFKJDs=; b=dqugoQmcBMWccVwbIBXamC6pq5hMqPF0qZmKHw7ZSrW02FYRGThWIUbiFf1FAkeqMl U0kF+sUcVVvI/NKS4Y7vicbGPEYED3KVn6FPAPCv++bPz684A+CkV5gxqrVbOGHu5LrH zBb76TWnCeq0G/idUP1ZhP+txeIlIlSN/Z3/xSVWU30Mo0N06ZbZupVK1QHhYIBESHdH W1ygX1rlbOXSbg2u2Nyx3yjXAb5mVdWJlHZ5fmGm9Err5s0v1tAe3FPqVG57Uh86uJ5e FsoV/S+7Tte51CRspFBoRfLRATNt9tqXi3r9W/pViY0vEgGhF47dRvjvwUiVRqHO9wue C6IQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id o35si5830091qte.365.2017.08.30.10.07.25; Wed, 30 Aug 2017 10:07:26 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id D4A6962D05; Wed, 30 Aug 2017 17:07:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id E78A262AE6; Wed, 30 Aug 2017 17:01:23 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 1A1526081E; Wed, 30 Aug 2017 17:01:19 +0000 (UTC) Received: from forward4o.cmail.yandex.net (forward4o.cmail.yandex.net [37.9.109.248]) by lists.linaro.org (Postfix) with ESMTPS id E2D4D62C60 for ; Wed, 30 Aug 2017 17:00:27 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [5.45.198.129]) by forward4o.cmail.yandex.net (Yandex) with ESMTP id DB3E5214D4 for ; Wed, 30 Aug 2017 20:00:26 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id B1B643240D40 for ; Wed, 30 Aug 2017 20:00:26 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0PLOtL8t; Wed, 30 Aug 2017 20:00:25 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 30 Aug 2017 20:00:06 +0300 Message-Id: <1504112406-3108-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 9/9] configure, travis: switch to pkg-config to locate CUnit X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 155 (lumag:improve-build-2) ** https://github.com/Linaro/odp/pull/155 ** Patch: https://github.com/Linaro/odp/pull/155.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ .travis.yml | 17 ++++-------- test/Makefile.inc | 2 +- test/common_plat/m4/validation.m4 | 40 +++------------------------- test/common_plat/validation/api/Makefile.inc | 2 +- test/linux-generic/Makefile.inc | 2 +- 5 files changed, 12 insertions(+), 51 deletions(-) diff --git a/.travis.yml b/.travis.yml index 45ffa396..a14974c4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -108,6 +108,7 @@ before_install: sudo make install popd fi + - export PKG_CONFIG_PATH="$HOME/cunit-install/$CROSS_ARCH/lib/pkgconfig:${PKG_CONFIG_PATH}" - find $HOME/cunit-install install: @@ -154,7 +155,7 @@ script: --enable-user-guides --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap - --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF + $CONF --enable-debug=full --enable-helper-linux - make -j $(nproc) @@ -165,10 +166,10 @@ script: - echo "Checking linking and run from install..." - pushd $HOME - echo "Dynamic link.." - - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig pkg-config --cflags --libs libodp-linux` + - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --cflags --libs libodp-linux` - LD_LIBRARY_PATH="${HOME}/odp-install/lib:$LD_LIBRARY_PATH" ./odp_hello_inst - echo "Static link.." - - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig pkg-config --cflags --libs libodp-linux --static` -static + - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --cflags --libs libodp-linux --static` -static - ./odp_hello_inst - ccache -s @@ -184,7 +185,6 @@ jobs: --enable-debug=full --disable-test-cpp --enable-helper-linux - --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: "\"clang-3.8 --target=aarch64-linux-gnu\"" @@ -196,7 +196,6 @@ jobs: --enable-debug=full --disable-test-cpp --enable-helper-linux - --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: arm-linux-gnueabihf-gcc @@ -208,7 +207,6 @@ jobs: --enable-debug=full --disable-test-cpp --enable-helper-linux - --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: "\"clang-3.8 --target=arm-linux-gnueabihf\"" @@ -220,7 +218,6 @@ jobs: --enable-debug=full --disable-test-cpp --enable-helper-linux - --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: powerpc-linux-gnu-gcc @@ -232,7 +229,6 @@ jobs: --enable-debug=full --disable-test-cpp --enable-helper-linux - --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: "\"clang-3.8 --target=powerpc-linux-gnu\"" @@ -244,7 +240,6 @@ jobs: --enable-debug=full --disable-test-cpp --enable-helper-linux - --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test env: TEST=coverage @@ -256,7 +251,6 @@ jobs: --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="-O0 -coverage" - --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" --enable-debug=full --enable-helper-linux @@ -269,8 +263,7 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install --enable-user-guides - --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-cunit-path=$HOME/cunit-install/$CROSS_ARCH" + - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck - stage: test env: TEST=doxygen compiler: gcc diff --git a/test/Makefile.inc b/test/Makefile.inc index 0fbc3c42..728868df 100644 --- a/test/Makefile.inc +++ b/test/Makefile.inc @@ -16,7 +16,7 @@ INCFLAGS = \ -I$(top_builddir)/include AM_CFLAGS += $(INCFLAGS) -AM_CPPFLAGS += $(CUNIT_CPPFLAGS) +AM_CFLAGS += $(CUNIT_CFLAGS) AM_CXXFLAGS = $(INCFLAGS) AM_LDFLAGS += -L$(LIB) diff --git a/test/common_plat/m4/validation.m4 b/test/common_plat/m4/validation.m4 index b2a2f75d..e303f8f2 100644 --- a/test/common_plat/m4/validation.m4 +++ b/test/common_plat/m4/validation.m4 @@ -8,43 +8,11 @@ AC_ARG_ENABLE([test_vald], AM_CONDITIONAL([test_vald], [test x$test_vald = xyes ]) ########################################################################## -# Set optional CUnit path -########################################################################## -cunit_support=$test_vald -AC_ARG_WITH([cunit-path], -AC_HELP_STRING([--with-cunit-path=DIR], - [path to CUnit libs and headers (if not present at default path)]), - [CUNIT_PATH=$withval - CUNIT_CPPFLAGS="-I$CUNIT_PATH/include" - CUNIT_LIBS="-L$CUNIT_PATH/lib" - cunit_support=yes],[]) - -########################################################################## -# Save and set temporary compilation flags -########################################################################## -OLD_LIBS=$LIBS -OLD_CPPFLAGS=$CPPFLAGS -LIBS="$CUNIT_LIBS $LIBS" -CPPFLAGS="$CUNIT_CPPFLAGS $CPPFLAGS" - -########################################################################## # Check for CUnit availability ########################################################################## -if test x$cunit_support = xyes -then - AC_CHECK_LIB([cunit],[CU_get_error], [CUNIT_LIBS="$CUNIT_LIBS -lcunit"], - [AC_MSG_ERROR([CUnit libraries required])]) - AC_CHECK_HEADERS([CUnit/Basic.h], [], - [AC_MSG_FAILURE(["can't find cunit headers"])]) -else - cunit_support=no -fi +cunit_support=$test_vald +AS_IF([test "x$cunit_support" = "xyes"], + [PKG_CHECK_MODULES([CUNIT], [cunit])]) -AC_SUBST([CUNIT_CPPFLAGS]) +AC_SUBST([CUNIT_CFLAGS]) AC_SUBST([CUNIT_LIBS]) - -########################################################################## -# Restore old saved variables -########################################################################## -LIBS=$OLD_LIBS -CPPFLAGS=$OLD_CPPFLAGS diff --git a/test/common_plat/validation/api/Makefile.inc b/test/common_plat/validation/api/Makefile.inc index 767526ed..a9448b17 100644 --- a/test/common_plat/validation/api/Makefile.inc +++ b/test/common_plat/validation/api/Makefile.inc @@ -6,7 +6,7 @@ AM_CFLAGS += -I$(top_srcdir)/test/common_plat/common AM_LDFLAGS += -static AM_LDFLAGS += $(DPDK_PMDS) -AM_CPPFLAGS += $(CUNIT_CPPFLAGS) +AM_CFLAGS += $(CUNIT_PFLAGS) LIBCUNIT_COMMON = $(COMMON_DIR)/libcunit_common.la LIBCPUMASK_COMMON = $(COMMON_DIR)/libcpumask_common.la diff --git a/test/linux-generic/Makefile.inc b/test/linux-generic/Makefile.inc index 30b56e26..ff99fbc9 100644 --- a/test/linux-generic/Makefile.inc +++ b/test/linux-generic/Makefile.inc @@ -4,7 +4,7 @@ AM_LDFLAGS += -static -AM_CPPFLAGS += $(CUNIT_CPPFLAGS) +AM_CFLAGS += $(CUNIT_CFLAGS) LIBCUNIT_COMMON = $(top_builddir)/test/common_plat/common/libcunit_common.la LIB = $(top_builddir)/lib