From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org, thomas@monjalon.net
Cc: Srikanth Yalavarthi <syalavarthi@marvell.com>
Subject: [PATCH v2] mldev: disable build on Windows
Date: Fri, 10 Mar 2023 10:23:29 +0100 [thread overview]
Message-ID: <20230310092329.1748666-1-david.marchand@redhat.com> (raw)
In-Reply-To: <20230310090717.1470032-1-david.marchand@redhat.com>
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 <david.marchand@redhat.com>
---
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
next prev parent reply other threads:[~2023-03-10 9:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-10 9:07 [PATCH] " David Marchand
2023-03-10 9:18 ` Thomas Monjalon
2023-03-10 9:19 ` David Marchand
2023-03-10 9:23 ` David Marchand [this message]
2023-03-10 9:32 ` [PATCH v2] " Thomas Monjalon
2023-03-10 20:06 ` [PATCH] " Tyler Retzlaff
2023-03-10 22:54 ` Stephen Hemminger
2023-03-11 8:11 ` Thomas Monjalon
2023-03-11 14:53 ` [EXT] " Srikanth Yalavarthi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230310092329.1748666-1-david.marchand@redhat.com \
--to=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=syalavarthi@marvell.com \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).