On Sun, Nov 28, 2021 at 1:57 PM Leonid Bloch <leon...@asocscloud.com> wrote: > I'm trying to build DPDK 19.11.8 with Meson/Ninja using ICC. When using > `make`, it's as simple as: `make T=x86_64-native-linuxapp-icc`. > So there are two questions: > > 1. How is the same achieved with DPDK 19.11.8 when using Meson/Ninja? > 2. Is the answer to (1) still the same in newer DPDK versions? > > I did not find anything about it in the documentation, except the > `--cross-file` flag for meson, but there appears to be no adequate > config file for this in `config/x86`. > > Can anyone please assist?
To build in a directory called "x86_64-native-linuxapp-icc", please try: $ CC=icc meson setup x86_64-native-linuxapp-icc $ ninja-build -C x86_64-native-linuxapp-icc -- David Marchand