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 4A10341E3A; Fri, 10 Mar 2023 10:23:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35EC740ED9; Fri, 10 Mar 2023 10:23:40 +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 017BA40685 for ; Fri, 10 Mar 2023 10:23:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678440218; 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: in-reply-to:in-reply-to:references:references; bh=LjEjVoQXpfnR10igwFdiV/l9JIS47BFrP6hfeub1nys=; b=HP1PV0g4mWENIvgsOCvbMj7fcAed0lmKjybYzbfrJduMRsQfGNZljJ0MI/CZfty9w9nGwg b5NnX99krnNpyd/+5VPM79efM0BCxfuiEWkwP18RAr0+2SkjHPPc2XfGpNz0bOkcg+Jq/p q1w1S2UROf04WFtHYA6OVKBCek4nTMc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-526-rDTX3DW5OnWiqyPFP028Kg-1; Fri, 10 Mar 2023 04:23:34 -0500 X-MC-Unique: rDTX3DW5OnWiqyPFP028Kg-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 DBB2585C6F4; Fri, 10 Mar 2023 09:23:33 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.224.63]) by smtp.corp.redhat.com (Postfix) with ESMTP id 148A72026D68; Fri, 10 Mar 2023 09:23:32 +0000 (UTC) From: David Marchand To: dev@dpdk.org, thomas@monjalon.net Cc: Srikanth Yalavarthi Subject: [PATCH v2] mldev: disable build on Windows Date: Fri, 10 Mar 2023 10:23:29 +0100 Message-Id: <20230310092329.1748666-1-david.marchand@redhat.com> In-Reply-To: <20230310090717.1470032-1-david.marchand@redhat.com> References: <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 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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. Fixes: 9637de38a2e3 ("mldev: add scalar type conversion") Signed-off-by: David Marchand --- lib/mldev/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/mldev/meson.build b/lib/mldev/meson.build index 23d108617d..51ba809465 100644 --- a/lib/mldev/meson.build +++ b/lib/mldev/meson.build @@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright (c) 2022 Marvell. +if is_windows + build = false + reason = 'not supported on Windows' + subdir_done() +endif + sources = files( 'rte_mldev_pmd.c', 'rte_mldev.c', -- 2.39.2