From patchwork Tue Aug 22 09:59:45 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: 110624 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2446416qge; Tue, 22 Aug 2017 03:01:40 -0700 (PDT) X-Received: by 10.55.46.196 with SMTP id u187mr142287qkh.156.1503396100601; Tue, 22 Aug 2017 03:01:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396100; cv=none; d=google.com; s=arc-20160816; b=b+PEOML/S2asIeAmZOeXVaEciVK9Khxcpwgm449JtLvECyVYEc1S6IkaelttvJprsn wFXbZcjbqbXiDF6798omb/s5mokJb8aGFR9I/9FkVYDmX/r2qTLiOte/81hZtM5jqEVj DNUlL10pWxvSf7aFxxjvKbCPpUV3cpsxlaWlOXYgNBDZdOgrkQVyXHSETbQNifVV+J3z 2Rbz7FL+Gh5gvDrNoyujb13t3syzAMEheQcFw+6bHolJsjRs17YPdAP//RXRQm27ontX ETEaIFJuo0Rh1VsM6qjdinpRVH0hyZ5MWUdhBjHM/ka9LpRtzvRdYxJxeXhJF+wWEQD0 ngJg== 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=RY+M+dAaAn788ewIrYPtvBL1MYYDQpu5rrXnoukWNTU=; b=vBsf+NEGIMI5utU3+IDTveRgGp5aW6lz4wRvoRwh4PF5Til/dt9GIccT3sW4jmJAzZ 6frGcoJ9Em7PyduR7BmTfvrI1Hl6j0BZMys2ebplmjYtovISHiyAuvvU6uy0FxSWVKaV GzGQ2jLNNsMrDbaat7kTQ4IHrTUcG075LxNaevavqhlpn9+dkBc1dQt1BSxWB8aE9QWn 67nXn11xidrT0TYCTCooDzGwj+CvfOh0ZpQN7eOZ3VcdUBzRuNR59Tti8mn4j8iHv57w Ye5ZiQvb2jyQwW9Lk/Fo04TqvmlGSAdL/ZXfet47dyqeFbPRoISdQ/YWKXZ7EiTux9PF 6XlA== 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 o27si84474qtf.381.2017.08.22.03.01.40; Tue, 22 Aug 2017 03:01:40 -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 326A165BE9; Tue, 22 Aug 2017 10:01:40 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 F07C5658CC; Tue, 22 Aug 2017 10:00:28 +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 4045A64473; Tue, 22 Aug 2017 10:00:18 +0000 (UTC) Received: from forward106o.mail.yandex.net (forward106o.mail.yandex.net [37.140.190.187]) by lists.linaro.org (Postfix) with ESMTPS id 4864B60C0B for ; Tue, 22 Aug 2017 10:00:16 +0000 (UTC) Received: from mxback15g.mail.yandex.net (mxback15g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:94]) by forward106o.mail.yandex.net (Yandex) with ESMTP id C129778460F for ; Tue, 22 Aug 2017 13:00:14 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback15g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id W8Q3WYbEEz-0EVK3290; Tue, 22 Aug 2017 13:00:14 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0Ef8SMon; Tue, 22 Aug 2017 13:00:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:45 +0300 Message-Id: <1503396009-8350-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 1/25] configure: move configure header to include dir 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 It does not make sense to have config.h just in helper tree. It should be also used by the rest of the code. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ .gitignore | 3 +++ configure.ac | 4 ++-- helper/.gitignore | 3 --- 3 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 helper/.gitignore diff --git a/.gitignore b/.gitignore index cce24282..1652a814 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,9 @@ depcomp doc/output dpdk/ install-sh +include/config.h.in +include/config.h +include/stamp-h1 lib/ libtool ltmain.sh diff --git a/configure.ac b/configure.ac index 51dd9352..8791905b 100644 --- a/configure.ac +++ b/configure.ac @@ -20,8 +20,8 @@ AC_CONFIG_FILES([include/odp/api/spec/version.h include/odp/api/spec/deprecated.h]) AM_INIT_AUTOMAKE([1.9 tar-pax subdir-objects]) -AC_CONFIG_SRCDIR([helper/config.h.in]) -AM_CONFIG_HEADER([helper/config.h]) +AC_CONFIG_SRCDIR([include/odp/api/spec/init.h]) +AM_CONFIG_HEADER([include/config.h]) AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE diff --git a/helper/.gitignore b/helper/.gitignore deleted file mode 100644 index f282c157..00000000 --- a/helper/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -config.h.in -config.h -stamp-h1 From patchwork Tue Aug 22 09:59:46 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: 110625 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2447649qge; Tue, 22 Aug 2017 03:02:31 -0700 (PDT) X-Received: by 10.55.33.225 with SMTP id f94mr121036qki.292.1503396151285; Tue, 22 Aug 2017 03:02:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396151; cv=none; d=google.com; s=arc-20160816; b=WXHynfFn9SfuE5FMrYUc/dW6+dN/3sw/swLt2YNOYwcqdhejZIFXLPpyvwOIMevwRD cYIewz21gO0e3RPe7S1u1n61BGpJ0LLKULFiwNjruKPqoTzP4ZIlTqxRanaw5kdS/tvm a+N6sLixQZdBHC9oe+sF9QB6sJbZf0Wt0gRf91WlPoQS5RjLMGZyITTzxKZcOkfs+MxJ E5XUDqPV2cdMlGcXDiOJvA0bvqgf98sJF8J73fIWNYNMoM+W9F9EIstmtjGEkFvzuM8g XjHZ3aQvOB+Z+VdghjCP2s+V7B0iwzzsbdiF4m4obptCPgqhhDdoobQdeljInSB+cPpF uh3Q== 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=UNKhtJAs7g7dm6lk+WLTxIbgYy7WB2NJ8taOv903i6c=; b=y/2TlXmeXR+wQoTNRlhCBMRXGs18DkXNHaFzOotma7edyE7rIg9D72slhWTV+h6zQy 2pFylwbEkJhwkisIC95FirwoE79gJuEZ5YDmwT1V8OFTTEpYqW64pw6V8I3CzatIrVbY 7sUYtu61WvlsIRfp2rsQ58/a0t5vgtxiHxpDqXethdjbBv6RtlOvqGQBaVIAvk5fEL0e F96ipmWGJ5IIvSxTcDioDcMQPog+2erYgz61BPRbfFkwZUJ7zGtYoR26S4oxd1p9ZaQv tdkB+rMyCJYKUSmyRiYrFof8HwfBh0W2qSG9WSw37Tvc7GB+lTcIO5WpnX0OdkY+ry/K vUzQ== 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 z189si3950585qkc.344.2017.08.22.03.02.30; Tue, 22 Aug 2017 03:02:31 -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 D27F165BBF; Tue, 22 Aug 2017 10:02:30 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 8023E65BC0; Tue, 22 Aug 2017 10:00:32 +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 EC1A364474; Tue, 22 Aug 2017 10:00:19 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 6B9F564462 for ; Tue, 22 Aug 2017 10:00:17 +0000 (UTC) Received: from mxback3j.mail.yandex.net (mxback3j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10c]) by forward104p.mail.yandex.net (Yandex) with ESMTP id BA0B8184AF9 for ; Tue, 22 Aug 2017 13:00:15 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback3j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id jEaoirnihl-0FD0gC5r; Tue, 22 Aug 2017 13:00:15 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0EfqbkGr; Tue, 22 Aug 2017 13:00:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:46 +0300 Message-Id: <1503396009-8350-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 2/25] linux-gen: pktio: ethtool: add void pointer type casts 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 It makes sense to convert ifr_data to void pointer, since exact type is implementation-defined. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/pktio/ethtool.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/linux-generic/pktio/ethtool.c b/platform/linux-generic/pktio/ethtool.c index d8f9e12c..482af5b6 100644 --- a/platform/linux-generic/pktio/ethtool.c +++ b/platform/linux-generic/pktio/ethtool.c @@ -30,13 +30,13 @@ static struct ethtool_gstrings *get_stringset(int fd, struct ifreq *ifr) sset_info.hdr.cmd = ETHTOOL_GSSET_INFO; sset_info.hdr.reserved = 0; sset_info.hdr.sset_mask = 1ULL << ETH_SS_STATS; - ifr->ifr_data = &sset_info; + ifr->ifr_data = (void *)&sset_info; if (ioctl(fd, SIOCETHTOOL, ifr) == 0) { len = sset_info.hdr.sset_mask ? sset_info.hdr.data[0] : 0; } else if (errno == EOPNOTSUPP && drvinfo_offset != 0) { /* Fallback for old kernel versions */ drvinfo.cmd = ETHTOOL_GDRVINFO; - ifr->ifr_data = &drvinfo; + ifr->ifr_data = (void *)&drvinfo; if (ioctl(fd, SIOCETHTOOL, ifr)) { __odp_errno = errno; ODP_ERR("Cannot get stats information\n"); @@ -62,7 +62,7 @@ static struct ethtool_gstrings *get_stringset(int fd, struct ifreq *ifr) strings->cmd = ETHTOOL_GSTRINGS; strings->string_set = ETH_SS_STATS; strings->len = len; - ifr->ifr_data = strings; + ifr->ifr_data = (void *)strings; if (ioctl(fd, SIOCETHTOOL, ifr)) { __odp_errno = errno; ODP_ERR("Cannot get stats information\n"); @@ -101,7 +101,7 @@ static int ethtool_stats(int fd, struct ifreq *ifr, odp_pktio_stats_t *stats) estats->cmd = ETHTOOL_GSTATS; estats->n_stats = n_stats; - ifr->ifr_data = estats; + ifr->ifr_data = (void *)estats; err = ioctl(fd, SIOCETHTOOL, ifr); if (err < 0) { __odp_errno = errno; From patchwork Tue Aug 22 09:59:47 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: 110626 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2448745qge; Tue, 22 Aug 2017 03:03:21 -0700 (PDT) X-Received: by 10.237.37.196 with SMTP id y4mr127246qtc.67.1503396201360; Tue, 22 Aug 2017 03:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396201; cv=none; d=google.com; s=arc-20160816; b=Ns3NryI7ClXHHfvPt8paTvoEXuy4rKIYeOOE/NOy4VZgCP+LS5stNFPOA/7asO9w+0 lgEKY4oRNszaHXfX/4qLSU8ilLd2IwYBjKODyDirpc1ML4R9o3Skm2KFZN1FnlAYD/I4 CaxSeoGiXzIAb0PieASG05YmIPxgAwjIcbdg0mxEVQIin2lnR0XEs9Ii/7n4h+Q/xCTO IPhsY88lBEwwjxXO5MzIMfslZphUyWnh4+/+4+tP1ssL99W3of69xtgDU5N6CwI+z6Rh W2mFeCmXAUpdonPVEGKavakznO8xWA158UdT9LcMB1bA46AgAA2MmPXV31y/4BpWZ1dn oNXw== 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=yGqxTAxZamu0GZlQuwe7HQNPQjDmLcsNk1wKh5NyNcw=; b=xpSNq7F8gdBb4TOkhhKRBsmRd4py/UzZ/UPJ3lQRIjXZv0jA9ieIhOEYneujn6GcyA Ti8FqI/E8ImZRPlr5YrgLmcRF9yw0cR7feHi87u+TxniR7OTJgiH9dsa8gePZ+y9ePmP 6+gWtnkem80avF+NBfLlTVP5ESYoTv47Aizd1ApKVKit+7Xt6/ZK3WiFjjWZxH1aj/c9 oVyP7VeZDjGaIj8Te5UVA0IciniEQDGry2/msoxxafQxJZwcVirSFUNf8OgfPePuQfax Z7nmm4TXB69gnE2OblI1zYzlYpwXJBd414MvbIFVX8ykS35KJy9eylGXcfMmG8YECkkt HZIg== 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 y4si13011387qke.365.2017.08.22.03.03.21; Tue, 22 Aug 2017 03:03:21 -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 05EBF65C44; Tue, 22 Aug 2017 10:03:21 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 BDEAC65BCE; Tue, 22 Aug 2017 10:00:34 +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 6DCB6644EA; Tue, 22 Aug 2017 10:00:24 +0000 (UTC) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [77.88.28.109]) by lists.linaro.org (Postfix) with ESMTPS id 072E162ED2 for ; Tue, 22 Aug 2017 10:00:18 +0000 (UTC) Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:163]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 4C8452D82F46 for ; Tue, 22 Aug 2017 13:00:16 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback2g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id KROrDZzw3E-0GjuP54u; Tue, 22 Aug 2017 13:00:16 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0Ffe32Ln; Tue, 22 Aug 2017 13:00:15 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:47 +0300 Message-Id: <1503396009-8350-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 3/25] linux-gen: tm: do not redefine _GNU_SOURCE 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 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/odp_traffic_mngr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/odp_traffic_mngr.c b/platform/linux-generic/odp_traffic_mngr.c index 53e10471..923f75a2 100644 --- a/platform/linux-generic/odp_traffic_mngr.c +++ b/platform/linux-generic/odp_traffic_mngr.c @@ -6,7 +6,9 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include #include From patchwork Tue Aug 22 09:59:48 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: 110629 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5095092obb; Tue, 22 Aug 2017 03:06:04 -0700 (PDT) X-Received: by 10.200.56.129 with SMTP id f1mr114481qtc.73.1503396238477; Tue, 22 Aug 2017 03:03:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396238; cv=none; d=google.com; s=arc-20160816; b=LZ4QmsqUeSbvW8fRLMI87L6bPSjQHlRl5oKJO8uaFTFpwwXrd7aAE7Eb/nWWCcvNgt PXIs0McBak8WCeNjnKcP5sjy1wXAes5mZbF+I4snOcKd6OiHka66NBU/FsCoctsGdT5f SBnybJSPAlJvnGw03dHaeYYze1jI5Y43qTZRIIhmDqfkQTm0M+2dceB8KeNTAUOgJAZY Pni9bnzQmmM8+KHXTF5bxpG3X6Jz82MFtF50fzM2rM0BVvnaJHJkWt0aRH73WOYcUci7 h2RgckCRxZOtFyjfG7UlhUQAP6KvRbLoFc0Aj4ttuJf2zsE1JRE1K1AyN9QiTUOz5Tl2 aOmw== 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=4vjVM5Mi455ZYm9fiydwviq6bJSfMhYE+rNRm1xvNqg=; b=s+J6oIf56m74ivqyogwPdyUYp1joJuLwQyvpT6vcUla9NS1v7cAn8zgOqAlc1qEwvh u3TskapxSyWzaaPSz9W2E9H4BEau6dk2SSaAH8rd2HqY4h4msx6ES4bGQDbHQsrKlWe+ uyq1pqO5Br8qws4u3gMJgdQ2X7dBmPSvzrZw8ZbQLjgNbmlbfkaUypWOFrWTkAlVOrBw GrI6cglMMR3K45DqLjOqSpD0uFzAudqt7Dl+LkRbtEySjtz1V6EUyGFHv8MobcOc+uPn a1Fvd6Jbi3X+FE6ogUc6wa8Gi930xPe7TA49gMcwlUoMHclMQLSvVL7h6s1w913tyYc/ JqAw== 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 g204si12926015qkb.337.2017.08.22.03.03.58; Tue, 22 Aug 2017 03:03:58 -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 1CB06636AA; Tue, 22 Aug 2017 10:03:58 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 1D6E465BBD; Tue, 22 Aug 2017 10:00:44 +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 D2891644EA; Tue, 22 Aug 2017 10:00:24 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id 8488E60C0B for ; Tue, 22 Aug 2017 10:00:18 +0000 (UTC) Received: from mxback3g.mail.yandex.net (mxback3g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:164]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 281DF5D82814 for ; Tue, 22 Aug 2017 13:00:17 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback3g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id x9jUHuIH85-0GRa8j50; Tue, 22 Aug 2017 13:00:17 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0GfqYWek; Tue, 22 Aug 2017 13:00:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:48 +0300 Message-Id: <1503396009-8350-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 4/25] linux-gen: pktio: ethtool: don't include linux/if.h 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 net/if.h together with _USE_MISC (from _GNU_SOURCE) includes necessary definitions, so no point in including platform-specific linux/if.h. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/pktio/ethtool.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/pktio/ethtool.c b/platform/linux-generic/pktio/ethtool.c index 482af5b6..8f3c7e69 100644 --- a/platform/linux-generic/pktio/ethtool.c +++ b/platform/linux-generic/pktio/ethtool.c @@ -4,10 +4,12 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #include #include #include -#include #include #include #include From patchwork Tue Aug 22 09:59:49 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: 110628 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5094632obb; Tue, 22 Aug 2017 03:05:32 -0700 (PDT) X-Received: by 10.237.61.59 with SMTP id g56mr117013qtf.291.1503396332712; Tue, 22 Aug 2017 03:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396332; cv=none; d=google.com; s=arc-20160816; b=nFiVFRxwo3cotx6qYv/3uYu0YPGprDjfm06jLaoSyH+aWV1fXb09KDB4InfO5CXEGq hP7VtucHTgwB2mntBq+ITDerJEejjI4UMXcNbBGfPVmIHxLrX4nC/JipTM05Vrhb8DWw kJYNPRX4ak0Uz14qU+SqwAAksPiaEXHzRmw0y4DrlPru5aMmB7aNZ+jSXbqBu/j4Tkyi zUEw8IJoegEsrv0uC9u9rmUXceMfyITx4/j7qVJGkIciqRA+Aaze6TEhh4afWfiY72uU nRNdVPp/8ogKT2Nn9XZBdouKCmXEwTdVtDKXfBT2KRLbH0zexHhQwvz5+cD5O7jNZE36 uZAA== 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=ffFSMKcYbqpJa0qcXhCTHDGv+p/nVSJ6h10ZH9i4J3s=; b=tPpR5pskBwzhtD3hkfR8Uw8nI7H/bW4hikSd+Rg5Qeleg7u5j1a7v7nWKP5At6qUi+ U4ozRPQErF6gSsA1K4uvJ5q5kBMajyIKhM5526l+veQe11CBOgcElrC0p4Nugx5SlScO nQ0+BSkNzd1b136wKhKHb0tWMFbRWMkGRb86LoCRhdShED6ax7yoRLUZfinxGUeKzu1C NCmQkZPT71VWvEX9vFZ/ALVZYey2cCJF+cB4Jz/JKUtw7gPe67pOfel8WeLNYJA+F51m 1CYATfu1sbcnGiqfTjFbtDFkh5pn5i9/i/VnVy/2Ap0gGDTk9nBkDgtKKMgsFcqbtyrt cucA== 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 49si13411760qtq.306.2017.08.22.03.05.32; Tue, 22 Aug 2017 03:05:32 -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 3B9E665BD3; Tue, 22 Aug 2017 10:05:32 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 C08C060905; Tue, 22 Aug 2017 10:01:03 +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 F0E4C65BB7; Tue, 22 Aug 2017 10:00:28 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id 6D8256446B for ; Tue, 22 Aug 2017 10:00:19 +0000 (UTC) Received: from mxback8o.mail.yandex.net (mxback8o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::22]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 1904B6A837F3 for ; Tue, 22 Aug 2017 13:00:18 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback8o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id qk5C1mnmBY-0IXKBEVe; Tue, 22 Aug 2017 13:00:18 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0Hfe1ode; Tue, 22 Aug 2017 13:00:17 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:49 +0300 Message-Id: <1503396009-8350-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 5/25] linux-gen: use config.h header 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 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/_fdserver.c | 2 ++ platform/linux-generic/_ishm.c | 2 ++ platform/linux-generic/_ishmphy.c | 2 ++ platform/linux-generic/arch/arm/odp_cpu_arch.c | 2 ++ platform/linux-generic/arch/arm/odp_sysinfo_parse.c | 2 ++ platform/linux-generic/arch/default/odp_cpu_arch.c | 2 ++ platform/linux-generic/arch/default/odp_sysinfo_parse.c | 2 ++ platform/linux-generic/arch/mips64/odp_cpu_arch.c | 2 ++ platform/linux-generic/arch/mips64/odp_sysinfo_parse.c | 2 ++ platform/linux-generic/arch/powerpc/odp_cpu_arch.c | 2 ++ platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c | 2 ++ platform/linux-generic/arch/x86/cpu_flags.c | 2 ++ platform/linux-generic/arch/x86/odp_cpu_arch.c | 2 ++ platform/linux-generic/arch/x86/odp_sysinfo_parse.c | 2 ++ platform/linux-generic/odp_atomic.c | 2 ++ platform/linux-generic/odp_barrier.c | 2 ++ platform/linux-generic/odp_bitmap.c | 2 ++ platform/linux-generic/odp_buffer.c | 2 ++ platform/linux-generic/odp_byteorder.c | 2 ++ platform/linux-generic/odp_classification.c | 2 ++ platform/linux-generic/odp_cpu.c | 2 ++ platform/linux-generic/odp_cpumask.c | 2 ++ platform/linux-generic/odp_cpumask_task.c | 2 ++ platform/linux-generic/odp_crypto.c | 2 ++ platform/linux-generic/odp_errno.c | 2 ++ platform/linux-generic/odp_event.c | 2 ++ platform/linux-generic/odp_hash.c | 2 ++ platform/linux-generic/odp_impl.c | 2 ++ platform/linux-generic/odp_init.c | 3 +++ platform/linux-generic/odp_name_table.c | 2 ++ platform/linux-generic/odp_packet.c | 2 ++ platform/linux-generic/odp_packet_flags.c | 2 ++ platform/linux-generic/odp_packet_io.c | 3 +++ platform/linux-generic/odp_pkt_queue.c | 2 ++ platform/linux-generic/odp_pool.c | 2 ++ platform/linux-generic/odp_queue.c | 2 ++ platform/linux-generic/odp_queue_if.c | 2 ++ platform/linux-generic/odp_rwlock.c | 2 ++ platform/linux-generic/odp_rwlock_recursive.c | 2 ++ platform/linux-generic/odp_schedule.c | 2 ++ platform/linux-generic/odp_schedule_if.c | 2 ++ platform/linux-generic/odp_schedule_iquery.c | 2 ++ platform/linux-generic/odp_schedule_sp.c | 2 ++ platform/linux-generic/odp_shared_memory.c | 2 ++ platform/linux-generic/odp_sorted_list.c | 2 ++ platform/linux-generic/odp_spinlock.c | 2 ++ platform/linux-generic/odp_spinlock_recursive.c | 2 ++ platform/linux-generic/odp_std_clib.c | 2 ++ platform/linux-generic/odp_sync.c | 2 ++ platform/linux-generic/odp_system_info.c | 2 ++ platform/linux-generic/odp_thread.c | 2 ++ platform/linux-generic/odp_thrmask.c | 2 ++ platform/linux-generic/odp_ticketlock.c | 2 ++ platform/linux-generic/odp_time.c | 2 ++ platform/linux-generic/odp_timer.c | 2 ++ platform/linux-generic/odp_timer_wheel.c | 2 ++ platform/linux-generic/odp_traffic_mngr.c | 2 ++ platform/linux-generic/odp_version.c | 2 ++ platform/linux-generic/odp_weak.c | 2 ++ platform/linux-generic/pktio/dpdk.c | 2 ++ platform/linux-generic/pktio/ethtool.c | 2 ++ platform/linux-generic/pktio/io_ops.c | 2 ++ platform/linux-generic/pktio/ipc.c | 3 +++ platform/linux-generic/pktio/loop.c | 2 ++ platform/linux-generic/pktio/netmap.c | 2 ++ platform/linux-generic/pktio/pcap.c | 2 ++ platform/linux-generic/pktio/pktio_common.c | 2 ++ platform/linux-generic/pktio/ring.c | 2 ++ platform/linux-generic/pktio/socket.c | 2 ++ platform/linux-generic/pktio/socket_mmap.c | 2 ++ platform/linux-generic/pktio/sysfs.c | 2 ++ platform/linux-generic/pktio/tap.c | 2 ++ 72 files changed, 147 insertions(+) diff --git a/platform/linux-generic/_fdserver.c b/platform/linux-generic/_fdserver.c index d1b16f62..d15ddbec 100644 --- a/platform/linux-generic/_fdserver.c +++ b/platform/linux-generic/_fdserver.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /* * This file implements a file descriptor sharing server enabling * sharing of file descriptors between processes, regardless of fork time. diff --git a/platform/linux-generic/_ishm.c b/platform/linux-generic/_ishm.c index 892e889b..82465bc5 100644 --- a/platform/linux-generic/_ishm.c +++ b/platform/linux-generic/_ishm.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /* This file handles the internal shared memory: internal shared memory * is memory which is sharable by all ODP threads regardless of how the * ODP thread is implemented (pthread or process) and regardless of fork() diff --git a/platform/linux-generic/_ishmphy.c b/platform/linux-generic/_ishmphy.c index d519af60..76ec5728 100644 --- a/platform/linux-generic/_ishmphy.c +++ b/platform/linux-generic/_ishmphy.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /* * This file handles the lower end of the ishm memory allocator: * It performs the physical mappings. diff --git a/platform/linux-generic/arch/arm/odp_cpu_arch.c b/platform/linux-generic/arch/arm/odp_cpu_arch.c index 28ee508b..6622e619 100644 --- a/platform/linux-generic/arch/arm/odp_cpu_arch.c +++ b/platform/linux-generic/arch/arm/odp_cpu_arch.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/arch/arm/odp_sysinfo_parse.c b/platform/linux-generic/arch/arm/odp_sysinfo_parse.c index 8ae2022a..1e9db418 100644 --- a/platform/linux-generic/arch/arm/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/arm/odp_sysinfo_parse.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/arch/default/odp_cpu_arch.c b/platform/linux-generic/arch/default/odp_cpu_arch.c index c31f9084..fab351fe 100644 --- a/platform/linux-generic/arch/default/odp_cpu_arch.c +++ b/platform/linux-generic/arch/default/odp_cpu_arch.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/arch/default/odp_sysinfo_parse.c b/platform/linux-generic/arch/default/odp_sysinfo_parse.c index 8ae2022a..1e9db418 100644 --- a/platform/linux-generic/arch/default/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/default/odp_sysinfo_parse.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/arch/mips64/odp_cpu_arch.c b/platform/linux-generic/arch/mips64/odp_cpu_arch.c index f7eafa0f..143867ea 100644 --- a/platform/linux-generic/arch/mips64/odp_cpu_arch.c +++ b/platform/linux-generic/arch/mips64/odp_cpu_arch.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c b/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c index d6f75f28..2a37ae70 100644 --- a/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/mips64/odp_sysinfo_parse.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/arch/powerpc/odp_cpu_arch.c b/platform/linux-generic/arch/powerpc/odp_cpu_arch.c index c31f9084..fab351fe 100644 --- a/platform/linux-generic/arch/powerpc/odp_cpu_arch.c +++ b/platform/linux-generic/arch/powerpc/odp_cpu_arch.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c b/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c index bd4b9b42..29c97613 100644 --- a/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/powerpc/odp_sysinfo_parse.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/arch/x86/cpu_flags.c b/platform/linux-generic/arch/x86/cpu_flags.c index a492a35b..690a084e 100644 --- a/platform/linux-generic/arch/x86/cpu_flags.c +++ b/platform/linux-generic/arch/x86/cpu_flags.c @@ -37,6 +37,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/arch/x86/odp_cpu_arch.c b/platform/linux-generic/arch/x86/odp_cpu_arch.c index b1da428b..50fbbac6 100644 --- a/platform/linux-generic/arch/x86/odp_cpu_arch.c +++ b/platform/linux-generic/arch/x86/odp_cpu_arch.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c index d77165a4..f4a90ecd 100644 --- a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_atomic.c b/platform/linux-generic/odp_atomic.c index 0e40cda5..53123b67 100644 --- a/platform/linux-generic/odp_atomic.c +++ b/platform/linux-generic/odp_atomic.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_barrier.c b/platform/linux-generic/odp_barrier.c index a2c62676..5eb354de 100644 --- a/platform/linux-generic/odp_barrier.c +++ b/platform/linux-generic/odp_barrier.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_bitmap.c b/platform/linux-generic/odp_bitmap.c index a29b9ef2..b43c8fb9 100644 --- a/platform/linux-generic/odp_bitmap.c +++ b/platform/linux-generic/odp_bitmap.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_buffer.c b/platform/linux-generic/odp_buffer.c index 9c7dc1f5..1b148489 100644 --- a/platform/linux-generic/odp_buffer.c +++ b/platform/linux-generic/odp_buffer.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_byteorder.c b/platform/linux-generic/odp_byteorder.c index a344c53f..a3d1f981 100644 --- a/platform/linux-generic/odp_byteorder.c +++ b/platform/linux-generic/odp_byteorder.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c index 5e9173dc..3dabb387 100644 --- a/platform/linux-generic/odp_classification.c +++ b/platform/linux-generic/odp_classification.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_cpu.c b/platform/linux-generic/odp_cpu.c index 282defd4..d208331d 100644 --- a/platform/linux-generic/odp_cpu.c +++ b/platform/linux-generic/odp_cpu.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/odp_cpumask.c b/platform/linux-generic/odp_cpumask.c index 64559a6d..ed5cb432 100644 --- a/platform/linux-generic/odp_cpumask.c +++ b/platform/linux-generic/odp_cpumask.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/odp_cpumask_task.c b/platform/linux-generic/odp_cpumask_task.c index 10885ce6..d05ae6d0 100644 --- a/platform/linux-generic/odp_cpumask_task.c +++ b/platform/linux-generic/odp_cpumask_task.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index ab42132a..563e919e 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_errno.c b/platform/linux-generic/odp_errno.c index 408a4b95..57726d17 100644 --- a/platform/linux-generic/odp_errno.c +++ b/platform/linux-generic/odp_errno.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_event.c b/platform/linux-generic/odp_event.c index d71f4464..c6e7bb45 100644 --- a/platform/linux-generic/odp_event.c +++ b/platform/linux-generic/odp_event.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_hash.c b/platform/linux-generic/odp_hash.c index 55876c33..4c7c83e8 100644 --- a/platform/linux-generic/odp_hash.c +++ b/platform/linux-generic/odp_hash.c @@ -37,6 +37,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/odp_impl.c b/platform/linux-generic/odp_impl.c index 3fc2d6ab..5b452fba 100644 --- a/platform/linux-generic/odp_impl.c +++ b/platform/linux-generic/odp_impl.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c index 7d029950..92a58370 100644 --- a/platform/linux-generic/odp_init.c +++ b/platform/linux-generic/odp_init.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_name_table.c b/platform/linux-generic/odp_name_table.c index b116904d..3ff46b34 100644 --- a/platform/linux-generic/odp_name_table.c +++ b/platform/linux-generic/odp_name_table.c @@ -6,6 +6,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c index f18bd4dd..1fc715ca 100644 --- a/platform/linux-generic/odp_packet.c +++ b/platform/linux-generic/odp_packet.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_packet_flags.c b/platform/linux-generic/odp_packet_flags.c index 72df1ecf..2e26ad60 100644 --- a/platform/linux-generic/odp_packet_flags.c +++ b/platform/linux-generic/odp_packet_flags.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 9419adf6..5cf94a14 100644 --- a/platform/linux-generic/odp_packet_io.c +++ b/platform/linux-generic/odp_packet_io.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include "config.h" + #include #include diff --git a/platform/linux-generic/odp_pkt_queue.c b/platform/linux-generic/odp_pkt_queue.c index f1086096..613e39dd 100644 --- a/platform/linux-generic/odp_pkt_queue.c +++ b/platform/linux-generic/odp_pkt_queue.c @@ -6,6 +6,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index 35e39f5d..34a38475 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c index 7ad346ad..d941accc 100644 --- a/platform/linux-generic/odp_queue.c +++ b/platform/linux-generic/odp_queue.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_queue_if.c b/platform/linux-generic/odp_queue_if.c index c91f00eb..5c3b863a 100644 --- a/platform/linux-generic/odp_queue_if.c +++ b/platform/linux-generic/odp_queue_if.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include extern const queue_api_t queue_default_api; diff --git a/platform/linux-generic/odp_rwlock.c b/platform/linux-generic/odp_rwlock.c index 5bef13a4..55d717e8 100644 --- a/platform/linux-generic/odp_rwlock.c +++ b/platform/linux-generic/odp_rwlock.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_rwlock_recursive.c b/platform/linux-generic/odp_rwlock_recursive.c index 6b022814..1f93df35 100644 --- a/platform/linux-generic/odp_rwlock_recursive.c +++ b/platform/linux-generic/odp_rwlock_recursive.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_schedule.c b/platform/linux-generic/odp_schedule.c index 79b21ac7..debbb74e 100644 --- a/platform/linux-generic/odp_schedule.c +++ b/platform/linux-generic/odp_schedule.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_schedule_if.c b/platform/linux-generic/odp_schedule_if.c index a9ede98d..bb99be8f 100644 --- a/platform/linux-generic/odp_schedule_if.c +++ b/platform/linux-generic/odp_schedule_if.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include extern const schedule_fn_t schedule_sp_fn; diff --git a/platform/linux-generic/odp_schedule_iquery.c b/platform/linux-generic/odp_schedule_iquery.c index c38c7c01..3702e58a 100644 --- a/platform/linux-generic/odp_schedule_iquery.c +++ b/platform/linux-generic/odp_schedule_iquery.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_schedule_sp.c b/platform/linux-generic/odp_schedule_sp.c index d2ba539c..e29c2646 100644 --- a/platform/linux-generic/odp_schedule_sp.c +++ b/platform/linux-generic/odp_schedule_sp.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_shared_memory.c b/platform/linux-generic/odp_shared_memory.c index a6faff6e..ccd25c8c 100644 --- a/platform/linux-generic/odp_shared_memory.c +++ b/platform/linux-generic/odp_shared_memory.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_sorted_list.c b/platform/linux-generic/odp_sorted_list.c index 8a1dc3ac..df604242 100644 --- a/platform/linux-generic/odp_sorted_list.c +++ b/platform/linux-generic/odp_sorted_list.c @@ -6,6 +6,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_spinlock.c b/platform/linux-generic/odp_spinlock.c index cb0f0533..8ce7b173 100644 --- a/platform/linux-generic/odp_spinlock.c +++ b/platform/linux-generic/odp_spinlock.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_spinlock_recursive.c b/platform/linux-generic/odp_spinlock_recursive.c index 5ed481c4..5293c04b 100644 --- a/platform/linux-generic/odp_spinlock_recursive.c +++ b/platform/linux-generic/odp_spinlock_recursive.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/odp_std_clib.c b/platform/linux-generic/odp_std_clib.c index 24df249d..ed7c6446 100644 --- a/platform/linux-generic/odp_std_clib.c +++ b/platform/linux-generic/odp_std_clib.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_sync.c b/platform/linux-generic/odp_sync.c index b7eb503c..7acdc92d 100644 --- a/platform/linux-generic/odp_sync.c +++ b/platform/linux-generic/odp_sync.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #if ODP_ABI_COMPAT == 1 #include diff --git a/platform/linux-generic/odp_system_info.c b/platform/linux-generic/odp_system_info.c index 40ffca07..d6eeb786 100644 --- a/platform/linux-generic/odp_system_info.c +++ b/platform/linux-generic/odp_system_info.c @@ -11,6 +11,8 @@ * All rights reserved. */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/odp_thread.c b/platform/linux-generic/odp_thread.c index 33a8a7f3..ffc247a4 100644 --- a/platform/linux-generic/odp_thread.c +++ b/platform/linux-generic/odp_thread.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/odp_thrmask.c b/platform/linux-generic/odp_thrmask.c index c176a5c6..f2144287 100644 --- a/platform/linux-generic/odp_thrmask.c +++ b/platform/linux-generic/odp_thrmask.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/odp_ticketlock.c b/platform/linux-generic/odp_ticketlock.c index f73dd9ab..0c94f8ae 100644 --- a/platform/linux-generic/odp_ticketlock.c +++ b/platform/linux-generic/odp_ticketlock.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/odp_time.c b/platform/linux-generic/odp_time.c index a831cc51..0df4682c 100644 --- a/platform/linux-generic/odp_time.c +++ b/platform/linux-generic/odp_time.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c index cf610bfa..3a8cfcdd 100644 --- a/platform/linux-generic/odp_timer.c +++ b/platform/linux-generic/odp_timer.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file * diff --git a/platform/linux-generic/odp_timer_wheel.c b/platform/linux-generic/odp_timer_wheel.c index f2c802a8..1d0640c5 100644 --- a/platform/linux-generic/odp_timer_wheel.c +++ b/platform/linux-generic/odp_timer_wheel.c @@ -6,6 +6,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/odp_traffic_mngr.c b/platform/linux-generic/odp_traffic_mngr.c index 923f75a2..6d957326 100644 --- a/platform/linux-generic/odp_traffic_mngr.c +++ b/platform/linux-generic/odp_traffic_mngr.c @@ -6,6 +6,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif diff --git a/platform/linux-generic/odp_version.c b/platform/linux-generic/odp_version.c index 7b704d05..84547acd 100644 --- a/platform/linux-generic/odp_version.c +++ b/platform/linux-generic/odp_version.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include const char *odp_version_api_str(void) diff --git a/platform/linux-generic/odp_weak.c b/platform/linux-generic/odp_weak.c index 0fbf6645..e8273009 100644 --- a/platform/linux-generic/odp_weak.c +++ b/platform/linux-generic/odp_weak.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/pktio/dpdk.c b/platform/linux-generic/pktio/dpdk.c index 19310651..b6d072ab 100644 --- a/platform/linux-generic/pktio/dpdk.c +++ b/platform/linux-generic/pktio/dpdk.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #ifdef ODP_PKTIO_DPDK #include diff --git a/platform/linux-generic/pktio/ethtool.c b/platform/linux-generic/pktio/ethtool.c index 8f3c7e69..7d9869bf 100644 --- a/platform/linux-generic/pktio/ethtool.c +++ b/platform/linux-generic/pktio/ethtool.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif diff --git a/platform/linux-generic/pktio/io_ops.c b/platform/linux-generic/pktio/io_ops.c index fbf30ca7..89d6203e 100644 --- a/platform/linux-generic/pktio/io_ops.c +++ b/platform/linux-generic/pktio/io_ops.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include /* Ops for all implementation of pktio. diff --git a/platform/linux-generic/pktio/ipc.c b/platform/linux-generic/pktio/ipc.c index 8c7db84e..a7f346ae 100644 --- a/platform/linux-generic/pktio/ipc.c +++ b/platform/linux-generic/pktio/ipc.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c index 68abb6d8..428b6ceb 100644 --- a/platform/linux-generic/pktio/loop.c +++ b/platform/linux-generic/pktio/loop.c @@ -5,6 +5,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/pktio/netmap.c b/platform/linux-generic/pktio/netmap.c index 928bb00a..4d771fcb 100644 --- a/platform/linux-generic/pktio/netmap.c +++ b/platform/linux-generic/pktio/netmap.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #ifdef ODP_NETMAP #include diff --git a/platform/linux-generic/pktio/pcap.c b/platform/linux-generic/pktio/pcap.c index a467b640..783b85a9 100644 --- a/platform/linux-generic/pktio/pcap.c +++ b/platform/linux-generic/pktio/pcap.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file * diff --git a/platform/linux-generic/pktio/pktio_common.c b/platform/linux-generic/pktio/pktio_common.c index 611bb451..94add061 100644 --- a/platform/linux-generic/pktio/pktio_common.c +++ b/platform/linux-generic/pktio/pktio_common.c @@ -5,6 +5,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/pktio/ring.c b/platform/linux-generic/pktio/ring.c index e3c73d1c..dff7d685 100644 --- a/platform/linux-generic/pktio/ring.c +++ b/platform/linux-generic/pktio/ring.c @@ -69,6 +69,8 @@ * ***************************************************************************/ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/pktio/socket.c b/platform/linux-generic/pktio/socket.c index a383adc6..130c60d2 100644 --- a/platform/linux-generic/pktio/socket.c +++ b/platform/linux-generic/pktio/socket.c @@ -5,6 +5,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/pktio/socket_mmap.c b/platform/linux-generic/pktio/socket_mmap.c index 6fc4b4cc..f7118023 100644 --- a/platform/linux-generic/pktio/socket_mmap.c +++ b/platform/linux-generic/pktio/socket_mmap.c @@ -5,6 +5,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/platform/linux-generic/pktio/sysfs.c b/platform/linux-generic/pktio/sysfs.c index be0822dd..c3d4faea 100644 --- a/platform/linux-generic/pktio/sysfs.c +++ b/platform/linux-generic/pktio/sysfs.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/platform/linux-generic/pktio/tap.c b/platform/linux-generic/pktio/tap.c index 650c12a7..917db006 100644 --- a/platform/linux-generic/pktio/tap.c +++ b/platform/linux-generic/pktio/tap.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file * From patchwork Tue Aug 22 09:59:50 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: 110627 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2450217qge; Tue, 22 Aug 2017 03:04:34 -0700 (PDT) X-Received: by 10.55.145.193 with SMTP id t184mr117823qkd.65.1503396273872; Tue, 22 Aug 2017 03:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396273; cv=none; d=google.com; s=arc-20160816; b=jp7m9fm4tZ0aIYd+Wf6f/xDGdfdl6Qth9l60iqJ/9GoSH3xYZHschq7L7FZwpPt7+W 1I7Q8cuEW5gaGft5moqnrgrXKhN5qUbRN8pSxQUZmLjkCYmO7O1w3sjoKFKbmlunQnFz gnw4MDlqWSx7/iv9+IiPQfAgSzLvAbnOYsIURTHVXlMuJ/R0jfy67edCy9+x7adgqfi+ 4qQ838vFFZ/FouP9BFxuk9F2bF/SehSvCz+mkVv3MW3u3Kx8iUilx5qno9cP3hjHwSV5 MsNKbdP3NHsKQU99NxCi8/36qpHUWuFjfdDL8Pt+OMy9+C31AQn0WPmpE6b0SF24GCO4 x+kw== 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=FjCaARneSeaU6syaMsd9iBEvbWcVTy2B8Nk0VPrzfH0=; b=LR4xPQeyEtT6bU3gejybLQ2rX0DdLxbICPF+QrxthDu+krJ3I4b7FhCUYYZX1dh6UB u33opHpqyuu/Nyh+EadQOOlobq4ikwLRApzPHGObPe2me3V/PpTfbnZw83RK9FOg/zrr RKM9ZyaEWmwsYlAZX1R4PKy+YOSUgvxSqTX4aXiB0qC+WsXM5MTNRz87Fe7sbDrhqLbw O3ECps1AQ2+/tTtPIyJxxj/l92QV8SufhpDvmzmii6qz5G/92TNW1liM17JsI/AWV57K cfYJKzLaEiOlzVsDw5AAR82jDGDdMygw0Fs/UtFCpFZaNn+oQHsV/kCQPYaJf/DDnP2l QhCg== 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 g3si13040948qtd.209.2017.08.22.03.04.33; Tue, 22 Aug 2017 03:04:33 -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 1177A636AA; Tue, 22 Aug 2017 10:04:33 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 6F1B865BE1; Tue, 22 Aug 2017 10: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 75931658CC; Tue, 22 Aug 2017 10:00:28 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 4F3A764462 for ; Tue, 22 Aug 2017 10:00:20 +0000 (UTC) Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward102p.mail.yandex.net (Yandex) with ESMTP id E41B0430445D for ; Tue, 22 Aug 2017 13:00:18 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback13j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id hnTb4NtZ3C-0IKmNFA4; Tue, 22 Aug 2017 13:00:18 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0IfWkI5m; Tue, 22 Aug 2017 13:00:18 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:50 +0300 Message-Id: <1503396009-8350-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 6/25] helper: use config.h header 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 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ helper/chksum.c | 2 ++ helper/cuckootable.c | 2 ++ helper/eth.c | 2 ++ helper/hashtable.c | 3 +++ helper/ip.c | 2 ++ helper/iplookuptable.c | 2 ++ helper/lineartable.c | 2 ++ helper/linux/thread.c | 2 ++ helper/test/chksum.c | 2 ++ helper/test/cuckootable.c | 2 ++ helper/test/iplookuptable.c | 2 ++ helper/test/linux/process.c | 2 ++ helper/test/linux/pthread.c | 2 ++ helper/test/odpthreads.c | 2 ++ helper/test/parse.c | 2 ++ helper/test/table.c | 2 ++ helper/threads.c | 2 ++ 17 files changed, 35 insertions(+) diff --git a/helper/chksum.c b/helper/chksum.c index ae70d97e..f8303b4e 100644 --- a/helper/chksum.c +++ b/helper/chksum.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/helper/cuckootable.c b/helper/cuckootable.c index 32800911..4707191d 100644 --- a/helper/cuckootable.c +++ b/helper/cuckootable.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /*- * BSD LICENSE * diff --git a/helper/eth.c b/helper/eth.c index 9a151fa2..b7c2c6b7 100644 --- a/helper/eth.c +++ b/helper/eth.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/helper/hashtable.c b/helper/hashtable.c index f26b18b2..b124c2d7 100644 --- a/helper/hashtable.c +++ b/helper/hashtable.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include "config.h" + #include #include #include diff --git a/helper/ip.c b/helper/ip.c index eb73e5a0..463a45d0 100644 --- a/helper/ip.c +++ b/helper/ip.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/helper/iplookuptable.c b/helper/iplookuptable.c index ac7d0587..7ca68de2 100644 --- a/helper/iplookuptable.c +++ b/helper/iplookuptable.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/helper/lineartable.c b/helper/lineartable.c index dd4a5995..831eb11b 100644 --- a/helper/lineartable.c +++ b/helper/lineartable.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/helper/linux/thread.c b/helper/linux/thread.c index 52d4efc5..94ab83a9 100644 --- a/helper/linux/thread.c +++ b/helper/linux/thread.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif diff --git a/helper/test/chksum.c b/helper/test/chksum.c index 1beae47f..914eab04 100644 --- a/helper/test/chksum.c +++ b/helper/test/chksum.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "odph_debug.h" #include #include diff --git a/helper/test/cuckootable.c b/helper/test/cuckootable.c index be655911..ebe79167 100644 --- a/helper/test/cuckootable.c +++ b/helper/test/cuckootable.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /*- * BSD LICENSE * diff --git a/helper/test/iplookuptable.c b/helper/test/iplookuptable.c index b5d774cb..e56e22c4 100644 --- a/helper/test/iplookuptable.c +++ b/helper/test/iplookuptable.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/helper/test/linux/process.c b/helper/test/linux/process.c index e08ef868..94169086 100644 --- a/helper/test/linux/process.c +++ b/helper/test/linux/process.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/helper/test/linux/pthread.c b/helper/test/linux/pthread.c index 2bec0d17..5b2f6887 100644 --- a/helper/test/linux/pthread.c +++ b/helper/test/linux/pthread.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/helper/test/odpthreads.c b/helper/test/odpthreads.c index 219e1b65..0434b117 100644 --- a/helper/test/odpthreads.c +++ b/helper/test/odpthreads.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /* * This program tests the ability of the linux helper to create ODP threads, * either implemented as linux pthreads or as linux processes, depending on diff --git a/helper/test/parse.c b/helper/test/parse.c index 0429f2cc..d5f7b251 100644 --- a/helper/test/parse.c +++ b/helper/test/parse.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/helper/test/table.c b/helper/test/table.c index ac454da5..b3d17e1f 100644 --- a/helper/test/table.c +++ b/helper/test/table.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier:BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/helper/threads.c b/helper/threads.c index cb747e5b..a83014d4 100644 --- a/helper/threads.c +++ b/helper/threads.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif From patchwork Tue Aug 22 09:59:51 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: 110630 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5096382obb; Tue, 22 Aug 2017 03:07:38 -0700 (PDT) X-Received: by 10.237.50.103 with SMTP id y94mr169721qtd.98.1503396458862; Tue, 22 Aug 2017 03:07:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396458; cv=none; d=google.com; s=arc-20160816; b=jX4lWlbnjew9pV/8UhE1nRtARgBJAIoDtAAWyRU27mDQVckpypAcHbieFq1Xmsl1zm Qc4amgeekzqWykYHn0oEBf5uqN1lhFhXVx8jC8Wgxnsin30fT4KocFRWrS9aK//vVL7p IEe9tw9FfEnP8mCSNivVyZweRt0al0SMIwbkse7cgY2xZBDzKi67ZHH0QzVRMNRAfNnR Mzff8vWxfWnT0tF5Xbp4bVv1LJJN9YO2RJaqtMZxJToZemTvILtK1BkpRvAMKYpEfww1 5dt2DCKZU4PRQR9awpDiugx445Zmtdhy6nQV7MkM4lKVrF0PHop6X2XUebL6Ct5O7ItJ en1Q== 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=AyHvpwHitycnnkCNSvN1KMahPpHazNiFhK5RmRmWxeM=; b=xfGLzdVY0yar0/QoPWM7F4z2/iulzTpvg9oY/qJNXo1DpdmwiToiZjHXyD9dk33HZ8 kWXjtEhw2rQUP9BN0gRFAdxT3YRSyvmekqA3KrDZx/sSJZyZIigda2MUIUTXBkLof+7o JLTk/vG+LoLP+Rh5Bwp6TJS09bSese3vRJ2gs2cLVQb0oJw9sFz4Lcsg0L6awGtG9DBi Qmy4LYRsqgkUAAi8EEnh59eogdog3pHfVza9wDL6olhwc3BfZcqL8oms4oyr89EUZbOo XqUzUk1lFBMH3TGTECQmR0oV81IqOcv3lZpBP5mIkCh6OnhQniW7A03GD/p7UrjD2jAT dMgw== 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 o65si13378418qkd.135.2017.08.22.03.07.38; Tue, 22 Aug 2017 03:07:38 -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 44B0C60C14; Tue, 22 Aug 2017 10:07:38 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 099A160B2B; Tue, 22 Aug 2017 10:01:11 +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 D436864473; Tue, 22 Aug 2017 10:00:30 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 8201064473 for ; Tue, 22 Aug 2017 10:00:21 +0000 (UTC) Received: from mxback2j.mail.yandex.net (mxback2j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10b]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 1F64B180D64 for ; Tue, 22 Aug 2017 13:00:20 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback2j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id yrepmLpbnw-0JeOunNf; Tue, 22 Aug 2017 13:00:20 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0JfuPie7; Tue, 22 Aug 2017 13:00:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:51 +0300 Message-Id: <1503396009-8350-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 7/25] test: don't redefine _GNU_SOURCE 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 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ test/common_plat/validation/api/traffic_mngr/traffic_mngr.c | 2 ++ test/linux-generic/pktio_ipc/ipc_common.h | 2 ++ test/linux-generic/ring/ring_stress.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c index 88a7d8c7..a21ff8a1 100644 --- a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c +++ b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c @@ -4,7 +4,9 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include diff --git a/test/linux-generic/pktio_ipc/ipc_common.h b/test/linux-generic/pktio_ipc/ipc_common.h index ca78b684..334788f3 100644 --- a/test/linux-generic/pktio_ipc/ipc_common.h +++ b/test/linux-generic/pktio_ipc/ipc_common.h @@ -6,7 +6,9 @@ #define _POSIX_C_SOURCE 200809L +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include diff --git a/test/linux-generic/ring/ring_stress.c b/test/linux-generic/ring/ring_stress.c index b6ddb34e..f4f573e6 100644 --- a/test/linux-generic/ring/ring_stress.c +++ b/test/linux-generic/ring/ring_stress.c @@ -10,7 +10,9 @@ * ODP ring stress test */ +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include #include From patchwork Tue Aug 22 09:59:52 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: 110632 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5098695obb; Tue, 22 Aug 2017 03:10:39 -0700 (PDT) X-Received: by 10.55.27.85 with SMTP id b82mr139119qkb.309.1503396639791; Tue, 22 Aug 2017 03:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396639; cv=none; d=google.com; s=arc-20160816; b=LrmqUMfOGVdqGeX+aCBKrk3iWpwdCwNebOv85YbGeh8udGEbxY0m2GSsR2wI+9Wx3L oiTaSSo+ZnJmvecQQQnb7lUkPl895QI1yZeLyt2VlDTt9kjBpMy8Nf+EcHZAJBs3fT4b QumuepPKbAenV8Ca0G+s7qKUbA8raAPVktcLrHC9De7qMLeiDLj++TIy0NhVMHmC4Uj2 0UV2XP6eX5ypHajM8udV4quTevW/yyU/zr+UI2/PbY5yGuZxDhmx3oDMXuWJ0pxYSvmQ O8rXWwYGcq2wuPsAaYnkoGJzzf8gDN8GsS1RayynIjaDYXec3ZzD/VWF1r0qiSMHbjOo 4aLw== 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=eM1wqPtvu0iYC9nL89ft6o7dlyAPP+OBxps9/4rbxSA=; b=r7xXgZdIcLWz6D1t7AUzeN1ryKkt7S+uTUkjlDHyF3MUlNZGvqoVwMJbG+bzwPbYjX cZC4wIw7K94ZdbbAF5l7Ud3/lSPgQ+Uk9vuerxzWjI9DlCRY8RMLgvbesUq2J94hIZtb jBo3ntMlykEluebJ0bRx1/iBRbyo6CK1Ex8rXoZkRZf8Y2QbdYNz9dA0ZxpIITNOh+Ut MB1YAedQtb3w0JtbwhVZaho4uWde0h2ZDucUYDL78mhP4Qu6Ti7h3UxPdBgrEfCqd2W7 +lW/xBs6nYmqyLAZVAqVxx4WTN1xpoK7FTdmgsumU+swNIWxLoosQU+yxN7boQWdPjk/ 0MQg== 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 n11si14697983qkh.131.2017.08.22.03.10.39; Tue, 22 Aug 2017 03:10:39 -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 5CD4562AE6; Tue, 22 Aug 2017 10:10:39 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 9861064462; Tue, 22 Aug 2017 10:01:36 +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 1F562644B3; Tue, 22 Aug 2017 10:01:26 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id A8390644C3 for ; Tue, 22 Aug 2017 10:00:22 +0000 (UTC) Received: from mxback5o.mail.yandex.net (mxback5o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1f]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 7158E18449A for ; Tue, 22 Aug 2017 13:00:21 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback5o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id bZa8s4dI0g-0LAirt1i; Tue, 22 Aug 2017 13:00:21 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0KfWGb0v; Tue, 22 Aug 2017 13:00:20 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:52 +0300 Message-Id: <1503396009-8350-9-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 8/25] test: use config.h header 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 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ test/common_plat/common/mask_common.c | 2 ++ test/common_plat/common/odp_cunit_common.c | 2 ++ test/common_plat/performance/odp_bench_packet.c | 2 ++ test/common_plat/performance/odp_crypto.c | 2 ++ test/common_plat/performance/odp_l2fwd.c | 2 ++ test/common_plat/performance/odp_pktio_ordered.c | 2 ++ test/common_plat/performance/odp_pktio_perf.c | 3 +++ test/common_plat/performance/odp_sched_latency.c | 2 ++ test/common_plat/performance/odp_scheduling.c | 2 ++ test/common_plat/validation/api/atomic/atomic.c | 2 ++ test/common_plat/validation/api/atomic/atomic_main.c | 2 ++ test/common_plat/validation/api/barrier/barrier.c | 2 ++ test/common_plat/validation/api/barrier/barrier_main.c | 2 ++ test/common_plat/validation/api/buffer/buffer.c | 2 ++ test/common_plat/validation/api/buffer/buffer_main.c | 3 +++ test/common_plat/validation/api/classification/classification.c | 2 ++ test/common_plat/validation/api/classification/classification_main.c | 2 ++ .../validation/api/classification/odp_classification_basic.c | 2 ++ .../validation/api/classification/odp_classification_common.c | 2 ++ .../validation/api/classification/odp_classification_test_pmr.c | 2 ++ .../validation/api/classification/odp_classification_tests.c | 2 ++ test/common_plat/validation/api/cpumask/cpumask.c | 2 ++ test/common_plat/validation/api/cpumask/cpumask_main.c | 3 +++ test/common_plat/validation/api/crypto/crypto.c | 2 ++ test/common_plat/validation/api/crypto/crypto_main.c | 2 ++ test/common_plat/validation/api/crypto/odp_crypto_test_inp.c | 2 ++ test/common_plat/validation/api/errno/errno.c | 2 ++ test/common_plat/validation/api/errno/errno_main.c | 2 ++ test/common_plat/validation/api/hash/hash.c | 2 ++ test/common_plat/validation/api/hash/hash_main.c | 2 ++ test/common_plat/validation/api/init/init.c | 2 ++ test/common_plat/validation/api/init/init_main_abort.c | 3 +++ test/common_plat/validation/api/init/init_main_log.c | 3 +++ test/common_plat/validation/api/init/init_main_ok.c | 3 +++ test/common_plat/validation/api/lock/lock.c | 2 ++ test/common_plat/validation/api/lock/lock_main.c | 2 ++ test/common_plat/validation/api/packet/packet.c | 2 ++ test/common_plat/validation/api/packet/packet_main.c | 2 ++ test/common_plat/validation/api/pktio/parser.c | 3 +++ test/common_plat/validation/api/pktio/pktio.c | 3 +++ test/common_plat/validation/api/pktio/pktio_main.c | 2 ++ test/common_plat/validation/api/pool/pool.c | 2 ++ test/common_plat/validation/api/pool/pool_main.c | 2 ++ test/common_plat/validation/api/queue/queue.c | 2 ++ test/common_plat/validation/api/queue/queue_main.c | 2 ++ test/common_plat/validation/api/random/random.c | 2 ++ test/common_plat/validation/api/random/random_main.c | 2 ++ test/common_plat/validation/api/scheduler/scheduler.c | 2 ++ test/common_plat/validation/api/scheduler/scheduler_main.c | 2 ++ test/common_plat/validation/api/shmem/shmem.c | 2 ++ test/common_plat/validation/api/shmem/shmem_main.c | 2 ++ test/common_plat/validation/api/std_clib/std_clib.c | 2 ++ test/common_plat/validation/api/std_clib/std_clib_main.c | 2 ++ test/common_plat/validation/api/system/system.c | 2 ++ test/common_plat/validation/api/system/system_main.c | 2 ++ test/common_plat/validation/api/thread/thread.c | 2 ++ test/common_plat/validation/api/thread/thread_main.c | 2 ++ test/common_plat/validation/api/time/time.c | 2 ++ test/common_plat/validation/api/time/time_main.c | 2 ++ test/common_plat/validation/api/timer/timer.c | 2 ++ test/common_plat/validation/api/timer/timer_main.c | 2 ++ test/common_plat/validation/api/traffic_mngr/traffic_mngr.c | 2 ++ test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c | 2 ++ test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c | 2 ++ test/linux-generic/pktio_ipc/ipc_common.c | 2 ++ test/linux-generic/pktio_ipc/pktio_ipc1.c | 2 ++ test/linux-generic/pktio_ipc/pktio_ipc2.c | 2 ++ test/linux-generic/ring/ring_basic.c | 2 ++ test/linux-generic/ring/ring_main.c | 2 ++ test/linux-generic/ring/ring_stress.c | 2 ++ test/linux-generic/ring/ring_suites.c | 2 ++ test/linux-generic/validation/api/shmem/shmem_linux.c | 2 ++ test/linux-generic/validation/api/shmem/shmem_odp1.c | 2 ++ test/linux-generic/validation/api/shmem/shmem_odp2.c | 2 ++ 74 files changed, 156 insertions(+) diff --git a/test/common_plat/common/mask_common.c b/test/common_plat/common/mask_common.c index b31534c6..5f872f3e 100644 --- a/test/common_plat/common/mask_common.c +++ b/test/common_plat/common/mask_common.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include "odp_cunit_common.h" diff --git a/test/common_plat/common/odp_cunit_common.c b/test/common_plat/common/odp_cunit_common.c index d3328af6..a83c3026 100644 --- a/test/common_plat/common/odp_cunit_common.c +++ b/test/common_plat/common/odp_cunit_common.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/test/common_plat/performance/odp_bench_packet.c b/test/common_plat/performance/odp_bench_packet.c index c4cd6139..327b9b2c 100644 --- a/test/common_plat/performance/odp_bench_packet.c +++ b/test/common_plat/performance/odp_bench_packet.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file * diff --git a/test/common_plat/performance/odp_crypto.c b/test/common_plat/performance/odp_crypto.c index c3dd6d38..a65e4449 100644 --- a/test/common_plat/performance/odp_crypto.c +++ b/test/common_plat/performance/odp_crypto.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif /* _GNU_SOURCE */ diff --git a/test/common_plat/performance/odp_l2fwd.c b/test/common_plat/performance/odp_l2fwd.c index 25a92cc3..dd69cde4 100644 --- a/test/common_plat/performance/odp_l2fwd.c +++ b/test/common_plat/performance/odp_l2fwd.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file * diff --git a/test/common_plat/performance/odp_pktio_ordered.c b/test/common_plat/performance/odp_pktio_ordered.c index 4bb0bef9..b08fa852 100644 --- a/test/common_plat/performance/odp_pktio_ordered.c +++ b/test/common_plat/performance/odp_pktio_ordered.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file * diff --git a/test/common_plat/performance/odp_pktio_perf.c b/test/common_plat/performance/odp_pktio_perf.c index 09463081..a170e128 100644 --- a/test/common_plat/performance/odp_pktio_perf.c +++ b/test/common_plat/performance/odp_pktio_perf.c @@ -20,6 +20,9 @@ * a single packet rate can be specified on the command line. * */ + +#include "config.h" + #include #include diff --git a/test/common_plat/performance/odp_sched_latency.c b/test/common_plat/performance/odp_sched_latency.c index 026f2f6c..fc286051 100644 --- a/test/common_plat/performance/odp_sched_latency.c +++ b/test/common_plat/performance/odp_sched_latency.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file * diff --git a/test/common_plat/performance/odp_scheduling.c b/test/common_plat/performance/odp_scheduling.c index 38e76257..308ed410 100644 --- a/test/common_plat/performance/odp_scheduling.c +++ b/test/common_plat/performance/odp_scheduling.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file * diff --git a/test/common_plat/validation/api/atomic/atomic.c b/test/common_plat/validation/api/atomic/atomic.c index db9484bc..5bf2fe87 100644 --- a/test/common_plat/validation/api/atomic/atomic.c +++ b/test/common_plat/validation/api/atomic/atomic.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/test/common_plat/validation/api/atomic/atomic_main.c b/test/common_plat/validation/api/atomic/atomic_main.c index db035373..b6028393 100644 --- a/test/common_plat/validation/api/atomic/atomic_main.c +++ b/test/common_plat/validation/api/atomic/atomic_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "atomic.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/barrier/barrier.c b/test/common_plat/validation/api/barrier/barrier.c index 79ee82b3..b75d6204 100644 --- a/test/common_plat/validation/api/barrier/barrier.c +++ b/test/common_plat/validation/api/barrier/barrier.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/test/common_plat/validation/api/barrier/barrier_main.c b/test/common_plat/validation/api/barrier/barrier_main.c index 064decf6..28df6afa 100644 --- a/test/common_plat/validation/api/barrier/barrier_main.c +++ b/test/common_plat/validation/api/barrier/barrier_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "barrier.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/buffer/buffer.c b/test/common_plat/validation/api/buffer/buffer.c index 7c723d4f..bcc09d48 100644 --- a/test/common_plat/validation/api/buffer/buffer.c +++ b/test/common_plat/validation/api/buffer/buffer.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include "odp_cunit_common.h" #include "buffer.h" diff --git a/test/common_plat/validation/api/buffer/buffer_main.c b/test/common_plat/validation/api/buffer/buffer_main.c index 47168f8b..8642560d 100644 --- a/test/common_plat/validation/api/buffer/buffer_main.c +++ b/test/common_plat/validation/api/buffer/buffer_main.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include "config.h" + #include "buffer.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/classification/classification.c b/test/common_plat/validation/api/classification/classification.c index 1032e7f1..a0d290ec 100644 --- a/test/common_plat/validation/api/classification/classification.c +++ b/test/common_plat/validation/api/classification/classification.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include "odp_classification_testsuites.h" diff --git a/test/common_plat/validation/api/classification/classification_main.c b/test/common_plat/validation/api/classification/classification_main.c index 8902463c..51909d00 100644 --- a/test/common_plat/validation/api/classification/classification_main.c +++ b/test/common_plat/validation/api/classification/classification_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "classification.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/classification/odp_classification_basic.c b/test/common_plat/validation/api/classification/odp_classification_basic.c index 3f4a82ed..c31a7530 100644 --- a/test/common_plat/validation/api/classification/odp_classification_basic.c +++ b/test/common_plat/validation/api/classification/odp_classification_basic.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include "odp_classification_testsuites.h" #include "classification.h" diff --git a/test/common_plat/validation/api/classification/odp_classification_common.c b/test/common_plat/validation/api/classification/odp_classification_common.c index de8a9327..e0c0808e 100644 --- a/test/common_plat/validation/api/classification/odp_classification_common.c +++ b/test/common_plat/validation/api/classification/odp_classification_common.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "odp_classification_testsuites.h" #include "classification.h" #include diff --git a/test/common_plat/validation/api/classification/odp_classification_test_pmr.c b/test/common_plat/validation/api/classification/odp_classification_test_pmr.c index 0acf2cf7..15b76033 100644 --- a/test/common_plat/validation/api/classification/odp_classification_test_pmr.c +++ b/test/common_plat/validation/api/classification/odp_classification_test_pmr.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "odp_classification_testsuites.h" #include "classification.h" #include diff --git a/test/common_plat/validation/api/classification/odp_classification_tests.c b/test/common_plat/validation/api/classification/odp_classification_tests.c index a0f73e39..1b044509 100644 --- a/test/common_plat/validation/api/classification/odp_classification_tests.c +++ b/test/common_plat/validation/api/classification/odp_classification_tests.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "odp_classification_testsuites.h" #include "classification.h" #include diff --git a/test/common_plat/validation/api/cpumask/cpumask.c b/test/common_plat/validation/api/cpumask/cpumask.c index a0cb559f..e6ac8394 100644 --- a/test/common_plat/validation/api/cpumask/cpumask.c +++ b/test/common_plat/validation/api/cpumask/cpumask.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include "odp_cunit_common.h" diff --git a/test/common_plat/validation/api/cpumask/cpumask_main.c b/test/common_plat/validation/api/cpumask/cpumask_main.c index 39e3171c..77fdd228 100644 --- a/test/common_plat/validation/api/cpumask/cpumask_main.c +++ b/test/common_plat/validation/api/cpumask/cpumask_main.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include "config.h" + #include "cpumask.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/crypto/crypto.c b/test/common_plat/validation/api/crypto/crypto.c index 94beb2f1..ea661241 100644 --- a/test/common_plat/validation/api/crypto/crypto.c +++ b/test/common_plat/validation/api/crypto/crypto.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include "odp_crypto_test_inp.h" diff --git a/test/common_plat/validation/api/crypto/crypto_main.c b/test/common_plat/validation/api/crypto/crypto_main.c index d8c26fa2..2d5c6c7e 100644 --- a/test/common_plat/validation/api/crypto/crypto_main.c +++ b/test/common_plat/validation/api/crypto/crypto_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "crypto.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c b/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c index ae600e23..442336d0 100644 --- a/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c +++ b/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/test/common_plat/validation/api/errno/errno.c b/test/common_plat/validation/api/errno/errno.c index e3b6ced5..929e0f40 100644 --- a/test/common_plat/validation/api/errno/errno.c +++ b/test/common_plat/validation/api/errno/errno.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include "odp_cunit_common.h" #include "errno.h" diff --git a/test/common_plat/validation/api/errno/errno_main.c b/test/common_plat/validation/api/errno/errno_main.c index 0138279e..2f2e3155 100644 --- a/test/common_plat/validation/api/errno/errno_main.c +++ b/test/common_plat/validation/api/errno/errno_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "errno.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/hash/hash.c b/test/common_plat/validation/api/hash/hash.c index b353fcec..886df502 100644 --- a/test/common_plat/validation/api/hash/hash.c +++ b/test/common_plat/validation/api/hash/hash.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include "hash.h" diff --git a/test/common_plat/validation/api/hash/hash_main.c b/test/common_plat/validation/api/hash/hash_main.c index f9818b7b..089b1f95 100644 --- a/test/common_plat/validation/api/hash/hash_main.c +++ b/test/common_plat/validation/api/hash/hash_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "hash.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/init/init.c b/test/common_plat/validation/api/init/init.c index 61055fad..d44ff234 100644 --- a/test/common_plat/validation/api/init/init.c +++ b/test/common_plat/validation/api/init/init.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/test/common_plat/validation/api/init/init_main_abort.c b/test/common_plat/validation/api/init/init_main_abort.c index 2e0faafb..1b043154 100644 --- a/test/common_plat/validation/api/init/init_main_abort.c +++ b/test/common_plat/validation/api/init/init_main_abort.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include "config.h" + #include "init.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/init/init_main_log.c b/test/common_plat/validation/api/init/init_main_log.c index 41dd00d7..d5d1ba6d 100644 --- a/test/common_plat/validation/api/init/init_main_log.c +++ b/test/common_plat/validation/api/init/init_main_log.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include "config.h" + #include "init.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/init/init_main_ok.c b/test/common_plat/validation/api/init/init_main_ok.c index 6053ec18..bb205f6d 100644 --- a/test/common_plat/validation/api/init/init_main_ok.c +++ b/test/common_plat/validation/api/init/init_main_ok.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include "config.h" + #include "init.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/lock/lock.c b/test/common_plat/validation/api/lock/lock.c index f8a1d8c0..48a659e8 100644 --- a/test/common_plat/validation/api/lock/lock.c +++ b/test/common_plat/validation/api/lock/lock.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/test/common_plat/validation/api/lock/lock_main.c b/test/common_plat/validation/api/lock/lock_main.c index 5a30f02b..e182f77a 100644 --- a/test/common_plat/validation/api/lock/lock_main.c +++ b/test/common_plat/validation/api/lock/lock_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "lock.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/packet/packet.c b/test/common_plat/validation/api/packet/packet.c index 284aaeb5..28bc12b0 100644 --- a/test/common_plat/validation/api/packet/packet.c +++ b/test/common_plat/validation/api/packet/packet.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include diff --git a/test/common_plat/validation/api/packet/packet_main.c b/test/common_plat/validation/api/packet/packet_main.c index 511bb104..a80e29a2 100644 --- a/test/common_plat/validation/api/packet/packet_main.c +++ b/test/common_plat/validation/api/packet/packet_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "packet.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/pktio/parser.c b/test/common_plat/validation/api/pktio/parser.c index ad7101d0..dd293a44 100644 --- a/test/common_plat/validation/api/pktio/parser.c +++ b/test/common_plat/validation/api/pktio/parser.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include "config.h" + #include #include diff --git a/test/common_plat/validation/api/pktio/pktio.c b/test/common_plat/validation/api/pktio/pktio.c index c476a712..6a085729 100644 --- a/test/common_plat/validation/api/pktio/pktio.c +++ b/test/common_plat/validation/api/pktio/pktio.c @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include "config.h" + #include #include diff --git a/test/common_plat/validation/api/pktio/pktio_main.c b/test/common_plat/validation/api/pktio/pktio_main.c index 2928e1b8..13d2407a 100644 --- a/test/common_plat/validation/api/pktio/pktio_main.c +++ b/test/common_plat/validation/api/pktio/pktio_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "pktio.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/pool/pool.c b/test/common_plat/validation/api/pool/pool.c index 8687941f..e633137a 100644 --- a/test/common_plat/validation/api/pool/pool.c +++ b/test/common_plat/validation/api/pool/pool.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include "odp_cunit_common.h" #include "pool.h" diff --git a/test/common_plat/validation/api/pool/pool_main.c b/test/common_plat/validation/api/pool/pool_main.c index bf06585b..c1eb7b7c 100644 --- a/test/common_plat/validation/api/pool/pool_main.c +++ b/test/common_plat/validation/api/pool/pool_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "pool.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/queue/queue.c b/test/common_plat/validation/api/queue/queue.c index f08d811f..94d0a2fd 100644 --- a/test/common_plat/validation/api/queue/queue.c +++ b/test/common_plat/validation/api/queue/queue.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include "queue.h" diff --git a/test/common_plat/validation/api/queue/queue_main.c b/test/common_plat/validation/api/queue/queue_main.c index b461b860..7ed05411 100644 --- a/test/common_plat/validation/api/queue/queue_main.c +++ b/test/common_plat/validation/api/queue/queue_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "queue.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/random/random.c b/test/common_plat/validation/api/random/random.c index a0e2ef72..071c265f 100644 --- a/test/common_plat/validation/api/random/random.c +++ b/test/common_plat/validation/api/random/random.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include "random.h" diff --git a/test/common_plat/validation/api/random/random_main.c b/test/common_plat/validation/api/random/random_main.c index 8f38a84c..ca9f5262 100644 --- a/test/common_plat/validation/api/random/random_main.c +++ b/test/common_plat/validation/api/random/random_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "random.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/scheduler/scheduler.c b/test/common_plat/validation/api/scheduler/scheduler.c index 4f99435c..963275be 100644 --- a/test/common_plat/validation/api/scheduler/scheduler.c +++ b/test/common_plat/validation/api/scheduler/scheduler.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include "odp_cunit_common.h" #include "scheduler.h" diff --git a/test/common_plat/validation/api/scheduler/scheduler_main.c b/test/common_plat/validation/api/scheduler/scheduler_main.c index 57cfa5fc..73f3cedd 100644 --- a/test/common_plat/validation/api/scheduler/scheduler_main.c +++ b/test/common_plat/validation/api/scheduler/scheduler_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "scheduler.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/shmem/shmem.c b/test/common_plat/validation/api/shmem/shmem.c index 0e757a70..08587940 100644 --- a/test/common_plat/validation/api/shmem/shmem.c +++ b/test/common_plat/validation/api/shmem/shmem.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include "shmem.h" diff --git a/test/common_plat/validation/api/shmem/shmem_main.c b/test/common_plat/validation/api/shmem/shmem_main.c index 4c691305..d51d4d83 100644 --- a/test/common_plat/validation/api/shmem/shmem_main.c +++ b/test/common_plat/validation/api/shmem/shmem_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "shmem.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/std_clib/std_clib.c b/test/common_plat/validation/api/std_clib/std_clib.c index 7f089eab..33128eef 100644 --- a/test/common_plat/validation/api/std_clib/std_clib.c +++ b/test/common_plat/validation/api/std_clib/std_clib.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include "std_clib.h" diff --git a/test/common_plat/validation/api/std_clib/std_clib_main.c b/test/common_plat/validation/api/std_clib/std_clib_main.c index ef6f2736..dc63bb5b 100644 --- a/test/common_plat/validation/api/std_clib/std_clib_main.c +++ b/test/common_plat/validation/api/std_clib/std_clib_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "std_clib.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/system/system.c b/test/common_plat/validation/api/system/system.c index 5b7ca01a..6873fcc4 100644 --- a/test/common_plat/validation/api/system/system.c +++ b/test/common_plat/validation/api/system/system.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/test/common_plat/validation/api/system/system_main.c b/test/common_plat/validation/api/system/system_main.c index 50d202a8..01720c6a 100644 --- a/test/common_plat/validation/api/system/system_main.c +++ b/test/common_plat/validation/api/system/system_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "system.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/thread/thread.c b/test/common_plat/validation/api/thread/thread.c index 24f1c458..ada4affc 100644 --- a/test/common_plat/validation/api/thread/thread.c +++ b/test/common_plat/validation/api/thread/thread.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/test/common_plat/validation/api/thread/thread_main.c b/test/common_plat/validation/api/thread/thread_main.c index 53c75655..2e832836 100644 --- a/test/common_plat/validation/api/thread/thread_main.c +++ b/test/common_plat/validation/api/thread/thread_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "thread.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/time/time.c b/test/common_plat/validation/api/time/time.c index e2ca2e17..ef137257 100644 --- a/test/common_plat/validation/api/time/time.c +++ b/test/common_plat/validation/api/time/time.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include "odp_cunit_common.h" #include "time_test.h" diff --git a/test/common_plat/validation/api/time/time_main.c b/test/common_plat/validation/api/time/time_main.c index bf1cfe7b..c39a0ea1 100644 --- a/test/common_plat/validation/api/time/time_main.c +++ b/test/common_plat/validation/api/time/time_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "time_test.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/timer/timer.c b/test/common_plat/validation/api/timer/timer.c index b7d84c64..e88f21a7 100644 --- a/test/common_plat/validation/api/timer/timer.c +++ b/test/common_plat/validation/api/timer/timer.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file */ diff --git a/test/common_plat/validation/api/timer/timer_main.c b/test/common_plat/validation/api/timer/timer_main.c index c318763f..f65c1e3a 100644 --- a/test/common_plat/validation/api/timer/timer_main.c +++ b/test/common_plat/validation/api/timer/timer_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "timer.h" int main(int argc, char *argv[]) diff --git a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c index a21ff8a1..fb7bb461 100644 --- a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c +++ b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif diff --git a/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c b/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c index 1fc1f78d..ec4555e6 100644 --- a/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c +++ b/test/common_plat/validation/api/traffic_mngr/traffic_mngr_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "traffic_mngr.h" int main(int argc, char *argv[]) diff --git a/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c b/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c index e91a9d0d..3238f9af 100644 --- a/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c +++ b/test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/test/linux-generic/pktio_ipc/ipc_common.c b/test/linux-generic/pktio_ipc/ipc_common.c index 85cbc8b4..2004c7d2 100644 --- a/test/linux-generic/pktio_ipc/ipc_common.c +++ b/test/linux-generic/pktio_ipc/ipc_common.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "ipc_common.h" /** Run time in seconds */ diff --git a/test/linux-generic/pktio_ipc/pktio_ipc1.c b/test/linux-generic/pktio_ipc/pktio_ipc1.c index 5d8434bf..b1ed21b8 100644 --- a/test/linux-generic/pktio_ipc/pktio_ipc1.c +++ b/test/linux-generic/pktio_ipc/pktio_ipc1.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "ipc_common.h" /** diff --git a/test/linux-generic/pktio_ipc/pktio_ipc2.c b/test/linux-generic/pktio_ipc/pktio_ipc2.c index 95d69e80..062ed9b7 100644 --- a/test/linux-generic/pktio_ipc/pktio_ipc2.c +++ b/test/linux-generic/pktio_ipc/pktio_ipc2.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file * diff --git a/test/linux-generic/ring/ring_basic.c b/test/linux-generic/ring/ring_basic.c index 926dc465..62382bec 100644 --- a/test/linux-generic/ring/ring_basic.c +++ b/test/linux-generic/ring/ring_basic.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file * diff --git a/test/linux-generic/ring/ring_main.c b/test/linux-generic/ring/ring_main.c index 71526884..b1f59a9b 100644 --- a/test/linux-generic/ring/ring_main.c +++ b/test/linux-generic/ring/ring_main.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include "ring_suites.h" int main(int argc, char *argv[]) diff --git a/test/linux-generic/ring/ring_stress.c b/test/linux-generic/ring/ring_stress.c index f4f573e6..115d130e 100644 --- a/test/linux-generic/ring/ring_stress.c +++ b/test/linux-generic/ring/ring_stress.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /** * @file * diff --git a/test/linux-generic/ring/ring_suites.c b/test/linux-generic/ring/ring_suites.c index f321a762..153826ff 100644 --- a/test/linux-generic/ring/ring_suites.c +++ b/test/linux-generic/ring/ring_suites.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/test/linux-generic/validation/api/shmem/shmem_linux.c b/test/linux-generic/validation/api/shmem/shmem_linux.c index fe11a7db..10bbb6a4 100644 --- a/test/linux-generic/validation/api/shmem/shmem_linux.c +++ b/test/linux-generic/validation/api/shmem/shmem_linux.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + /* this test makes sure that odp shared memory created with the ODP_SHM_PROC * flag is visible under linux, and checks that memory created with the * ODP_SHM_EXPORT flag is visible by other ODP instances. diff --git a/test/linux-generic/validation/api/shmem/shmem_odp1.c b/test/linux-generic/validation/api/shmem/shmem_odp1.c index 0ced4554..8cd89c8f 100644 --- a/test/linux-generic/validation/api/shmem/shmem_odp1.c +++ b/test/linux-generic/validation/api/shmem/shmem_odp1.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include diff --git a/test/linux-generic/validation/api/shmem/shmem_odp2.c b/test/linux-generic/validation/api/shmem/shmem_odp2.c index 0144407b..4f4fc3fe 100644 --- a/test/linux-generic/validation/api/shmem/shmem_odp2.c +++ b/test/linux-generic/validation/api/shmem/shmem_odp2.c @@ -4,6 +4,8 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include "config.h" + #include #include #include From patchwork Tue Aug 22 09:59:53 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: 110631 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5098144obb; Tue, 22 Aug 2017 03:09:54 -0700 (PDT) X-Received: by 10.237.58.131 with SMTP id o3mr144370qte.229.1503396594524; Tue, 22 Aug 2017 03:09:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396594; cv=none; d=google.com; s=arc-20160816; b=B9ambaNakPsTbN5caix5M30w25V6uX1m4mCXKDtN65Of6VkpXmTCQYzeDTfIHOmqt9 mjUE8jbo8VqZwrI7binx4aMsoJC6Kq1nJKLSFjqk6oGZ1egZaKoNXv7vozpYrqBcQzzb QZUUmft4OtRBY8fOrbwcGAyPTZtQUlVXiOc9L+tpnoNQeFeVrh6czyYj1tMsIzuatE+r bERAW9OCaY9gEuBS8RLggiWnPpy24WOSnowDZL60zXyMYeQWdSBjHe03GziXmfqMDieJ i8o1gfghsnx/ZGxMogOeIfnL1XHQ6hjkNYAg35MoYCpKLVRnNGbOe0sMx/xHrB9XoUaN BC8A== 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=hlwTItnsDUFF/6wFVQFhuZ58mAUhXIQt610Hd41otkc=; b=i47rqUv/MdhJSAhrPgmEf0Xo6vXVCH61Hmpucp1j+xQg/X8P0ADOw+cMO0b7P9sLwY 6XZ77X0QDrk5Bgr0cVNrdQ4mnAPkDuSrxDOo3XpvUZ8wIJrrpcBVKZl/gLfiZCOCW2dM ozBBLGcZXPgUpyiXS14dfPC5B0K2MjU56lfuXds9adNTkX1oaMBwRFZ9cpQQvKH9IP9V BA7syqH618uSQRcDwpFDI0iLz5jVb7b4etRUgAZhv4sl41S2827sghHsjVlubxfyt/Lt 06pgU6kTCNogZUAKKpIGi2I4jpc8Ho8nWfN/IN2LDagp98x0CQUEl2bis14nWx0jFKnf 0uiw== 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 s7si7886735qke.499.2017.08.22.03.09.54; Tue, 22 Aug 2017 03:09: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 02E5465BDF; Tue, 22 Aug 2017 10:09: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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 417E86447E; Tue, 22 Aug 2017 10:01:28 +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 C21A465BE8; Tue, 22 Aug 2017 10:01:24 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 18D53644D9 for ; Tue, 22 Aug 2017 10:00:23 +0000 (UTC) Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 20328182E5C for ; Tue, 22 Aug 2017 13:00:22 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id GH0c86lkTQ-0LsC3BMP; Tue, 22 Aug 2017 13:00:22 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0LfSZvBn; Tue, 22 Aug 2017 13:00:21 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:53 +0300 Message-Id: <1503396009-8350-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 9/25] configure: AC_DEFINE_UNQUOTED(IMPLEMENTATION_NAME) 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 Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8791905b..329c91e8 100644 --- a/configure.ac +++ b/configure.ac @@ -174,7 +174,8 @@ else exit 1 fi -ODP_CFLAGS="$ODP_CFLAGS -DIMPLEMENTATION_NAME=$IMPLEMENTATION_NAME" +AC_DEFINE_UNQUOTED([IMPLEMENTATION_NAME], ["$IMPLEMENTATION_NAME"], + [Define to the name of the implementation]) ########################################################################## # Include m4 files From patchwork Tue Aug 22 09:59:54 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: 110635 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5101299obb; Tue, 22 Aug 2017 03:14:06 -0700 (PDT) X-Received: by 10.55.207.21 with SMTP id e21mr174839qkj.106.1503396846646; Tue, 22 Aug 2017 03:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396846; cv=none; d=google.com; s=arc-20160816; b=Zr20CeqgP5fMxylRF6tjvqtJsuwEJX30ZJ7Rrxxf0DP9pr4b7Hm8GPqAUlzYYdJIyU deU8EZ8BSl4b1u07OsD39GovalMZ3m12EvCBWoTBj2MztRVoSn+lYEmYjGtDd0RFjFGD eC5SOe8c0daBOlTYrRk5fUP9+iAFYKwzPq+33uxT6+mjIu/8agxqD30g7/vX2TYo6lG9 WVuX6MivMv8B/+EHUbZfgEYQ6lB/7SRs343BKyhWJqn1i2yUx7HzwmyWC6yJXksYF5hz A+3d+z1fktjV3V2bwI1KI1LzsXtXPrEKtbGUODsAIMK1rjUEtrtPPyHy0AfZNyn3I/H4 32Zw== 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=vcbX4QGFBXHyXe4qOxC/RQ7uo3Ps0mSouFzsy8jy3BU=; b=sS9W6jR44hYErUEh0Og4jSX6GPMCLyHHrG7J9Z/B115rJ+XTTcG4GwwErGYl604cx2 8fJ6tpVxWDcAtRA53VxHPGeLv8W0Fet14M0M0imrcMtU+JvokA7Rw5oJ65QbTZag5N2l wFCAQ5ttylgEpoozylIYmXsSkM1xQ2kZlcYYWcsaMaRhmVC+SdwW+R8F02UH/H7mW0aX mz/HN+JK6PB9pg+vSEd1BRnYd44mSQZRRJXO6YMablJGh44ZQeKISSoFTSUKK4ujWvmB aoYmBI+VbW38ZDp2y7lUdMFwxL8t0EP4qHeiPDF4tSYKdc6+NXE5qkW9GU+DhKwOKxT0 Yg5Q== 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 g13si7039278qtb.139.2017.08.22.03.14.06; Tue, 22 Aug 2017 03:14:06 -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 3ABFC60AC8; Tue, 22 Aug 2017 10:14:06 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 7F88B65BEA; Tue, 22 Aug 2017 10:01:44 +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 5CB22644D9; Tue, 22 Aug 2017 10:01:29 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 842EE644E0 for ; Tue, 22 Aug 2017 10:00:23 +0000 (UTC) Received: from mxback15g.mail.yandex.net (mxback15g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:94]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 870EE184B6D for ; Tue, 22 Aug 2017 13:00:22 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback15g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3aWvvai0vi-0MV8hXne; Tue, 22 Aug 2017 13:00:22 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0MfWEUZI; Tue, 22 Aug 2017 13:00:22 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:54 +0300 Message-Id: <1503396009-8350-11-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 10/25] configure: AC_DEFINE_UNQUOTED(ODP_DEBUG_PRINT) 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 Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 329c91e8..16c22321 100644 --- a/configure.ac +++ b/configure.ac @@ -252,10 +252,9 @@ AC_ARG_ENABLE([debug-print], [ --enable-debug-print display debugging information], [if test "x$enableval" = "xyes"; then ODP_DEBUG_PRINT=1 - else - ODP_DEBUG_PRINT=0 fi]) -ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG_PRINT=$ODP_DEBUG_PRINT" +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], From patchwork Tue Aug 22 09:59:55 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: 110636 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5101751obb; Tue, 22 Aug 2017 03:14:44 -0700 (PDT) X-Received: by 10.200.34.173 with SMTP id f42mr196707qta.150.1503396884178; Tue, 22 Aug 2017 03:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396884; cv=none; d=google.com; s=arc-20160816; b=roCU/nBUdGvQYFb+rL3uq53WBQuykrxu2Y9JZ9+KXAlwU5INtbC7BNHlnYlHa+vwz0 zTkkR1WmRNFjDyyghyFBT3w+47r5ISBYb+T0cuK4g3fR3DVglYCAulsvfyzb2RA3rBUr GXX0MlYHuwTv9IzuirHMfPEjekqjkqAXQvjzILa6VDg4nrmDK4KYOFnW+f+6x7gBVS2g S/km/AERXsG/N12K8L/ica2Qeb7Rjogg57N/ZHkfRK7xFXaG8twpS73Xn84EJj13msSg myNUFHOG/xXywBDesoxBDKRmJFiC0jU8CIOFms4qMyYuiZlHQBqJhFlFdMKxnu+ElMz3 eoUw== 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=DuVzfyB5Ddcj5QocgXMTwSDav5OeFD5t8Tcp6nX6k20=; b=EbnqiRaZR/Kvu4nwEQCMqxXQqCaFN0zEpXtQJ2QwvehRSmMR739xDfLIQa8VkMnNHY MCmlKcGwpfnAdZ/ocmTwQl7wFWOgmGrX/0CeA+UmzPAjj1OMFRVwSays8/P7TOPrGJSO YTfS3HXETPscfKcGAXIxIRqBZp4L3lsK2mxLa3MpOYuiGEylWXQ/dT+95hi+TI+5NKgW XicUmBNh3DeOjxMW6PQmfWTVj9xcklQOl9Go2ARoDMvljJ1pPMOls5VmYUf6mzFMA0+8 7YcUPcFZ5bv7nU/i+bUdiqw7D7uQnis1jx6QE1C4Q413o8gCXLyV99ZtqN+GiFjZrQlx cZ+g== 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 m64si4313618qte.537.2017.08.22.03.14.43; Tue, 22 Aug 2017 03:14:44 -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 9E4A3644B9; Tue, 22 Aug 2017 10:14:43 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 A28D565BEF; Tue, 22 Aug 2017 10:01:47 +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 8AAB2644E0; Tue, 22 Aug 2017 10:01:29 +0000 (UTC) Received: from forward105j.mail.yandex.net (forward105j.mail.yandex.net [5.45.198.248]) by lists.linaro.org (Postfix) with ESMTPS id 39FA1644E3 for ; Tue, 22 Aug 2017 10:00:24 +0000 (UTC) Received: from mxback4j.mail.yandex.net (mxback4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10d]) by forward105j.mail.yandex.net (Yandex) with ESMTP id 396AF183229 for ; Tue, 22 Aug 2017 13:00:23 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback4j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id loDBsZDtF8-0NiW60C2; Tue, 22 Aug 2017 13:00:23 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0Mfi5j22; Tue, 22 Aug 2017 13:00:22 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:55 +0300 Message-Id: <1503396009-8350-12-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 11/25] configure: AC_DEFINE_UNQUOTED(ODPH_DEBUG_PRINT) 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 Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 16c22321..9300c87b 100644 --- a/configure.ac +++ b/configure.ac @@ -261,10 +261,9 @@ AC_ARG_ENABLE([helper-debug-print], [ --enable-helper-debug-print display helper debugging information], [if test "x$enableval" = "xyes"; then ODPH_DEBUG_PRINT=1 - else - ODPH_DEBUG_PRINT=0 fi]) -ODP_CFLAGS="$ODP_CFLAGS -DODPH_DEBUG_PRINT=$ODPH_DEBUG_PRINT" +AC_DEFINE_UNQUOTED([ODPH_DEBUG_PRINT], [$ODPH_DEBUG_PRINT], + [Define to 1 to display helper debug information]) ########################################################################## # Enable/disable ODP_DEBUG From patchwork Tue Aug 22 09:59:56 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: 110633 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5100368obb; Tue, 22 Aug 2017 03:12:56 -0700 (PDT) X-Received: by 10.55.22.7 with SMTP id g7mr168347qkh.198.1503396775974; Tue, 22 Aug 2017 03:12:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396775; cv=none; d=google.com; s=arc-20160816; b=K2Rz9SPf6awGOQh/UaboMSf+2qKRM5RkPObEh2obyzwL1K/5Dg7T3kLswfGjTuwKr7 MGzi4udu0+7hr0GWixq073w2MONRVzlFdVAZBLVjY5kzLcR9hT4aIACvtaLZ4sHb6Kva Yn2Dy3Wlltc+Lh9DBXRvX0CnHnDxZpbcqBG3k/KZdJPkljUlvyzKJWSS9v6BqxDMERRa 2YhUxARBCxccZMfPV1mEdkI7XAGtrfnyLYrD0fyVlpmuYPWdhiA13KJwIK/wimje840o bfUm/6N1ZUIxDZ6RT5+gL72PI918YQQB1yfM4lBeAHYDnlmQFGj6O34F5b6Lh7bRcT2/ 7lyw== 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=/1Lu0U4mL8vHqkR+BaG2s6uI9rhjwJKyDJlMc4tuDYQ=; b=mICJjwVkUDR/J8hcl5RRNVXk7F5pQ8IJmj2pOY5WZ3RDT0Sx6+bgqzOwRQzDVZeOT1 eikqlLtRUY4JxvE3/3NhelNdH9Z/n8CVOpi/wQ3meZKx5GSphh15Vtypt3nuNBPnzbfI ciY1wS/0Sxy8LDSclgxlrMIF0b8mda4vJ8VT4J77ITtv3W9BveDSoFCjfPh6q2GAQqNT 1n7Ycm5FUKNl14MWtTzmTX8AHqrXH8g1T3F35TvwoI2Kyw5C2xKfe3zo7/z0z98Sr7cj aoa50LFppCrjgTXVmuKtqTTyRMZA9rw68ofYXcISDnyNYd9rC+b7ValNWEnXTKRazMXE ds3w== 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 p16si4952996qtj.116.2017.08.22.03.12.55; Tue, 22 Aug 2017 03:12:55 -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 97D7860D95; Tue, 22 Aug 2017 10:12:55 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 EB0F9644E3; Tue, 22 Aug 2017 10:01:38 +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 34B3B644A3; Tue, 22 Aug 2017 10:01:27 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id CC12B62ED2 for ; Tue, 22 Aug 2017 10:00:24 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward100j.mail.yandex.net (Yandex) with ESMTP id A73FB5D8210D for ; Tue, 22 Aug 2017 13:00:23 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id dvnIT1HTl6-0NbK0U9s; Tue, 22 Aug 2017 13:00:23 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0Nf80ncb; Tue, 22 Aug 2017 13:00:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:56 +0300 Message-Id: <1503396009-8350-13-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 12/25] configure: AC_DEFINE_UNQUOTED(ODP_DEBUG) 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 Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 9300c87b..0ab8f585 100644 --- a/configure.ac +++ b/configure.ac @@ -273,10 +273,9 @@ AC_ARG_ENABLE([debug], [ --enable-debug include additional code], [if test "x$enableval" = "xyes"; then ODP_DEBUG=1 - else - ODP_DEBUG=0 fi]) -ODP_CFLAGS="$ODP_CFLAGS -DODP_DEBUG=$ODP_DEBUG" +AC_DEFINE_UNQUOTED([ODP_DEBUG], [$ODP_DEBUG], + [Define to 1 to include additional debug code]) ########################################################################## # Enable/disable ABI compatible build From patchwork Tue Aug 22 09:59:57 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: 110638 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5103281obb; Tue, 22 Aug 2017 03:16:45 -0700 (PDT) X-Received: by 10.200.44.13 with SMTP id d13mr179602qta.192.1503397004965; Tue, 22 Aug 2017 03:16:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397004; cv=none; d=google.com; s=arc-20160816; b=KFuxGkeJJ3Li3XPfAjqIzKpxy6IJsyMdxm9sReJtMNTiTRDn9NoYtdy2Dad7LJOfUO KgLDCaRqK77Fx05ieazvERyMk9ZiJmL+tOrS24SCfMRNLLkg/GQgWiOQ1ofacElKSr29 9oLFTtazBdA6qLB0fuYAGVJ9KB/5uK/m/R/FW4X2lzuWc3jTxN3KKm+s00aH+fpVTfra fjWwKe79xCApWRsik+XRxodYsWXr20lRCLwJdvcMjez9PePVYDV3/rg/uWTkD6jzSy3+ SkXrnkG1s+fDzDG8jXUGXMK+krGy76AYAJvjbBLYo5YzxWpR/5GT9o00FuoH1d9k/wZq PWTA== 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=eVYJhswRmENrTgP/kbIhSHQNFBkXgM06Un2D6gWupjE=; b=lLhKT2/TAiUD+G1V4wEYwkeXDlV3O7a2MhRgQdGsz9UhYqZPJJ5UGyAqfuTfKgl8tn /ubDY5EN99bgW+WZ65Qlirriu3PMHima/7qakHeaP+Ld6Y+sEue0Dtcj5QCISG+FnTKO XU5HSNlVXS8HefQ+sRNbmhQaPNmpzoVMfKV1FI+qqAFxRAfGHh36eygYpbP/qmHzmN32 5UcZ4aiFxL5J6rVayrBT32lYV1qn0Tw+ZEBR/dUrLHpyDptm2pLdJedrGX2G0VQ8Arg+ FQ2SEiY5i7+2H+M1ba2jL3sEzPEPBRj6Sz1sovIdJlJhHk90rl4rbWzNJn5+CPunpnLj y9ZQ== 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 44si13455260qty.183.2017.08.22.03.16.44; Tue, 22 Aug 2017 03:16:44 -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 919B460D2E; Tue, 22 Aug 2017 10:16:44 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 03E2965C03; Tue, 22 Aug 2017 10:01:58 +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 6CC4C644D9; Tue, 22 Aug 2017 10:01:31 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id AC7F260C0B for ; Tue, 22 Aug 2017 10:00:25 +0000 (UTC) Received: from mxback5j.mail.yandex.net (mxback5j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10e]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 71E922183F77 for ; Tue, 22 Aug 2017 13:00:24 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback5j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id GcqJYGBe0v-0OaatrtT; Tue, 22 Aug 2017 13:00:24 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0Nf45LuB; Tue, 22 Aug 2017 13:00:23 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:57 +0300 Message-Id: <1503396009-8350-14-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 13/25] configure: AC_DEFINE(HAVE_PCAP) 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 Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/m4/odp_pcap.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_pcap.m4 b/platform/linux-generic/m4/odp_pcap.m4 index d7295f21..0b5b8a2e 100644 --- a/platform/linux-generic/m4/odp_pcap.m4 +++ b/platform/linux-generic/m4/odp_pcap.m4 @@ -9,7 +9,7 @@ AC_CHECK_HEADER(pcap/pcap.h, []) if test "$have_pcap" = "yes"; then - ODP_CFLAGS="$AM_CFLAGS -DHAVE_PCAP" + AC_DEFINE([HAVE_PCAP], 1, [Define to 1 if you have pcap library]) PCAP_LIBS="-lpcap" fi From patchwork Tue Aug 22 09: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: 110634 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5100849obb; Tue, 22 Aug 2017 03:13:33 -0700 (PDT) X-Received: by 10.200.41.233 with SMTP id 38mr154827qtt.314.1503396813419; Tue, 22 Aug 2017 03:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396813; cv=none; d=google.com; s=arc-20160816; b=BXbUhwXpeLvro/UcgKa8uJHWId8mL/WXvNlxEBOsBnjgmsIauB+8FhN4+BgLS+VO0v gB1cg6/NS/De0U19CW5XmTooNb7NM26rXt76YIIPkTYNOtROCqcy3cKgefV5/KzpvT4H MlfAwYv09hzGVUyETHtkXP4qG03UBGe80KS70MeDJ56glhzYImc+Yvc/kCV48SuBPXeQ dYZpSR1DgWU+UvxyE9AzhMHtJw60dDYC39BK8+CVtYz15ZBjUXNTsESmVT3UdF574BFG PZduAanKPYEJtgkyh7ZeGLQ5qNdLv4x3DASQVWaUBxcJzbt7LVxyPwhj3r+P/UVyK9z/ INPQ== 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=XvclQGtB7NogI1aeiFXfREwoNVDZaBiviR/m3ex8m0U=; b=vAucprq73svZr0CxHVKPrn8lMD3KcdxrAtT7YXc7iqzfcqvmQspPv5adyB6TPWh0rQ Oy3Ogspxn97zUHJSQhfX6xYe4qe/o+bp+gujtWHfxsNJi1U0fCXb5+AT6w+5/AN4XKrg XITcUPKJhEsvD2mK6mmZJAVqqbaVQP1zcrfAT2cf1EfokvPUoJEas8jpNFtKg3w6OL/E 1O8ffEZ9cbZ/ktP8kg/bdaaI4dpl9NTM9PxhPUCIuF5nydRhkusfq1RKOrgfSw2lHdvN jl9iC3Pz8DC8urpJsyndY63qaIisxs7u+ncVz9+7CBeXrWhkMeWSvnDsVF56cGDdni1T 9Piw== 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 16si13299329qkl.316.2017.08.22.03.13.33; Tue, 22 Aug 2017 03:13:33 -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 18EDA62876; Tue, 22 Aug 2017 10:13:33 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 40D09658CC; Tue, 22 Aug 2017 10:01: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 AB839644D9; Tue, 22 Aug 2017 10:01:28 +0000 (UTC) Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [37.140.190.177]) by lists.linaro.org (Postfix) with ESMTPS id 61362644E9 for ; Tue, 22 Aug 2017 10:00:26 +0000 (UTC) Received: from mxback3o.mail.yandex.net (mxback3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1d]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 09CC4588104F for ; Tue, 22 Aug 2017 13:00:25 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback3o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id NtaSdTevYV-0Oc0JRwE; Tue, 22 Aug 2017 13:00:24 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0OfWwxao; Tue, 22 Aug 2017 13:00:24 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:58 +0300 Message-Id: <1503396009-8350-15-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 14/25] configure: AC_DEFINE(ODP_SCHEDULE_SP) 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 Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/m4/odp_schedule.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_schedule.m4 b/platform/linux-generic/m4/odp_schedule.m4 index 91c19f21..14b278bf 100644 --- a/platform/linux-generic/m4/odp_schedule.m4 +++ b/platform/linux-generic/m4/odp_schedule.m4 @@ -2,7 +2,8 @@ AC_ARG_ENABLE([schedule-sp], [ --enable-schedule-sp enable strict priority scheduler], [if test x$enableval = xyes; then schedule_sp_enabled=yes - ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_SP" + AC_DEFINE([ODP_SCHEDULE_SP], [1], + [Define to 1 to enable strict priority scheduler]) fi]) AC_ARG_ENABLE([schedule-iquery], From patchwork Tue Aug 22 09: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: 110637 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5102200obb; Tue, 22 Aug 2017 03:15:21 -0700 (PDT) X-Received: by 10.237.43.231 with SMTP id e94mr180736qtd.94.1503396921321; Tue, 22 Aug 2017 03:15:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396921; cv=none; d=google.com; s=arc-20160816; b=Gl1tGcLXi/r2YNwQCZ4TcrW7YDiDhDmsOZnTxMMSStjdNg7c0lfok/U21rPLSf3mRz /7Z7FLPf+T5c01OoX5GGMAqbbCc7CGVgUojmlfhGrBck6tyfFlalyAI55JExO19rjYDr moJMKaaxrsli+pGzKErc9v7oY1IjcHAHEhZzUEEbumzMdhwZQd4ORWEmwZVYkzI+N4oU XWePiQvdsR2+ExNjPbewWiIaRtu7uX1uA6N8gqRHcJ6I38gdylcd5rZQR3CcutVCuu1t Y3xS5FMxnIZnHyeAaHuR7Cp86WrSGIA/KnTMlET61aexA5JK9oy9hgLhqsx6uS0in3fe gXhw== 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=7A7hqa8ImLk8YA/kOy4oRRcYcrWS9isswVPCRC6Q3iE=; b=Pz3i44YoRC3ctgZEW1vMELUDMOsjTllwTfndB/ykYXj/NrTJgET+pn7H1F8R/OssHA IOfESUIib6EFIDxvJQXGL/4RJM8KDkXWQ+IBbhKTDmQ7maPM55xrLKUyqrBuM6uzKEjj EFzftjBBoPKNUrwlkgYEmMekOfcghbKegBu+dpVWzATppYwSAnUWwsfhVEUHda9n0V0x M2N7IffLeh9Eoft67M6ofK197MUKRuApPPJ9kaJH0oDqN0bV1WJwZwnt9TL3vVea7VZB wiGjwgUlF5wO2aTPrF2YEsg6a+KgY3s0Oz/Ok78wxzBzR0Zz47N96MOIBAK0ZlupcSRs xl6w== 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 g145si2263179qke.351.2017.08.22.03.15.21; Tue, 22 Aug 2017 03:15:21 -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 EFDBC644C3; Tue, 22 Aug 2017 10:15:20 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 E2BEA65BF1; Tue, 22 Aug 2017 10:01:48 +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 0A469644D9; Tue, 22 Aug 2017 10:01:31 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id 899AC644EA for ; Tue, 22 Aug 2017 10:00:26 +0000 (UTC) Received: from mxback5o.mail.yandex.net (mxback5o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1f]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 910176A82D06 for ; Tue, 22 Aug 2017 13:00:25 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback5o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mPGC3Hcsdm-0PA4q1hX; Tue, 22 Aug 2017 13:00:25 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0PfSn4GX; Tue, 22 Aug 2017 13:00:25 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:59 +0300 Message-Id: <1503396009-8350-16-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 15/25] configure: AC_DEFINE(ODP_SCHEDULE_IQUERY) 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 Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/m4/odp_schedule.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_schedule.m4 b/platform/linux-generic/m4/odp_schedule.m4 index 14b278bf..bb3980ca 100644 --- a/platform/linux-generic/m4/odp_schedule.m4 +++ b/platform/linux-generic/m4/odp_schedule.m4 @@ -10,5 +10,6 @@ AC_ARG_ENABLE([schedule-iquery], [ --enable-schedule-iquery enable interests query (sparse bitmap) scheduler], [if test x$enableval = xyes; then schedule_iquery_enabled=yes - ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_IQUERY" + AC_DEFINE([ODP_SCHEDULE_IQUERY], [1], + [Define to 1 to enable interests query scheduler]) fi]) From patchwork Tue Aug 22 10: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: 110639 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5103595obb; Tue, 22 Aug 2017 03:17:15 -0700 (PDT) X-Received: by 10.55.209.140 with SMTP id o12mr199502qkl.68.1503397035879; Tue, 22 Aug 2017 03:17:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397035; cv=none; d=google.com; s=arc-20160816; b=scEQWQo77BHVThYMayl3p3sEdZ0x4jve3DoA4uv7Mqkt+xlMHVOQgO8VMlBYGSu8Lv SVlihBMAtBvYOkNyGCbCYqkhrQIimgMFGxYsAnwi/vJp9Au1rXSCcadaJnXCLRS1gHT1 Vt3QkUZP6NOZA2SpdvG9sShkqDCljEJG/ITjX8N/LZP7/b4s8ovRQfgpeU4sIVigxVaC qGZxpfOB7sQ4fBlOP9KQPQLZMkIOyHA1MgQAaYxn8jXuyI+pj9UbFEP6lHLRCqBNuWgq H48G1UVkunqrGmEutsWjdQPn8Er2Vboq1qUC6KZhIdaFfJB2eJrU5S81mjV3CCTPL4t1 ac7g== 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=AojbbjjkpUjaQmx+K/Idw1AhbMlrqyhJ1Pw+zsuBz1w=; b=Jz6vz81Bei4BNHs7tWoS5Lcoa0UqVor1JLcevHf5VFsxCZDp9JOQKqvHTAy+PlZUWZ 3/Wy+Ur9L6GAG+sH3Kx4eBYKBvwWxpfPkFaVdPXu2HL9/sddxQil7wSRZnqXI3XHAXMf 4/4ApHNS88eQfC5d04pPf/tJkoyDWOwB+5veLTvfZ5/xfrGf9HeLf+08AcNJccfEGODo vk1yg9NiPQsEYgEFOir+uhnH1s66JD6lN9gbbA8PC3siPt5wV3ZdQj3ePYy4us+9qize yw/yK5nV6VIujFX9Zu1KkpR1v/avDQ3mmBA4XkUhciLAbaelFNXrM76XTsJF8BoTH67g 2SfQ== 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 u27si4218543qtk.228.2017.08.22.03.17.15; Tue, 22 Aug 2017 03:17: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 85C5C60DBD; Tue, 22 Aug 2017 10:17: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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 50CF865BFF; Tue, 22 Aug 2017 10:02:05 +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 87C2E644C3; Tue, 22 Aug 2017 10:01:32 +0000 (UTC) Received: from forward105p.mail.yandex.net (forward105p.mail.yandex.net [77.88.28.108]) by lists.linaro.org (Postfix) with ESMTPS id 665D1644FC for ; Tue, 22 Aug 2017 10:00:27 +0000 (UTC) Received: from mxback3j.mail.yandex.net (mxback3j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10c]) by forward105p.mail.yandex.net (Yandex) with ESMTP id 2498540823C0 for ; Tue, 22 Aug 2017 13:00:26 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback3j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id WoQdZiwN6T-0QDKRgbF; Tue, 22 Aug 2017 13:00:26 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0PfG0AGc; Tue, 22 Aug 2017 13:00:25 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 13:00:00 +0300 Message-Id: <1503396009-8350-17-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 16/25] configure: AC_DEFINE(ODP_NETMAP) 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 Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/m4/odp_netmap.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_netmap.m4 b/platform/linux-generic/m4/odp_netmap.m4 index dea80626..bd04824b 100644 --- a/platform/linux-generic/m4/odp_netmap.m4 +++ b/platform/linux-generic/m4/odp_netmap.m4 @@ -31,7 +31,8 @@ if test x$netmap_support = xyes then AC_CHECK_HEADERS([net/netmap_user.h], [], [AC_MSG_FAILURE(["can't find netmap header"])]) - ODP_CFLAGS="$ODP_CFLAGS -DODP_NETMAP" + AC_DEFINE([ODP_NETMAP], [1], + [Define to 1 to enable netmap IO support]) AC_SUBST([NETMAP_CPPFLAGS]) else netmap_support=no From patchwork Tue Aug 22 10: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: 110640 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5103927obb; Tue, 22 Aug 2017 03:17:45 -0700 (PDT) X-Received: by 10.55.40.18 with SMTP id o18mr150574qkh.311.1503397065083; Tue, 22 Aug 2017 03:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397065; cv=none; d=google.com; s=arc-20160816; b=KdTudzhZt8gezZ0N3aCfAfc4lh8PIIKYpORNtlxkMtkpueirnLZwXKveBqTYfzkjn8 +QYmeCoW1g3h88o9MK69Smd7WLP3VLL+glPW9d/MUeNjxG9iRhSj6qAVnzisvjjxMcQg Te5Qwc/wDQI1sygL+0PdTSkRfUQEcV1WLfxkVfATS6yRqfd0pJkw2vScG4XeNqwQNMoK 4dPXeajxOUB84FBJt5lNsD2GpEiuZXub1zfNd/IAdCvbrRKE0I3SUlxd33xzlp6utyKu OjFJ9i+AUD002sefrp1oIQl1uAzjggUO45EnT7BNfXCvLJR3XZNTdS/XxqNJHB7AWHwn nuXw== 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=eMAxFgpvp0h8U7DTCNImtbK6VIHXKEi8OG90KasllDI=; b=T3YSKsIjeqWmyKJTRzSVOmeKsCoANYUvG5u0WU2qEDEAS1XHunD67lLUQH6EHDlhS7 qK3yWmbSHCAB3MFcHFm5QX9gqnUM8dmAUU/QEmQicnEj/wQnQ2PW3YF+kzGhbrDKiGYc IcYxl3+2UwKcLpPEflKdEyR4TTANK+N9RpB+pbpITBq9PD2Y+2HvzGbsdgY9jYRM4n3N wvWqWcWUcRTrB5FuPFPCY9e0o/5a66qy2wEomid74H5sGIdk+f5ub804ELeKoJTG1Pqq wEvH+lVVcKQWVIMM3x6pBBAuNKxA18Sa+7thgyv9sRI/Re6hdcmPs0Ym9GF1Hy9eNPQx L6fw== 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 g6si13403232qkf.136.2017.08.22.03.17.44; Tue, 22 Aug 2017 03:17:45 -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 A3FDF60A35; Tue, 22 Aug 2017 10:17:44 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 7A47C65C0A; Tue, 22 Aug 2017 10:02:06 +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 2AEC6644D9; Tue, 22 Aug 2017 10:01:34 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id A55B9646DE for ; Tue, 22 Aug 2017 10:00:27 +0000 (UTC) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward101p.mail.yandex.net (Yandex) with ESMTP id A397D6A84AAE for ; Tue, 22 Aug 2017 13:00:26 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 7WHmaEb0zE-0QmK4Lvx; Tue, 22 Aug 2017 13:00:26 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0Qf4fRuM; Tue, 22 Aug 2017 13:00:26 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 13:00:01 +0300 Message-Id: <1503396009-8350-18-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 17/25] configure: AC_DEFINE(ODP_PKTIO_DPDK)/AC_DEFINE(ODP_DPDK_ZERO_COPY) 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 Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/m4/odp_dpdk.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_dpdk.m4 b/platform/linux-generic/m4/odp_dpdk.m4 index cebf1028..b6554165 100644 --- a/platform/linux-generic/m4/odp_dpdk.m4 +++ b/platform/linux-generic/m4/odp_dpdk.m4 @@ -47,7 +47,11 @@ then done AS_VAR_APPEND([DPDK_PMDS], [--no-whole-archive]) - ODP_CFLAGS="$ODP_CFLAGS -DODP_PKTIO_DPDK -DODP_DPDK_ZERO_COPY=$zero_copy" + AC_DEFINE([ODP_PKTIO_DPDK], [1], + [Define to 1 to enable DPDK packet I/O support]) + AC_DEFINE_UNQUOTED([ODP_DPDK_ZERO_COPY], [$zero_copy], + [Define to 1 to enable DPDK zero copy support]) + DPDK_LIBS="-L$DPDK_PATH/lib -ldpdk -lpthread -ldl -lpcap -lm" AC_SUBST([DPDK_CPPFLAGS]) AC_SUBST([DPDK_LIBS]) From patchwork Tue Aug 22 10: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: 110641 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5104303obb; Tue, 22 Aug 2017 03:18:18 -0700 (PDT) X-Received: by 10.55.33.225 with SMTP id f94mr175348qki.292.1503397098808; Tue, 22 Aug 2017 03:18:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397098; cv=none; d=google.com; s=arc-20160816; b=WvKhFYUPQLuF3SpiGzN8HFkctaGT++PgYECJZwbea0N7ZIl+NsgOCPYB/yVlqOj6dV Hx3zMzAz3dLD8ySEFSIBLWO+pDpw4u5aDttPh2XCYVka1XQxEsC/RuAo3fo0kGak7xyQ FRSZbgJbzSYOqNN0OOuFCYSaIukEGH2CLdHL48AOg8qdQOjcELMAO7/iSpgD9n3372ID FWDj6+IX6qf/ZJYcQB8A4WdksTFtx+hxWl/XCW3MDHj3Mdw/9EkFRS4lwcIFNnehhsi+ fuj4eTd8uUlAB2z5fG49X1YPBW9yn+FKuMLwd0JQCjG3j226atiGpWY56EQs12QcC/sA cGtg== 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=lSmJIzuebgJmdhLtuQkJs7/KKF1mZctnuDoKTbOiFdg=; b=SAjd7YIR/B0Nj4G6SEsOSrcBtqe1MjDub2AG9o68A0q3efZkYLbYZ7ks5M6A/hxP7r Sz8xhkrUQguu7+y4eP9gDUv9WQUO1rJcTiRqPQWDvXtSZ3Fswspxeq2bAN7Ny9U1kz52 b1UkQQzltwxsb3ASMjKRz8PtQPHTiCZzMje1bKYcIgwI65NqB/gEBL3pAJDFXaUsVhkI 90k9NRmVll4B0Bhdp+JoQw6psTnF8DkN3NSTvum/KV2Knc0jHusdAOv9KyLJ7wp3dzqW bmpIZKlkEgbhvR0LwJAN56WjXu/rboWKXoG1nK4B0M8/c8UWmDaVajQUY8JNXiD0qcm9 xiBQ== 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 v39si2461416qtb.141.2017.08.22.03.18.18; Tue, 22 Aug 2017 03:18: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 7BF5C644B9; Tue, 22 Aug 2017 10:18: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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 A612665C0F; Tue, 22 Aug 2017 10:02:11 +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 E482C658CC; Tue, 22 Aug 2017 10:01:41 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 193E96486A for ; Tue, 22 Aug 2017 10:00:29 +0000 (UTC) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward100p.mail.yandex.net (Yandex) with ESMTP id A1B6451044B2 for ; Tue, 22 Aug 2017 13:00:27 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id yYNLUiDgsQ-0RaObY07; Tue, 22 Aug 2017 13:00:27 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0QfGhrdk; Tue, 22 Aug 2017 13:00:26 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 13:00:02 +0300 Message-Id: <1503396009-8350-19-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 18/25] automake: move foreign Automake option to configure.ac 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 Instead of specifying foreign Automake option on a per-dir bases, move that option to toplevel configure.ac, making it global at the same time. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ Makefile.am | 1 - configure.ac | 2 +- test/common_plat/common/Makefile.am | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 76ceb851..e1ea07d5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,4 @@ ACLOCAL_AMFLAGS=-I m4 -AUTOMAKE_OPTIONS = foreign AM_DISTCHECK_CONFIGURE_FLAGS = --enable-test-cpp \ --enable-test-example \ --enable-test-helper \ diff --git a/configure.ac b/configure.ac index 0ab8f585..4016176b 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ AC_SUBST(ODP_VERSION_API_MINOR) AC_CONFIG_FILES([include/odp/api/spec/version.h include/odp/api/spec/deprecated.h]) -AM_INIT_AUTOMAKE([1.9 tar-pax subdir-objects]) +AM_INIT_AUTOMAKE([1.9 tar-pax subdir-objects foreign]) AC_CONFIG_SRCDIR([include/odp/api/spec/init.h]) AM_CONFIG_HEADER([include/config.h]) diff --git a/test/common_plat/common/Makefile.am b/test/common_plat/common/Makefile.am index 7d88d2ea..9fd08ee8 100644 --- a/test/common_plat/common/Makefile.am +++ b/test/common_plat/common/Makefile.am @@ -1,4 +1,3 @@ -AUTOMAKE_OPTIONS = foreign include $(top_srcdir)/test/Makefile.inc noinst_LTLIBRARIES = libcunit_common.la libcpumask_common.la libthrmask_common.la From patchwork Tue Aug 22 10: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: 110643 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5105738obb; Tue, 22 Aug 2017 03:20:19 -0700 (PDT) X-Received: by 10.55.97.200 with SMTP id v191mr170225qkb.169.1503397219784; Tue, 22 Aug 2017 03:20:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397219; cv=none; d=google.com; s=arc-20160816; b=sxP9XKO/UOtBY7afpJH96UwWZ3LPlU6TMTHdfLKCyz1JHrlLgQhzgtAYWQehtTqWZa djD8LSnheGumtCpcDjl2HFbzSaaQ68XX+xqqQaldbnM20xIsedmwrRVuELCSaX3Ki9Rk A0mUG/B7062mpaE+LOWTqDWqCfaIYP06T1ISjeUVDqIisERrtRs+DNC3xC7P6tiwBn08 1zXbbTWso7MFJKBUOtMfn1yMajnopdYGKVGIa8Ff6lg2AE+6rdFOgjwYJQ9bmtV1Wo/D 8Kplls1ydyt0JF2OAmp4DtaEz6PHkNjVt5O2QPTZae1hLeioWdZq6/bpwr3sv2Gm2pI8 w7uw== 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=DMihvlPi6eN83KWmo71ic3OFzr9ImngFHO3Gt8kpBn4=; b=dhJ+TMN5sStnJYFCMWwc+kv1D2GrHatQKHBnGKz23IDQbvFNDj3240OQFYeAhwiGb3 XrbP33EcvZAkhhHzfYPBhUFWGliylDi1pPmyk+PrMebQhY9PmM2yQpYq/saKoGLNNvx+ 5N8MWJkYTeZbGwxUmAsYM5IcfpN+0s/RbEVdYvcr/nNX+y0O/IJwZT8NNkE1s3xsvzda jESEaJt6I5PEH5+KasioMOUJbFs+iW+rnWDbsi3FTTuZHmyeME7+F85rn/1iDXuyNHoZ 1KqjenGv3iqp3z5UtBoOAmw3hT0+oNlOS5TNojea0QMngsrKA8RqfOMDrPs5KRUo+f2d YlXg== 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 t184si13141201qkc.67.2017.08.22.03.20.18; Tue, 22 Aug 2017 03:20:19 -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 1197865BC2; Tue, 22 Aug 2017 10:20: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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 E5F3E65C23; Tue, 22 Aug 2017 10:02:27 +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 C21C065C26; Tue, 22 Aug 2017 10:02:20 +0000 (UTC) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by lists.linaro.org (Postfix) with ESMTPS id D27B065BBA for ; Tue, 22 Aug 2017 10:00:30 +0000 (UTC) Received: from mxback10g.mail.yandex.net (mxback10g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:171]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 8551B2C84772 for ; Tue, 22 Aug 2017 13:00:28 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback10g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id zCq5UjUu6r-0Sda89Vt; Tue, 22 Aug 2017 13:00:28 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0RfGJCJt; Tue, 22 Aug 2017 13:00:27 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 13:00:03 +0300 Message-Id: <1503396009-8350-20-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 19/25] configure: move nostdinc option to configure.ac 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 It is quite logical to enable nostdinc option non global level instead of defining it only for some of the tests. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ configure.ac | 2 +- platform/linux-generic/arch/x86/cpu_flags.c | 2 +- platform/linux-generic/arch/x86/odp_sysinfo_parse.c | 2 +- test/common_plat/common/odp_cunit_common.c | 2 +- test/common_plat/performance/odp_pktio_ordered.c | 2 +- test/common_plat/validation/api/Makefile.inc | 5 ----- test/linux-generic/ring/Makefile.am | 1 + test/linux-generic/validation/api/shmem/Makefile.am | 1 + 8 files changed, 7 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 4016176b..ac36ee89 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ AC_SUBST(ODP_VERSION_API_MINOR) AC_CONFIG_FILES([include/odp/api/spec/version.h include/odp/api/spec/deprecated.h]) -AM_INIT_AUTOMAKE([1.9 tar-pax subdir-objects foreign]) +AM_INIT_AUTOMAKE([1.9 tar-pax subdir-objects foreign nostdinc]) AC_CONFIG_SRCDIR([include/odp/api/spec/init.h]) AM_CONFIG_HEADER([include/config.h]) diff --git a/platform/linux-generic/arch/x86/cpu_flags.c b/platform/linux-generic/arch/x86/cpu_flags.c index 690a084e..e46c4ffb 100644 --- a/platform/linux-generic/arch/x86/cpu_flags.c +++ b/platform/linux-generic/arch/x86/cpu_flags.c @@ -39,7 +39,7 @@ #include "config.h" -#include +#include #include #include #include diff --git a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c index f4a90ecd..f7918d40 100644 --- a/platform/linux-generic/arch/x86/odp_sysinfo_parse.c +++ b/platform/linux-generic/arch/x86/odp_sysinfo_parse.c @@ -7,7 +7,7 @@ #include "config.h" #include -#include +#include #include int cpuinfo_parser(FILE *file, system_info_t *sysinfo) diff --git a/test/common_plat/common/odp_cunit_common.c b/test/common_plat/common/odp_cunit_common.c index a83c3026..08bf1f26 100644 --- a/test/common_plat/common/odp_cunit_common.c +++ b/test/common_plat/common/odp_cunit_common.c @@ -8,7 +8,7 @@ #include #include -#include +#include "odp_cunit_common.h" #include /* Globals */ static odph_odpthread_t thread_tbl[MAX_WORKERS]; diff --git a/test/common_plat/performance/odp_pktio_ordered.c b/test/common_plat/performance/odp_pktio_ordered.c index b08fa852..e772411a 100644 --- a/test/common_plat/performance/odp_pktio_ordered.c +++ b/test/common_plat/performance/odp_pktio_ordered.c @@ -24,7 +24,7 @@ #include #include -#include +#include "dummy_crc.h" #include #include diff --git a/test/common_plat/validation/api/Makefile.inc b/test/common_plat/validation/api/Makefile.inc index 177d2ac3..767526ed 100644 --- a/test/common_plat/validation/api/Makefile.inc +++ b/test/common_plat/validation/api/Makefile.inc @@ -2,11 +2,6 @@ include $(top_srcdir)/test/Makefile.inc COMMON_DIR = $(top_builddir)/test/common_plat/common -#the following option ensure that option '-I.' is not passed to gcc, -#therefore distinguishing between '#include "X"' and '#include '. -#It allows common filenames (such as 'errno.h') to be used locally. -AUTOMAKE_OPTIONS = nostdinc - AM_CFLAGS += -I$(top_srcdir)/test/common_plat/common AM_LDFLAGS += -static AM_LDFLAGS += $(DPDK_PMDS) diff --git a/test/linux-generic/ring/Makefile.am b/test/linux-generic/ring/Makefile.am index c0865848..14f60b85 100644 --- a/test/linux-generic/ring/Makefile.am +++ b/test/linux-generic/ring/Makefile.am @@ -7,6 +7,7 @@ libtestring_la_CFLAGS = $(AM_CFLAGS) $(INCCUNIT_COMMON) $(INCODP) test_PROGRAMS = ring_main$(EXEEXT) dist_ring_main_SOURCES = ring_main.c +ring_main_CFLAGS = $(AM_CFLAGS) -I$(top_builddir)/include ring_main_LDFLAGS = $(AM_LDFLAGS) ring_main_LDADD = libtestring.la $(LIBCUNIT_COMMON) $(LIBODP) diff --git a/test/linux-generic/validation/api/shmem/Makefile.am b/test/linux-generic/validation/api/shmem/Makefile.am index b0ae6273..e330d633 100644 --- a/test/linux-generic/validation/api/shmem/Makefile.am +++ b/test/linux-generic/validation/api/shmem/Makefile.am @@ -7,6 +7,7 @@ test_extradir = $(testdir) #shmem_linux is stand alone, pure linux (no ODP): dist_shmem_linux_SOURCES = shmem_linux.c +shmem_linux_CFLAGS = $(AM_CFLAGS) -I$(top_builddir)/include shmem_linux_LDFLAGS = $(AM_LDFLAGS) -lrt #shmem_odp1 and shmem_odp2 are the 2 ODP processes: From patchwork Tue Aug 22 10: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: 110642 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5104966obb; Tue, 22 Aug 2017 03:19:12 -0700 (PDT) X-Received: by 10.55.204.2 with SMTP id r2mr179878qki.75.1503397152711; Tue, 22 Aug 2017 03:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397152; cv=none; d=google.com; s=arc-20160816; b=L+gYsBFm96CYm6QLOpPFj3QVqo5xUOAjGGIqGjBRKsT9iB/gieiDudONug6j4zxgNp lbRnm1wuz8VpKENgfVKhqFS2zOf4fNCDkr26VuTPBVbBVCgGOt6mBGgZRauJvwQny2ek 5mRL/5HH5LjQp+S+8xMrpOp96EmRJObaBG6UvYpJWUk0HA++QVJbpFp0BJ5I2CLInGDH r1++otHt6edkt72P7m3cLYdiLqBA/lLHRcJYh3ncV5wMAcMIaDczvKVITRFaZ7BjoIYz YXlTd5H5PlwH2EoDgqpylMUU/9xWCKRSdNoQK65AaNlnBL7WQenPvK77X472jRPZOnql erOQ== 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=1mzlUWc3f1yh3nNpqdE5HJwXYlbjlyxd6kUAGMQc5+w=; b=U8bwZAggR3fgMBSx/sujolR5k3EjfBvkTyem3Gzts5u7z2hlNBheue4N4+N3oyB3/q oh/vnH/6VXdkj1jX4AKv1Tj+90zBFfTZAvVNpHFxjdE2iqoHCOpFDuIekz0gp8gOQ5xe GDAnJPpEpyKq1LeiY9PFSOPW59JBjKTVA2ZP6z/NEB9/xbGk0OcdWYPuOaCZoNmfpuD3 kpWjf1SELRnTbFY5oAgSG5UV1ki5rDellO+pMUsy4ViN+Jn2ET/70TbCYn3/L89vtyNV ZtZcBs/VTqdO3v2axh9Ur+dKmBFKmnHru6o//EVgtojJzewdjC6Sdp9aZnz6DwtiP0nF kLXg== 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 e184si13141308qkf.523.2017.08.22.03.19.12; Tue, 22 Aug 2017 03:19:12 -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 5BF9465BBA; Tue, 22 Aug 2017 10:19:12 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 EF67765C14; Tue, 22 Aug 2017 10:02:15 +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 1EA6865C0F; Tue, 22 Aug 2017 10:02:11 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id 0C99165BB8 for ; Tue, 22 Aug 2017 10:00:30 +0000 (UTC) Received: from mxback5j.mail.yandex.net (mxback5j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10e]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 01EAA6A84ABE for ; Tue, 22 Aug 2017 13:00:29 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback5j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Y3460NPuZz-0SaaTv22; Tue, 22 Aug 2017 13:00:28 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0SfW5k2c; Tue, 22 Aug 2017 13:00:28 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 13:00:04 +0300 Message-Id: <1503396009-8350-21-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 20/25] linux-gen: drop _ODP_PKTIO_IPC define 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 Since 39b3a1681097638 ("linux-gen: remove pktio ipc option from configure") IPC pktio is enabled unconditionally. Drop define guarding conditional compilation of several remaining bits. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/Makefile.am | 1 - platform/linux-generic/include/odp_buffer_internal.h | 3 +-- platform/linux-generic/odp_pool.c | 2 -- platform/linux-generic/pktio/io_ops.c | 2 -- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 26eba284..8f0618f4 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -9,7 +9,6 @@ AM_CFLAGS += -I$(top_srcdir)/include AM_CFLAGS += -I$(top_srcdir)/include/odp/arch/@ARCH_ABI@ AM_CFLAGS += -I$(top_builddir)/include AM_CFLAGS += -Iinclude -AM_CFLAGS += -D_ODP_PKTIO_IPC AM_CPPFLAGS += $(OPENSSL_CPPFLAGS) AM_CPPFLAGS += $(DPDK_CPPFLAGS) diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h index a580c82d..e20d1c8d 100644 --- a/platform/linux-generic/include/odp_buffer_internal.h +++ b/platform/linux-generic/include/odp_buffer_internal.h @@ -86,8 +86,7 @@ struct odp_buffer_hdr_t { /* Burst table */ struct odp_buffer_hdr_t *burst[BUFFER_BURST_SIZE]; - /* Used only if _ODP_PKTIO_IPC is set. - * ipc mapped process can not walk over pointers, + /* ipc mapped process can not walk over pointers, * offset has to be used */ uint64_t ipc_data_offset; diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index 34a38475..01edff8b 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -536,10 +536,8 @@ odp_pool_t odp_pool_create(const char *name, odp_pool_param_t *params) if (check_params(params)) return ODP_POOL_INVALID; -#ifdef _ODP_PKTIO_IPC if (params && (params->type == ODP_POOL_PACKET)) shm_flags = ODP_SHM_PROC; -#endif return pool_create(name, params, shm_flags); } diff --git a/platform/linux-generic/pktio/io_ops.c b/platform/linux-generic/pktio/io_ops.c index 89d6203e..40d7c164 100644 --- a/platform/linux-generic/pktio/io_ops.c +++ b/platform/linux-generic/pktio/io_ops.c @@ -23,9 +23,7 @@ const pktio_if_ops_t * const pktio_if_ops[] = { #ifdef HAVE_PCAP &pcap_pktio_ops, #endif -#ifdef _ODP_PKTIO_IPC &ipc_pktio_ops, -#endif &tap_pktio_ops, &sock_mmap_pktio_ops, &sock_mmsg_pktio_ops, From patchwork Tue Aug 22 10: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: 110646 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5107108obb; Tue, 22 Aug 2017 03:22:15 -0700 (PDT) X-Received: by 10.237.32.173 with SMTP id 42mr176085qtb.47.1503397335734; Tue, 22 Aug 2017 03:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397335; cv=none; d=google.com; s=arc-20160816; b=M2IfqE2xhvAhG4rxKNitHZrGTlPpl/2Q2LsR3X366DRPCp9RWBZKcRz0Ie1Oefxezh JxIap2WTYUaUc3QNPxMuE9nUlVzLadPmGivy5Dq7pM3G6klpeCWZ9CuHaqRpX208AgbT EagmtaD2WwKcWoCCyoEbPbXWscXbnjeF9hGo12dIR1lY+LXOuknCt6iKHk1/wY/dF/ux +TB64gaORJaR65cNPyGwlHmX6u+4fFWNvhuqzklfhFKZyt6IvJ96iMl+N8MIg+au7NDI c6fI+d/4WmWxYdGXISqtbj2CV88MM4gwutXz5hepgD1VfqAigfrxhrlgypyvOr3DWBgk 8OOg== 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=kaX+L/zOv7nN1AR43V/HNxg+r9riZVy4sgK7caGmQHg=; b=Fh440I25wZWJU6IbkKlBY2r+RTFukl0GXoClmlkfsnhv11hsc07oP/CYwSaGLGoVT5 IxRy9m4Zwwa/x99gki8mRP4SmPIUluolzQKVJlMeXSx7pLHBrJ7A8XTwGPcaV5e0RAio hoUNyuPjrgLhuqC1sXfu9Sljmk+NQdIfIeU8Mt2qdNX7GABj9Mn1bpdu3rSN5TUeZJc2 JFZWQ3sdezc9bseHDCah+OUooGd1GsvfKVovZVVA6IV5CuM55GNca3KB3hN454THGxMe 6e05bNYiGrp/F7aXECTSIbDMjIfRG/w8sOvPfBtHoh2qOkJR1Cx2Xxs6YB1bhMuVcnFC lstQ== 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 n1si13382797qkf.231.2017.08.22.03.22.15; Tue, 22 Aug 2017 03:22: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 5D96E60DBD; Tue, 22 Aug 2017 10:22: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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 4EDA565C2E; Tue, 22 Aug 2017 10:03:08 +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 C31C864473; Tue, 22 Aug 2017 10:02:49 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id 4627164473 for ; Tue, 22 Aug 2017 10:00:31 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward101j.mail.yandex.net (Yandex) with ESMTP id B0C9C12435D1 for ; Tue, 22 Aug 2017 13:00:29 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id oGYeOdJRAt-0TS450nV; Tue, 22 Aug 2017 13:00:29 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0TfWeFbi; Tue, 22 Aug 2017 13:00:29 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 13:00:05 +0300 Message-Id: <1503396009-8350-22-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 21/25] configure: pass all compiler options through acceptance 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 Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ configure.ac | 38 ++++++++++++++++++++++++-------------- m4/ax_check_compile_flag.m4 | 12 +++++++----- 2 files changed, 31 insertions(+), 19 deletions(-) diff --git a/configure.ac b/configure.ac index ac36ee89..5e5e8639 100644 --- a/configure.ac +++ b/configure.ac @@ -308,23 +308,33 @@ AC_SUBST(ODP_DEPRECATED_API) ########################################################################## # Default warning setup ########################################################################## -ODP_CFLAGS="$ODP_CFLAGS -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes" -ODP_CFLAGS="$ODP_CFLAGS -Wmissing-declarations -Wold-style-definition -Wpointer-arith" -ODP_CFLAGS="$ODP_CFLAGS -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral" -ODP_CFLAGS="$ODP_CFLAGS -Wformat-security -Wundef -Wwrite-strings" -ODP_CFLAGS="$ODP_CFLAGS -std=c99" +ODP_CFLAGS="$ODP_CFLAGS -W -Wall -Werror" dnl Use -Werror in the checks below since Clang emits a warning instead of dnl an error when it encounters an unknown warning option. -AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough=0], - [ODP_CFLAGS="$ODP_CFLAGS -Wimplicit-fallthrough=0"], - [], [-Werror]) -AX_CHECK_COMPILE_FLAG([-Wformat-truncation=0], - [ODP_CFLAGS="$ODP_CFLAGS -Wformat-truncation=0"], - [], [-Werror]) -AX_CHECK_COMPILE_FLAG([-Wformat-overflow=0], - [ODP_CFLAGS="$ODP_CFLAGS -Wformat-overflow=0"], - [], [-Werror]) +AC_DEFUN([ODP_CHECK_CFLAG], + [AX_CHECK_COMPILE_FLAG([$1], + [ODP_CFLAGS="$ODP_CFLAGS $1"], + [], [-W -Wall -Werror], + [AC_LANG_SOURCE([int main(void) + {return 0;}])])]) +ODP_CHECK_CFLAG([-Wstrict-prototypes]) +ODP_CHECK_CFLAG([-Wmissing-prototypes]) +ODP_CHECK_CFLAG([-Wmissing-declarations]) +ODP_CHECK_CFLAG([-Wold-style-definition]) +ODP_CHECK_CFLAG([-Wpointer-arith]) +ODP_CHECK_CFLAG([-Wcast-align]) +ODP_CHECK_CFLAG([-Wnested-externs]) +ODP_CHECK_CFLAG([-Wcast-qual]) +ODP_CHECK_CFLAG([-Wformat-nonliteral]) +ODP_CHECK_CFLAG([-Wformat-security]) +ODP_CHECK_CFLAG([-Wundef]) +ODP_CHECK_CFLAG([-Wwrite-strings]) +ODP_CHECK_CFLAG([-Wimplicit-fallthrough=0]) +ODP_CHECK_CFLAG([-Wformat-truncation=0]) +ODP_CHECK_CFLAG([-Wformat-overflow=0]) + +ODP_CFLAGS="$ODP_CFLAGS -std=c99" # Extra flags for example to suppress certain warning types ODP_CFLAGS="$ODP_CFLAGS $ODP_CFLAGS_EXTRA" diff --git a/m4/ax_check_compile_flag.m4 b/m4/ax_check_compile_flag.m4 index c3a8d695..ca363971 100644 --- a/m4/ax_check_compile_flag.m4 +++ b/m4/ax_check_compile_flag.m4 @@ -4,7 +4,7 @@ # # SYNOPSIS # -# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS]) +# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT]) # # DESCRIPTION # @@ -19,6 +19,8 @@ # the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to # force the compiler to issue an error when a bad flag is given. # +# INPUT gives an alternative input source to AC_COMPILE_IFELSE. +# # NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this # macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG. # @@ -53,19 +55,19 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 2 +#serial 4 AC_DEFUN([AX_CHECK_COMPILE_FLAG], -[AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX +[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" - AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], + AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], [AS_VAR_SET(CACHEVAR,[yes])], [AS_VAR_SET(CACHEVAR,[no])]) _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags]) -AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes], +AS_VAR_IF(CACHEVAR,yes, [m4_default([$2], :)], [m4_default([$3], :)]) AS_VAR_POPDEF([CACHEVAR])dnl From patchwork Tue Aug 22 10: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: 110648 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5107917obb; Tue, 22 Aug 2017 03:23:29 -0700 (PDT) X-Received: by 10.55.94.2 with SMTP id s2mr179309qkb.253.1503397408849; Tue, 22 Aug 2017 03:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397408; cv=none; d=google.com; s=arc-20160816; b=H/7yb9qAYjefqvMDlLZXM8Yvs9yKkgQhmHWMVpzqfjxb52g66B8algmFqshgJZBlCx +gWsNsPlUtbGRtmH02vdssJ2v0nwVHxDLTsnH5wbHISDzGY/UJiwA7I8KKmvI/UqaFlB 578xv1MJOVAMLGu77p4r5zSXjX4dEXbTvO8VP4r5y3QWasbDJ7ZuhIO+Gq2Wm+6WWOmB HumTR4zKS+K2aEjkf2k4O1jMZTRl6mE2In1U74cICyJuKhGVkL8mdyxilS9Ek/EIYl3z mHtMQziDPhdRf4mGepSVQD9MCHFJl9ltS3jA11e6+Q6RMn+MKEpcjsl6bnrco/fBJXEU sg4w== 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=MoZ7Bex8BXajFHSWCF49OuktayRRrZYMbuJV0zwf52o=; b=AvkLFrCyqvGQArDfSyFxAbxehJOnbe9TQvnFa83v66l9NfhYwO6AvyKNg3jhYmTcpq zYkkaOQe1hQAme0vl+e0QOkxC73qxmQgqbLCyLbJ4GsZRJ3poXagU3A4/eD9B17UHk3b aawZVBiKqmvYOyVxd/3pBoj+Ku/NryP43JL33h86m5fh56cTtPaHy2BuLFma2ecFzFnP A3MGqkwIZeNuXOBYY7JEoNLmmoNV9vhnhH1BA90WJZe41/S1vfhlPattngNJfyWYqgE0 /Cn+Rn/tXoOcupdZI4zBMZ4WduaP8h3rh0u3QBjLxUYipqoK85RblPEj7iYsXRacmLb+ nJ4g== 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 v21si13437034qta.394.2017.08.22.03.23.28; Tue, 22 Aug 2017 03:23:28 -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 7008B644C3; Tue, 22 Aug 2017 10:23:28 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 DA9C965BDD; Tue, 22 Aug 2017 10:03:16 +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 2D9DD64474; Tue, 22 Aug 2017 10:02:52 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 5D51F64474 for ; Tue, 22 Aug 2017 10:00:32 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward100o.mail.yandex.net (Yandex) with ESMTP id EE8932A2166F for ; Tue, 22 Aug 2017 13:00:30 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id NzfAODOMEy-0UMajX4X; Tue, 22 Aug 2017 13:00:30 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0Uf45Rgk; Tue, 22 Aug 2017 13:00:30 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 13:00:06 +0300 Message-Id: <1503396009-8350-23-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 22/25] configure: finally stop pre-setting AM_CFLAGS/AM_CXXFLAGS 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 Instead of setting AM_CFLAGS/AM_CXXFLAGS update CFLAGS/CXXFLAGS variables. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 5e5e8639..91710769 100644 --- a/configure.ac +++ b/configure.ac @@ -335,6 +335,7 @@ ODP_CHECK_CFLAG([-Wformat-truncation=0]) ODP_CHECK_CFLAG([-Wformat-overflow=0]) ODP_CFLAGS="$ODP_CFLAGS -std=c99" +ODP_CXXFLAGS="$ODP_CXXFLAGS -std=c++11" # Extra flags for example to suppress certain warning types ODP_CFLAGS="$ODP_CFLAGS $ODP_CFLAGS_EXTRA" @@ -362,8 +363,8 @@ esac ########################################################################## # Default include setup ########################################################################## -AM_CFLAGS="$AM_CFLAGS $ODP_CFLAGS" -AM_CXXFLAGS="-std=c++11" +CFLAGS="$CFLAGS $ODP_CFLAGS" +CXXFLAGS="$CXXFLAGS $ODP_CXXFLAGS" AC_CONFIG_FILES([Makefile pkgconfig/libodp-linux.pc From patchwork Tue Aug 22 10:00:07 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: 110644 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5106301obb; Tue, 22 Aug 2017 03:21:09 -0700 (PDT) X-Received: by 10.55.91.199 with SMTP id p190mr200770qkb.118.1503397269589; Tue, 22 Aug 2017 03:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397269; cv=none; d=google.com; s=arc-20160816; b=VW8edzdPT3InyoERKN/RNxVclf99AOWDat8Kyjwu1t49ivuJz8tkqpWeMI9YPsNv4x SHykLHEurj2CxIduWCCsIOFD9qK2eJf8jQH2aLbdzjY5DO56VCaX889DfrCgAya2shKw P2g7TJbaJyWz+TuxFXMOMydc0BVIwm02cIelXLZKMYm4OMGJLSEWRirFY0goI7jAwk9l ZbV31cBK+J9WK4Aufxbpi1rRY8c64lFMCrhiNo4fFJGCyahTHuf0vKGFVS6RxbavXYsj ziY+u3AZhqCXAkLhnR11oKnEe1N1ylLEJgJIhkteT879+DESGudWj1D7XqYN59VZ13il ktjQ== 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=mYlGdG/biWwqvbOQK7Ld4C/2eKHYGgT5BeuNrtceJEQ=; b=u3P5MTniKEL2wnHgywyBzL9E5clm0ghWcSqCEGugTuese7O3A3H+MuSl6S6IyfAunO Sgh1vRVty2WDMyVCH+NfPQ2T3ccJaHn02rLrfaU4u3kbeoW48VZ8yjdgbVG9t1iT7h86 ljFjWDB/2PiRHkaCraUCJJ8qpQX60H3xzNJRFkwc77B/0r/vhDUwbbN+ma/y4LwJZr5d 7vWRnQIVCPtzQzANXOtxpSMKZg9etGlAW9XnUAA3K5rerpnne5OXkPZOtFRCHdWPSm2r aAtMYgyPLwkW43MnlERTVnVIEJ3JdTi7xFdFvfXXaZ6fm5tUoU+Ra6UAc10TRP+UVyP0 DXCw== 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 t4si13696425qkb.545.2017.08.22.03.21.09; Tue, 22 Aug 2017 03:21: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 3E2B460AC6; Tue, 22 Aug 2017 10:21: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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 77DBB65BC6; Tue, 22 Aug 2017 10:02:56 +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 6A53865BC9; Tue, 22 Aug 2017 10:02:47 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 7F53E65BC6 for ; Tue, 22 Aug 2017 10:00:33 +0000 (UTC) Received: from mxback4o.mail.yandex.net (mxback4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1e]) by forward102o.mail.yandex.net (Yandex) with ESMTP id BA4A25A03707 for ; Tue, 22 Aug 2017 13:00:31 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback4o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 7nsqIFzxxS-0VsCd212; Tue, 22 Aug 2017 13:00:31 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0VfKa5Ku; Tue, 22 Aug 2017 13:00:31 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 13:00:07 +0300 Message-Id: <1503396009-8350-24-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 23/25] configure: stop outputting empty AM_* variables 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 configure.ac now sets only generic CFLAGS/CXXFLAGS/LDFLAGS variables. So do stop outputting AM_* variables in the epilogue. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ configure.ac | 4 ---- 1 file changed, 4 deletions(-) diff --git a/configure.ac b/configure.ac index 91710769..1c748fdc 100644 --- a/configure.ac +++ b/configure.ac @@ -406,12 +406,8 @@ AC_MSG_RESULT([ cc: ${CC} cc version: ${CC_VERSION} cppflags: ${CPPFLAGS} - am_cppflags: ${AM_CPPFLAGS} - am_cxxflags: ${AM_CXXFLAGS} cflags: ${CFLAGS} - am_cflags: ${AM_CFLAGS} ldflags: ${LDFLAGS} - am_ldflags: ${AM_LDFLAGS} libs: ${LIBS} defs: ${DEFS} static libraries: ${enable_static} From patchwork Tue Aug 22 10:00:08 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: 110647 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5107591obb; Tue, 22 Aug 2017 03:22:57 -0700 (PDT) X-Received: by 10.55.124.67 with SMTP id x64mr224764qkc.98.1503397377315; Tue, 22 Aug 2017 03:22:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397377; cv=none; d=google.com; s=arc-20160816; b=YIgMC+OxwVX788T6/QcTg6+zWP+JRpr7gdXG5qtAWNEYGa8Mj3tyEj1OWoqrJg+VGb awtTyd9Tv3ce7nP6aklZXbB+ynJ+4/uZPqQw4G5b8TIi0U5YHg4A/w23kjc97YFNDu1g c7008S9Y/ssdSJRfYnUTphWgTVqRWzdDqTUnGryxHFQeDaR17NxTSzT83HsZALNhDrnM zrwAdQW4OGM6rHfosMJl2kEGYmymfD/1B01NeCt9jhT4/SFG3ePd+vgPIlLiVpy1sNGk GmzsOHfrAQ241Y21qDd+lBvKEVLH9GQo+fTUrQn95c/rNeWMUqz+qpLM+ZPjZxfDMJzZ RxiQ== 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=BI6PI5fJsDD19Cam0/6nyKVTdc6C82dBHMmsWG3ebzs=; b=QH43yafM+UKcInCjU98/TEkXpcm0hGpisUkLji/v9VmEVQwij0G+Pyrxku0XRe+6tC +G/VvDkB6Op6NMOOmu5ojdwDHc04Kjx8Qu6zo3AidzB/GyLDPu2XQNc5d68kay+Wtj1X 6OjsbN5K8hjhPe505IUDz5ZiE4tUlLK6tdZmYxdy96sEMZrtQ3hKC2/kSw3MVQzeBPFV bKVPynDWYSaPaCLEW0uQIwAF/iTB1nWF6M3juiKdpKfBBzCqmCj/GmbRddrEuWMGaqSG Dh7Yvqm3fIcO98QS7JnApa/cch2Vv+nYRj7nTJ3iXg+FfdNO8m7J1RVzEA/ck9LUoxnG Shjw== 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 16si13387266qkl.451.2017.08.22.03.22.56; Tue, 22 Aug 2017 03:22:57 -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 CBC14636AF; Tue, 22 Aug 2017 10:22:56 +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=0.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, LONGWORDS, RCVD_IN_DNSWL_NONE, 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 973E165C35; Tue, 22 Aug 2017 10:03:12 +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 B817265BC3; Tue, 22 Aug 2017 10:02:51 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 7F11C65BC3 for ; Tue, 22 Aug 2017 10:00:33 +0000 (UTC) Received: from mxback10j.mail.yandex.net (mxback10j.mail.yandex.net [IPv6:2a02:6b8:0:1619::113]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 77DBD510446A for ; Tue, 22 Aug 2017 13:00:32 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback10j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id dpoAsZqld6-0WeSao7Z; Tue, 22 Aug 2017 13:00:32 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0VfWfIST; Tue, 22 Aug 2017 13:00:31 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 13:00:08 +0300 Message-Id: <1503396009-8350-25-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 24/25] configure: drop AC_FUNC_MALLOC test 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 AC_FUNC_MALLOC interacts badly with cross-compilation. Instead of hacking around our cross-compilation setup just replace this macro with plain AC_CHECK_FUNCS test. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 1c748fdc..e6014835 100644 --- a/configure.ac +++ b/configure.ac @@ -63,9 +63,10 @@ AC_SUBST([LIBTOOL_DEPS]) AM_PROG_LIBTOOL # Checks for library functions. -AC_FUNC_MALLOC +dnl breaks cross-compilation and malloc(0) behaviour is not that important +dnl AC_FUNC_MALLOC AC_FUNC_MMAP -AC_CHECK_FUNCS([bzero clock_gettime gethostbyname getpagesize gettimeofday memset munmap socket strchr strerror strrchr strstr strtoull]) +AC_CHECK_FUNCS([bzero clock_gettime gethostbyname getpagesize gettimeofday malloc memset munmap socket strchr strerror strrchr strstr strtoull]) # Checks for header files. AC_HEADER_RESOLV From patchwork Tue Aug 22 10:00:09 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: 110645 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5106608obb; Tue, 22 Aug 2017 03:21:37 -0700 (PDT) X-Received: by 10.55.168.145 with SMTP id r139mr187171qke.258.1503397297839; Tue, 22 Aug 2017 03:21:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503397297; cv=none; d=google.com; s=arc-20160816; b=yQzDl0qkijAlTLbeqWRjXDtV3KD+FCFQqjHbKueWIho40C5/f2wGQB+pUXNOOlMT5w sY1yN/ltOSp9wJI7n7iKdDhxZiQ5tIFm7+8ZJpDqq56UCn/kDThkruOKAMgiXy1msz+Q 9QlzfCrHRxecmtUaEaq3VWbtV5X3xjrb7GJCcx1bpWW29ULW45XiysP+mwBB19TeAKla 0PLE78e+26Q7XVNaNX+J6yxT4EwgbkQ5OBNxY5aNMNqQl2Sn3+khBYRBmxZDDMV4akbr E0ml1VBq9MeMSUM8pfKMt+SWGR+wPyLwnnuxWcWJV4QdjxpWlJZe7kf9fgcC5Wep2Mqb oZ2w== 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=x5XBKCOf39FXerktUhRWkVBIQ/tgS7aEIz9ugnZTpr0=; b=RG/4K7B9pE324rtsYCscnZ1iSYU2I/qTit1nqyrRhX/35UdO00zW9ybOHGNf8KT7L0 FPL0zarp4u00jjYvK4KynANtE3pBZwovDPhWBNsTppmS8R1ljCCq7xABZyprhhUKFs/U xwbRSOCpULWx6EkAdF1RivbG+5vETlf1+bPe2QJXuoGRmuGlhmp2ivvC+8k+RHOenMF7 ulTnYgE9GFtAHzgd5wu35iQMpLPSEnu+ralpMcV+60hEZgXk/I4enVSU34Z12xRKJHdh XoESoF+KCSlaboQedgvvZ9kMrTxZmRIw9aKMQaHvHVKwBdAI5mEhjWRPE+m5aI39SGCc tB7A== 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 z66si13720431qkg.96.2017.08.22.03.21.37; Tue, 22 Aug 2017 03:21: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 79BFA608CA; Tue, 22 Aug 2017 10:21: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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 BECB165C17; Tue, 22 Aug 2017 10:02:58 +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 4C4B165C1C; Tue, 22 Aug 2017 10:02:47 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 9EDC165BC8 for ; Tue, 22 Aug 2017 10:00:34 +0000 (UTC) Received: from mxback3j.mail.yandex.net (mxback3j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10c]) by forward100o.mail.yandex.net (Yandex) with ESMTP id 884F92A23AD2 for ; Tue, 22 Aug 2017 13:00:33 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback3j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id gHUJGO0hUb-0XDujqHU; Tue, 22 Aug 2017 13:00:33 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0Wf800bU; Tue, 22 Aug 2017 13:00:32 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 13:00:09 +0300 Message-Id: <1503396009-8350-26-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 25/25] travis: pass cunit path to distcheck options directly 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 Rather then overriding CFLAGS/LDFLAGS, pass --with-cunit-path to make distcheck directly. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d750af1d..ddc870da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -236,7 +236,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 CFLAGS="-I$HOME/cunit-install/$CROSS_ARCH/include" LDFLAGS="-L$HOME/cunit-install/$CROSS_ARCH/lib" + - 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 compiler: gcc