Re: [dpdk-dev] [PATCH v2 3/4] buildtools: support object file extraction for Windows

2021-01-25 Thread Thomas Monjalon
08/01/2021 03:47, Dmitry Kozlyuk: > --- /dev/null > +++ b/buildtools/gen-pmdinfo-cfile.py [...] > +with tempfile.TemporaryDirectory() as temp: > +proc = subprocess.run( > +# Don't use "ar p", because its output is corrupted on Windows. > +[ar, "xv", os.path.abspath(archive)], ca

[dpdk-dev] [PATCH v2 3/4] buildtools: support object file extraction for Windows

2021-01-07 Thread Dmitry Kozlyuk
clang archiver tool is llvm-ar on Windows and ar on other platforms. MinGW always uses ar. Replace shell script (Unix-only) that calls ar with a Python script (OS-independent) that calls an appropriate archiver tool selected at configuration time. Move the logic not to generate empty sources into p