mbox series

[v3,0/4] enable use of the MSVC compiler

Message ID 1682453329-20435-1-git-send-email-roretzla@linux.microsoft.com (mailing list archive)
Series enable use of the MSVC compiler |


Tyler Retzlaff April 25, 2023, 8:08 p.m. UTC
  Introduce minimum changes to the build system to allow use of the MSVC

This change is intended to enable a phased approach to allowing DPDK to
built with MSVC. Building with MSVC removes barriers to enterprise
customers use of DPDK who have constraints around security policy,
compliance and functional requirements.

  * enable compilation with C11 optional atomics
  * enable compilation with C23 typeof operator
  * disable microsoft secure crt checks (dpdk code fails)
  * force use of intrinsics
  * moved checks to skip drivers, apps, usertools directories
    in to <dir>/meson.build file and removed conditional
    check from root meson.build (patch 3/3).

Tyler Retzlaff (4):
  build: unblock the use of the MSVC compiler
  build: determine execution environment at config time
  build: limit what is built when using MSVC compiler
  build: enable MSVC specific compiler options

 app/meson.build        |  5 +++++
 buildtools/meson.build | 10 +++++++---
 config/meson.build     | 37 ++++++++++++++++++++++++++++++-------
 config/x86/meson.build |  8 +++++---
 drivers/meson.build    |  4 ++++
 lib/eal/meson.build    |  8 --------
 lib/meson.build        | 20 +++++++++++++++++---
 usertools/meson.build  |  4 ++++
 8 files changed, 72 insertions(+), 24 deletions(-)