numam-dpdk/buildtools
David Marchand 56ea803e87 build: remove Windows export symbol list
Rather than have two files that keeps getting out of sync, let's
annotate the version.map to generate the Windows export file.

Some mlx5 symbols (haswell_broadwell_cpu, mlx5_glue, mlx5_os_*) were
only exported for Windows.
All of them are available and used by Linux too, so this patch adds
them in version.map.

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@redhat.com>
Tested-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
2021-04-08 17:57:33 +02:00
..
chkincs mbuf: remove unneeded atomic generic header include 2021-02-05 19:49:32 +01:00
pkg-config build: fix linker flags on Windows 2021-01-13 22:13:37 +01:00
binutils-avx512-check.sh buildtools: fix build with busybox 2021-03-23 08:39:11 +01:00
call-sphinx-build.py doc: make sphinx comply with meson werror option 2020-10-05 23:52:02 +02:00
check-symbols.sh buildtools: fix build with busybox 2021-03-23 08:39:11 +01:00
coff.py buildtools: support COFF in pmdinfogen 2021-01-25 23:23:48 +01:00
gen-pmdinfo-cfile.py buildtools: fix archive extraction for LLVM 8 2021-01-28 22:48:29 +01:00
list-dir-globs.py build: allow using wildcards to disable drivers 2020-02-06 09:17:24 +01:00
map_to_win.py build: remove Windows export symbol list 2021-04-08 17:57:33 +02:00
map-list-symbol.sh buildtools: fix build with busybox 2021-03-23 08:39:11 +01:00
meson.build buildtools: use build directory for temporary files 2021-01-26 00:41:08 +01:00
options-ibverbs-static.sh buildtools: get static mlx dependencies for meson 2020-02-14 12:42:13 +01:00
pmdinfogen.py buildtools: fix pmdinfogen with pyelftools < 0.24 2021-01-26 00:39:34 +01:00
symlink-drivers-solibs.sh build: fix ninja install on FreeBSD 2019-05-02 23:07:04 +02:00