From patchwork Tue Oct 17 13:49:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Retzlaff X-Patchwork-Id: 268 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 330524318A; Tue, 17 Oct 2023 15:49:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D195242D6B; Tue, 17 Oct 2023 15:49:28 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 818CE40273 for ; Tue, 17 Oct 2023 15:49:25 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 9D9E820B74C0; Tue, 17 Oct 2023 06:49:24 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9D9E820B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1697550564; bh=r8CUjPHG65JLfJBwpY4S4u3apWRTbkGDqbewt0/HcGc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BzxuJ1FjDvZXBRughQ1S80/a6RpJ93jBm3rQPrwmuDjlHtclTn8S2xnGSffXi1UMe ovlp6wnKq3c4hAjym0d2nwkxiag0A6YgJrGmwqWzMjajjmanACXyT0VqjPI49PuPBd /Qy8IunU9RRMgwAI4oNOB3YbktQm0vmM4jMg0e/Y= From: Tyler Retzlaff To: dev@dpdk.org Cc: david.marchand@redhat.com, Bruce Richardson , Tyler Retzlaff Subject: [PATCH v2 0/2] make dpdk buildable with latest msvc Date: Tue, 17 Oct 2023 06:49:21 -0700 Message-Id: <1697550563-17532-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1697548427-10153-1-git-send-email-roretzla@linux.microsoft.com> References: <1697548427-10153-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 This series makes some minor temporary modifications to the MSVC build to allow DPDK to be buildable. The changes are only temporary to allow Windows/MSVC CI pipeline to be established. Warnings will be made clean in a future series and avoidance of STDC atomics check will be removed when the publicly available compiler is formally released. With this series applied you can do the following from a "Developer Command Prompt for VS 2022 Preview" with Visual Studio 17.8.0 Preview 3.0 installed. meson setup --werror -Denable_stdatomic=true b meson compile -C b v2: * provide comments indicating which warnings are being disabled Tyler Retzlaff (2): build: temporarily disable MSVC warnings eal: disable standard c atomics support check for MSVC config/meson.build | 5 +++++ lib/eal/include/rte_stdatomic.h | 2 ++ 2 files changed, 7 insertions(+)