From patchwork Fri Mar 10 09:07:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 124987 X-Patchwork-Delegate: thomas@monjalon.net 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 BC24F41E3A; Fri, 10 Mar 2023 10:07:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9CC7B40ED9; Fri, 10 Mar 2023 10:07:25 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 610DA40685 for ; Fri, 10 Mar 2023 10:07:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678439243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ck5MSiu0AJUNOpTbCGn6tdB623hUlh8BGXhdXufNvVk=; b=CRXrAzYD9fgxDPp0BapTSv1GJL6WEzKmMt5BjXw2Vqjg41dVdVkA9vVsFnFetYADe/RrGb 8DP4/uDXN8NML2ec6CSx33ShvGhHjyCKgk0gmnwREBIyIGYtMy1RBmhb7qlhywCibLmn1H 1USIsayWNodf3MwrPXgnOsDQvTaYISQ= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-584-XZzQfS0KOAGryBBymx3-8g-1; Fri, 10 Mar 2023 04:07:20 -0500 X-MC-Unique: XZzQfS0KOAGryBBymx3-8g-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9369429AA2D9; Fri, 10 Mar 2023 09:07:20 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.224.63]) by smtp.corp.redhat.com (Postfix) with ESMTP id C12D62026D4B; Fri, 10 Mar 2023 09:07:19 +0000 (UTC) From: David Marchand To: dev@dpdk.org, thomas@monjalon.net Cc: Srikanth Yalavarthi Subject: [PATCH] mldev: disable build on Windows Date: Fri, 10 Mar 2023 10:07:17 +0100 Message-Id: <20230310090717.1470032-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.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 Caught by UNH lab, Windows compilation is broken because of symbol exports: rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_bfloat16_to_float32 rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_float16_to_float32 rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_float32_to_bfloat16 rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_float32_to_float16 rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_float32_to_int16 rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_float32_to_int8 rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_float32_to_uint16 rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_float32_to_uint8 rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_int16_to_float32 rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_int8_to_float32 rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_uint16_to_float32 rte_mldev_exports.def : error LNK2001: unresolved external symbol rte_ml_io_uint8_to_float32 Disable Windows build until this is fixed. Signed-off-by: David Marchand --- lib/mldev/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/mldev/meson.build b/lib/mldev/meson.build index 23d108617d..42ee309870 100644 --- a/lib/mldev/meson.build +++ b/lib/mldev/meson.build @@ -1,6 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright (c) 2022 Marvell. +if is_windows + subdir_done() +endif + sources = files( 'rte_mldev_pmd.c', 'rte_mldev.c',