[dpdk-dev] [PATCH v4] drivers/common: enable Windows common mlx5 compilation
From: Tal Shnaiderman <hidden>
Date: 2021-01-12 12:59:57
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Tal Shnaiderman <hidden>
Date: 2021-01-12 12:59:57
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Ophir Munk <redacted>
Prior to this commit meson did not progress beyond directory
drivers/common for Windows compilations. This commit enables drivers
compilation under this directory.
Signed-off-by: Ophir Munk <redacted>
Signed-off-by: Tal Shnaiderman <redacted>
Acked-by: Matan Azrad <redacted>
---
v3: change commit place with dependencies.
v4: remove unneeded change in common/meson.build [Thomas]
Depends-on: patch-86125 ("mlx5: fix __mlx5_bit_off macro warning for Windows")
---
drivers/common/mlx5/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/common/mlx5/meson.build b/drivers/common/mlx5/meson.build
index 3dacc6f683..3047b455cf 100644
--- a/drivers/common/mlx5/meson.build
+++ b/drivers/common/mlx5/meson.build@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2019 Mellanox Technologies, Ltd -if not is_linux +if not (is_linux or (is_windows and is_ms_linker)) build = false - reason = 'only supported on Linux' + reason = 'only supported on Linux and Windows build with clang' subdir_done() endif
--
2.16.1.windows.4