]> git.droids-corp.org - dpdk.git/blobdiff - app/test-crypto-perf/meson.build
pipeline: support action annotations
[dpdk.git] / app / test-crypto-perf / meson.build
index e6ddda6f0c542c5ad62371b3e863cc3bbef71d1c..ef3582a87c861f9da783e056e8c4bec5ddb879d4 100644 (file)
@@ -1,17 +1,25 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
-sources = files('cperf_ops.c',
-               'cperf_options_parsing.c',
-               'cperf_test_common.c',
-               'cperf_test_latency.c',
-               'cperf_test_pmd_cyclecount.c',
-               'cperf_test_throughput.c',
-               'cperf_test_vector_parsing.c',
-               'cperf_test_vectors.c',
-               'cperf_test_verify.c',
-               'main.c')
+if is_windows
+       build = false
+       reason = 'not supported on Windows'
+       subdir_done()
+endif
+
+sources = files(
+        'cperf_ops.c',
+        'cperf_options_parsing.c',
+        'cperf_test_common.c',
+        'cperf_test_latency.c',
+        'cperf_test_pmd_cyclecount.c',
+        'cperf_test_throughput.c',
+        'cperf_test_vector_parsing.c',
+        'cperf_test_vectors.c',
+        'cperf_test_verify.c',
+        'main.c',
+)
 deps += ['cryptodev', 'net', 'security']
-if dpdk_conf.has('RTE_LIBRTE_PMD_CRYPTO_SCHEDULER')
-       deps += 'crypto_scheduler'
+if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
+    deps += 'crypto_scheduler'
 endif