From: Ophir Munk <ophi...@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 <ophi...@nvidia.com> Signed-off-by: Tal Shnaiderman <tal...@nvidia.com> Acked-by: Matan Azrad <ma...@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(-) 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