From patchwork Tue Oct 17 13:13:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Retzlaff X-Patchwork-Id: 267 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 4C7844318A; Tue, 17 Oct 2023 15:14:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F35442DD1; Tue, 17 Oct 2023 15:13:53 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 19F6B402E6 for ; Tue, 17 Oct 2023 15:13:49 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 3B78120B74C0; Tue, 17 Oct 2023 06:13:48 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 3B78120B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1697548428; bh=+P5V0NhpE/KoSkVwdvOLIncOMkmQruyN+rwINOtu5ao=; h=From:To:Cc:Subject:Date:From; b=GccPElUNwEYo8YllA6WIAX+lou//6GVBA5ROgjaIzFCFp/sQyKXVIBlCq6VtxAGS/ RqJ0oTDRwd7BfuwF/JbC4Jh9gxwQFFuJJ9uNDQSDScOCByXcwRO1H8xuEoNM6Py2rK WWL/EQfN7gOsCCXUjbE98VvHV+JRElh++nC5oeZU= From: Tyler Retzlaff To: dev@dpdk.org Cc: david.marchand@redhat.com, Bruce Richardson , Tyler Retzlaff Subject: [PATCH 0/2] make dpdk buildable with latest msvc Date: Tue, 17 Oct 2023 06:13:45 -0700 Message-Id: <1697548427-10153-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 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 Tyler Retzlaff (2): build: temporarily disable MSVC warnings eal: temporarily disable standard c atomics support for MSVC config/meson.build | 3 +++ lib/eal/include/rte_stdatomic.h | 2 ++ 2 files changed, 5 insertions(+)