Re: [dpdk-dev] [PATCH v2] build: meson set toolchain info during config init

2018-04-03 Thread Pavan Nikhilesh
On Tue, Apr 03, 2018 at 11:55:24AM +0100, Bruce Richardson wrote: > On Tue, Apr 03, 2018 at 03:51:10PM +0530, Pavan Nikhilesh wrote: > > Meson set RTE_TOOLCHAIN to clang/gcc and set RTE_TOOLCHAIN_CLANG/GCC to > > 1 during initilizing dpdk_conf so that it can be used by both x86 and arm. > > > > Sig

Re: [dpdk-dev] [PATCH v2] build: meson set toolchain info during config init

2018-04-03 Thread Bruce Richardson
On Tue, Apr 03, 2018 at 03:51:10PM +0530, Pavan Nikhilesh wrote: > Meson set RTE_TOOLCHAIN to clang/gcc and set RTE_TOOLCHAIN_CLANG/GCC to > 1 during initilizing dpdk_conf so that it can be used by both x86 and arm. > > Signed-off-by: Pavan Nikhilesh > --- > > v2 Changes: > - Use get_id for id

[dpdk-dev] [PATCH v2] build: meson set toolchain info during config init

2018-04-03 Thread Pavan Nikhilesh
Meson set RTE_TOOLCHAIN to clang/gcc and set RTE_TOOLCHAIN_CLANG/GCC to 1 during initilizing dpdk_conf so that it can be used by both x86 and arm. Signed-off-by: Pavan Nikhilesh --- v2 Changes: - Use get_id for identifying compiler instead of checking for compiler defines manually.(Bruce) c