[dpdk-dev] [PATCH] build: set RTE_ARCH_64 based on pointer size
Thomas Monjalon
thomas at monjalon.net
Tue Feb 26 18:34:54 CET 2019
26/09/2018 12:18, Luca Boccassi:
> 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*).
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> > ---
> > config/arm/meson.build | 3 +--
> > config/meson.build | 5 ++++-
> > config/ppc_64/meson.build | 4 +++-
> > config/x86/meson.build | 3 +--
> > drivers/net/sfc/meson.build | 2 +-
> > lib/librte_bpf/meson.build | 2 +-
> > lib/librte_kni/meson.build | 2 +-
> > 7 files changed, 12 insertions(+), 9 deletions(-)
>
> Tested-by: Luca Boccassi <bluca at debian.org>
>
> Build-tested on ppc64 and arm64 native Debian sid hosts.
Rebased with new change in drivers/net/enic/meson.build,
and applied, thanks
More information about the dev
mailing list