DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] mldev: disable build on Windows
@ 2023-03-10  9:07 David Marchand
  2023-03-10  9:18 ` Thomas Monjalon
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: David Marchand @ 2023-03-10  9:07 UTC (permalink / raw)
  To: dev, thomas; +Cc: Srikanth Yalavarthi

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 <david.marchand@redhat.com>
---
 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',
-- 
2.39.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-03-11 14:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10  9:07 [PATCH] mldev: disable build on Windows David Marchand
2023-03-10  9:18 ` Thomas Monjalon
2023-03-10  9:19   ` David Marchand
2023-03-10  9:23 ` [PATCH v2] " David Marchand
2023-03-10  9:32   ` 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

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).