On 31.08.2018 16:39, Bruce Richardson wrote: > On Fri, Aug 31, 2018 at 03:45:15PM +0300, Ilya Maximets wrote: >> Sending as RFC because I failed to force meson to >> build without deprecation warnings. I tried a lot >> of different combinations of 'allow_experimental_apis' >> and '-DALLOW_EXPERIMENTAL_APIS' without success. >> Any help appreciated. >> > > See patch: http://patches.dpdk.org/patch/44129/ > > Basically, the experimental_apis setting was not getting passed through and > used by the base code libraries when set at the higher level, since they > were being built individually by the respective base/meson.build files, > rather than by the main driver build loop. Putting in an explicit check for > the value in the base code files should make your life easier here. You > just need to ensure that the "allow_experimental_apis" setting is set > *before* the call to "subdir(base)" e.g. in ixgbe, it's currently after and > needs to be moved by your patchset.
Thanks. It works. Best regards, Ilya Maximets. > > Regards, > /Bruce > > PS: I also notice that i40e is using the experimental APIs cflags directly, > rather than the variable, I'll have to fix that in a later patch. > >