From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id 7C0B25942 for ; Tue, 19 Feb 2019 16:07:43 +0100 (CET) Received: by mail-wm1-f67.google.com with SMTP id m1so3206637wml.2 for ; Tue, 19 Feb 2019 07:07:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:content-transfer-encoding:mime-version; bh=IzOCdrWU1U+iHFCVmmADoPfFENETM44ZuCZy5tcZeD0=; b=Wwp2YDvUVf44N2WwaoEA9z4Vzi6j4wXZS6+mdC7zLtN6aLTlPTYHX9zuJAMBgzIktN oO59EcEj/U6lvbINo+dEtEPZVGxRRroqlPsX+U2oCfFC/Yt6UPKbtD4uAoIe/4J0Dv4W OSqGA36jQGIf8FaaUGJkCWM26tcYkr7VGBaJLNEGqH0jUN5F1gjbnGRn10Yp5dNgLPUx Mp9GJ/RAl12U0KmJwXYh/WTto8ypcDjS8uwVLKOBmcLnBhp9J6cUMZl8RVWJ264zBCUr 2PFl1JolkKo793818yMtX/pUTejbPrKPyFQqU1JcNePvsXJVCuAL84TjcaLtQ64onBF9 BY4w== X-Gm-Message-State: AHQUAuar0D5BW2XodA/Zxfv+rWQSO682DZJdcz3wzSlvLC/yxE3uEJde /rXMssTKp8zT0Wpukvas6bQ= X-Google-Smtp-Source: AHgI3IbnjPkMGov9vfOp5iqOpWflTyj0PVK2orKLyHbkaWyX0dhdrUM6RVRMmKfNVsgfD2JOp3JQ9A== X-Received: by 2002:a1c:dc07:: with SMTP id t7mr3332927wmg.90.1550588862898; Tue, 19 Feb 2019 07:07:42 -0800 (PST) Received: from localhost ([2a01:4b00:f419:6f00:99f5:a18b:f130:781]) by smtp.gmail.com with ESMTPSA id h15sm1613055wrt.56.2019.02.19.07.07.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Feb 2019 07:07:42 -0800 (PST) Message-ID: <1550588861.3736.2.camel@debian.org> From: Luca Boccassi To: Bruce Richardson , dev@dpdk.org Date: Tue, 19 Feb 2019 15:07:41 +0000 In-Reply-To: <20180926091536.61370-1-bruce.richardson@intel.com> References: <20180926091536.61370-1-bruce.richardson@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] build: set RTE_ARCH_64 based on pointer size X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2019 15:07:43 -0000 On Wed, 2018-09-26 at 10:15 +0100, Bruce Richardson wrote: > Rather than relying on the target machine architecture, use the > size of a pointer from the compiler to determine if we are 64-bits > or not. This allows correct behaviour when you pass -m32 as a compile > option. It also allows us to use this value repeatedly throughout the > repo rather than continually testing for the sizeof(void*). >=20 > Signed-off-by: Bruce Richardson > --- > =C2=A0config/arm/meson.build=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| 3 +-- > =C2=A0config/meson.build=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0| 5 ++++- > =C2=A0config/ppc_64/meson.build=C2=A0=C2=A0=C2=A0| 4 +++- > =C2=A0config/x86/meson.build=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| 3 +-- > =C2=A0drivers/net/sfc/meson.build | 2 +- > =C2=A0lib/librte_bpf/meson.build=C2=A0=C2=A0| 2 +- > =C2=A0lib/librte_kni/meson.build=C2=A0=C2=A0| 2 +- > =C2=A07 files changed, 12 insertions(+), 9 deletions(-) Acked-by: Luca Boccassi --=20 Kind regards, Luca Boccassi