[dpdk-dev] [PATCH v8 10/10] build: meson changes to build on windows
Anand Rawat
anand.rawat at intel.com
Wed Apr 3 01:01:47 CEST 2019
On 4/2/2019 3:51 PM, Thomas Monjalon wrote:
> 02/04/2019 05:54, Anand Rawat:
>> Added meson workarounds to build helloworld on Windows.
>> Windows currently only supports kvargs and eal libraries.
>> This change restricts the build flow to supported libraries
>> only.
>>
>> Signed-off-by: Anand Rawat <anand.rawat at intel.com>
>> Signed-off-by: Pallavi Kadam <pallavi.kadam at intel.com>
>> Reviewed-by: Jeff Shaw <jeffrey.b.shaw at intel.com>
>> Reviewed-by: Ranjit Menon <ranjit.menon at intel.com>
>> ---
>> --- a/examples/meson.build
>> +++ b/examples/meson.build
>> @@ -35,7 +35,9 @@ foreach example: examples
>>
>> ext_deps = [execinfo]
>> includes = [include_directories(example)]
>> - deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline']
>> + if host_machine.system() == 'windows'
>> + deps = ['eal'] # only supported lib on Windows currently
>> + endif
>> subdir(example)
>
> This is not what I call keeping build intact for Linux/BSD :)
>
> I did not catch it before because test-meson-builds.sh is not testing
> compilation of the examples with meson. Bruce, may we add it?
>
> I will add back the original deps line in master branch.
>
>
That is correct,
deps = ['eal', 'mempool', 'net', 'mbuf', 'ethdev', 'cmdline']
should have not been removed from this file. Please add the line
back.
--
Anand Rawat
More information about the dev
mailing list