From patchwork Wed Jan 31 13:00:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 126326 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp704671ljc; Wed, 31 Jan 2018 05:01:36 -0800 (PST) X-Google-Smtp-Source: AH8x226XP8jfUrNjUlpSPtQGtxTNdM60iTvol3vDZCp4ZvZjO57Sik8pGX1JQDtqUEqQCwq7dI6/ X-Received: by 10.200.44.189 with SMTP id 58mr51090054qtw.214.1517403695908; Wed, 31 Jan 2018 05:01:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517403695; cv=none; d=google.com; s=arc-20160816; b=NIWvDnWYvBJuMk7FKxiW0yTSVyxq900PXB1GMJsIksoKiiY9/upIDe7kW0xMpeb7Kq 3JnAyyKOYmUnVmOOtV89oNQ1USLfy/xTuxhUXZ++J2OqW3uRUixc0wYxXPOV81Nz1Vxa KFjRyhHwjJITduRSI6onNofqgX97OzsOoCPMpcfMNVbhTPK2VK46KNf2UWsyjpbMO5Ac qMuotwnb8gAAcidmxnQPpg/s+CriWv04g5zH5OmeCBz5xaJtI7MSJaakab65LJ+B8PVO S3plYRN07dJSoJUifPlHJcbyhTnGRsToP6yzETxy/7k7uGFIPOUFeyziaYxhBrDExOfh kbVQ== 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=M0luLF81Omr4yLBPcuhpwIPPet9917i/sbM1wNqWnF4=; b=Un/UeZOn9IJkHgdx4jeBO3hBV9Eipp4jTn47UqYHICaRuh+xtwV5/2enqNKApO6lWX FpXCK10DY0y5UfMDWgDJFNVOnTwpRj1G0GzzM7UjLF3OENcbebjVF1uLCvwh/gbNITGB OgoKAksCNweSyk1EeM4oXWps3lDkUb7lSwyVl/DwtF8lFpFXmByqbAYXhUucwKDcuc6d aRfXJH8yrYEp1kN+wsvWRWhNRBCjySWeaIRz5NZVqiioem/Yb5cn52OHFhJAHTpIq8UB 4IBmna3XI2j+mEBU3cvFS+ab6+7CYPfEeSXQAcMTFtJl0NTF1Gq6kaHTla97x/uFzTSq chog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id m137si4646890qke.337.2018.01.31.05.01.35; Wed, 31 Jan 2018 05:01:35 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 9053F61765; Wed, 31 Jan 2018 13:01:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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 19075616DA; Wed, 31 Jan 2018 13:00:31 +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 E4EF9616DA; Wed, 31 Jan 2018 13:00:16 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 3A532608A2 for ; Wed, 31 Jan 2018 13:00:13 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward100o.mail.yandex.net (Yandex) with ESMTP id 66C0C2A2342D for ; Wed, 31 Jan 2018 16:00:11 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id VHSze1lV4K-0BOicX2W; Wed, 31 Jan 2018 16:00:11 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vZ2onGHxam-0Ah0hJAM; Wed, 31 Jan 2018 16:00:10 +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: Wed, 31 Jan 2018 16:00:04 +0300 Message-Id: <1517403609-12603-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517403609-12603-1-git-send-email-odpbot@yandex.ru> References: <1517403609-12603-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 440 Subject: [lng-odp] [PATCH v1 1/6] configure: set ODP_ABI_COMPAT before descending into platform 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 platform m4/configure.m4 file can make use of ODP_ABI_COMPAT. So let's set it before calling into platform file. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 440 (lumag:build-fixes) ** https://github.com/Linaro/odp/pull/440 ** Patch: https://github.com/Linaro/odp/pull/440.patch ** Base sha: b95ccd3db6eeb7358a877541747e06354429acdd ** Merge commit sha: 6f20299f993632a4dda987a31b37160d80c25279 **/ configure.ac | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/configure.ac b/configure.ac index 6d76bead8..1edc01f4e 100644 --- a/configure.ac +++ b/configure.ac @@ -160,6 +160,21 @@ fi PKGCONFIG_VERSION=$(echo $VERSION | awk -F '.git' '{print $1}') AC_SUBST(PKGCONFIG_VERSION) +########################################################################## +# Enable/disable ABI compatible build +########################################################################## +ODP_ABI_COMPAT=1 +abi_compat=yes +AC_ARG_ENABLE([abi-compat], + [ --disable-abi-compat disables ABI compatible mode, enables inline code in header files], + [if test "x$enableval" = "xno"; then + ODP_ABI_COMPAT=0 + abi_compat=no + #if there is no ABI compatibility the .so numbers are meaningless + ODP_LIBSO_VERSION=0:0:0 + fi]) +AM_CONDITIONAL(ODP_ABI_COMPAT, [test "x$ODP_ABI_COMPAT" = "x1"]) + ########################################################################## # Determine which platform to build for ########################################################################## @@ -282,21 +297,6 @@ AS_IF([test "x$enable_helper_debug_print" != "xno"], [ODPH_DEBUG_PRINT=1], AC_DEFINE_UNQUOTED([ODPH_DEBUG_PRINT], [$ODPH_DEBUG_PRINT], [Define to 1 to display helper debug information]) -########################################################################## -# Enable/disable ABI compatible build -########################################################################## -ODP_ABI_COMPAT=1 -abi_compat=yes -AC_ARG_ENABLE([abi-compat], - [ --disable-abi-compat disables ABI compatible mode, enables inline code in header files], - [if test "x$enableval" = "xno"; then - ODP_ABI_COMPAT=0 - abi_compat=no - #if there is no ABI compatibility the .so numbers are meaningless - ODP_LIBSO_VERSION=0:0:0 - fi]) -AM_CONDITIONAL(ODP_ABI_COMPAT, [test "x$ODP_ABI_COMPAT" = "x1"]) - ########################################################################## # Enable/disable deprecated API definitions ##########################################################################