From: Tal Shnaiderman Date: Wed, 16 Sep 2020 10:42:04 +0000 (+0300) Subject: mempool/ring: build on Windows X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ef271860c1dd733d6d35e8b07206d508ee478079;p=dpdk.git mempool/ring: build on Windows Build the ring mempool handler for Windows OS. Signed-off-by: Tal Shnaiderman Acked-by: Ranjit Menon --- diff --git a/drivers/mempool/bucket/meson.build b/drivers/mempool/bucket/meson.build index 618d791283..61de2dc9b9 100644 --- a/drivers/mempool/bucket/meson.build +++ b/drivers/mempool/bucket/meson.build @@ -6,4 +6,9 @@ # This software was jointly developed between OKTET Labs (under contract # for Solarflare) and Solarflare Communications, Inc. +if is_windows + build = false + reason = 'not supported on Windows' +endif + sources = files('rte_mempool_bucket.c') diff --git a/drivers/mempool/meson.build b/drivers/mempool/meson.build index c9609f1453..7520e489f4 100644 --- a/drivers/mempool/meson.build +++ b/drivers/mempool/meson.build @@ -1,10 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -if is_windows - subdir_done() -endif - drivers = ['bucket', 'dpaa', 'dpaa2', 'octeontx', 'octeontx2', 'ring', 'stack'] std_deps = ['mempool'] config_flag_fmt = 'RTE_LIBRTE_@0@_MEMPOOL' diff --git a/drivers/mempool/octeontx/meson.build b/drivers/mempool/octeontx/meson.build index 3baaf7db25..b5695a9329 100644 --- a/drivers/mempool/octeontx/meson.build +++ b/drivers/mempool/octeontx/meson.build @@ -1,6 +1,11 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc +if is_windows + build = false + reason = 'not supported on Windows' +endif + sources = files('octeontx_fpavf.c', 'rte_mempool_octeontx.c' ) diff --git a/drivers/mempool/octeontx2/meson.build b/drivers/mempool/octeontx2/meson.build index 9fde40f0e9..0226f76d4b 100644 --- a/drivers/mempool/octeontx2/meson.build +++ b/drivers/mempool/octeontx2/meson.build @@ -2,6 +2,11 @@ # Copyright(C) 2019 Marvell International Ltd. # +if is_windows + build = false + reason = 'not supported on Windows' +endif + sources = files('otx2_mempool_ops.c', 'otx2_mempool.c', 'otx2_mempool_irq.c', diff --git a/drivers/mempool/stack/meson.build b/drivers/mempool/stack/meson.build index 580dde79eb..8425772a42 100644 --- a/drivers/mempool/stack/meson.build +++ b/drivers/mempool/stack/meson.build @@ -1,6 +1,11 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017-2019 Intel Corporation +if is_windows + build = false + reason = 'not supported on Windows' +endif + sources = files('rte_mempool_stack.c') deps += ['stack']