-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path0006-meson-remove-checks-for-optional-libraries.patch
44 lines (38 loc) · 1.48 KB
/
0006-meson-remove-checks-for-optional-libraries.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From 0559a0eff6f7c1c10e4adf28a73a8e079b82c8b1 Mon Sep 17 00:00:00 2001
From: Tomasz Zawadzki <[email protected]>
Date: Wed, 1 Dec 2021 11:39:08 +0100
Subject: [PATCH 6/7] meson: remove checks for optional libraries
Very few libraries in DPDK are marked as optional.
For SPDK when most of the drivers are disabled,
the requirements are much lower.
By removing the check for optional libraries,
it is possible to pass a narrow set of actually required
libraries.
Signed-off-by: Tomasz Zawadzki <[email protected]>
Change-Id: I60fbc7307a4f33482025a3b3c00948c091d236ff
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/dpdk/+/10540 (spdk-21.11)
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/dpdk/+/12501
(spdk-21.11.1)
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/dpdk/+/14312
Tested-by: SPDK CI Jenkins <[email protected]>
Reviewed-by: Ben Walker <[email protected]>
Reviewed-by: Konrad Sztyber <[email protected]>
---
lib/meson.build | 4 ----
1 file changed, 4 deletions(-)
diff --git a/lib/meson.build b/lib/meson.build
index fbaa6ef7c2..c167824524 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -83,10 +83,6 @@ disabled_libs = []
opt_disabled_libs = run_command(list_dir_globs, get_option('disable_libs'),
check: true).stdout().split()
foreach l:opt_disabled_libs
- if not optional_libs.contains(l)
- warning('Cannot disable mandatory library "@0@"'.format(l))
- continue
- endif
disabled_libs += l
endforeach
--
2.31.1