From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6A559429D8; Tue, 25 Apr 2023 22:09:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BEBC542D0B; Tue, 25 Apr 2023 22:08:53 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id F08B7410DD for ; Tue, 25 Apr 2023 22:08:50 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 28A5621C2B2B; Tue, 25 Apr 2023 13:08:50 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 28A5621C2B2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1682453330; bh=AdaC3D5B+kVVAx5N54TaMDc9qjxrBGTmIt1dTvsv8wY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qv6648M2SdcurpTuyPWIVprQvbjHQkGEPYe4MHX8t7wtI2Ez98nnIdw4JcQ/k3s99 WIqUHxUFgS1HUxfICjV+zudeiepIwe11WEzKgw9D4O4C+A4kw//t3W83q7FX4Jc8nI vD8sxnmkz/b8efwnzYvEBHazEyO7GWTceG1VCy9A= From: Tyler Retzlaff To: dev@dpdk.org Cc: bruce.richardson@intel.com, david.marchand@redhat.com, thomas@monjalon.net, Tyler Retzlaff Subject: [PATCH v3 0/4] enable use of the MSVC compiler Date: Tue, 25 Apr 2023 13:08:45 -0700 Message-Id: <1682453329-20435-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1674674707-3094-1-git-send-email-roretzla@linux.microsoft.com> References: <1674674707-3094-1-git-send-email-roretzla@linux.microsoft.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Introduce minimum changes to the build system to allow use of the MSVC compiler. 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. v3: * enable compilation with C11 optional atomics * enable compilation with C23 typeof operator * disable microsoft secure crt checks (dpdk code fails) * force use of intrinsics v2: * moved checks to skip drivers, apps, usertools directories in to /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(-) -- 1.8.3.1