[v4] drivers/common: enable Windows common mlx5 compilation
Checks
Commit Message
From: Ophir Munk <ophirmu@nvidia.com>
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 <ophirmu@nvidia.com>
Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
---
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(-)
Comments
12/01/2021 13:58, Tal Shnaiderman:
> From: Ophir Munk <ophirmu@nvidia.com>
>
> Prior to this commit meson did not progress beyond directory
> drivers/common for Windows compilations. This commit enables drivers
> compilation under this directory.
This commit is not changing compilation of drivers/common/*
Changing the commit log to:
"Enable mlx5 PMD on Windows with clang compilation."
> Signed-off-by: Ophir Munk <ophirmu@nvidia.com>
> Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
> Acked-by: Matan Azrad <matan@nvidia.com>
Applied to next-net-mlx, thanks
@@ -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