[dpdk-dev] [PATCH v2] build: list symbols exports in a single file

David Marchand david.marchand at redhat.com
Thu Apr 8 18:11:36 CEST 2021


On Tue, Apr 6, 2021 at 7:59 PM David Marchand <david.marchand at redhat.com> wrote:
>
> Rather than have two files that keeps getting out of sync, let's
> annotate the version.map to generate the Windows export file.
>
> Note: Existing version.map annotation achieved with:
> $ for dir in lib/librte_eal drivers/common/mlx5; do
>     ./buildtools/map-list-symbol.sh $dir/*.map |
>     while read file version sym; do
>       ! git grep -qw $sym $dir/*.def || continue;
>       sed -i -e "s/$sym;/$sym; # WINDOWS_NO_EXPORT/" $dir/*.map;
>     done;
>   done
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>

Tested-by: Tal Shnaiderman <talshn at nvidia.com>
Acked-by: Thomas Monjalon <thomas at monjalon.net>

Updated commitlog and sorted common/mlx5 updates (from offlist
comments with Thomas).

Applied, thanks.

-- 
David Marchand



More information about the dev mailing list