Commit e373e54
committed
build/dl: rework framework configure
Greatly simplify the dl framework configure by not trying to track
libs and by setting the flags/libs as <framework>_<component>_flag,
so that opal_mca pulls in all the wrapper flags automagically.
Because the individual components link against dl or ltdl and
components are always static, libopen-pal will depend on dl or ltdl
and libmpi will inherit those dependencies. So we don't need all
the LIB tracking we were doing.
Update the package checks to use OAC_CHECK_PACKAGE instead of
OPAL_CHECK_PACKAGE, although it is unlikely either will ever
provide a pkg-config file.
Remove the backdoor disable-dl-dlopen flag, which is a duplicate of
--enable-mca-no-build=dl-dlopen.
Signed-off-by: Brian Barrett <bbarrett@amazon.com>1 parent b542a9c commit e373e54
File tree
6 files changed
+22
-113
lines changed- config
- opal
- mca/dl
- dlopen
- libltdl
6 files changed
+22
-113
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
325 | 323 | | |
326 | 324 | | |
327 | 325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 45 | + | |
74 | 46 | | |
75 | 47 | | |
76 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 29 | + | |
| 30 | + | |
39 | 31 | | |
40 | 32 | | |
41 | 33 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | 34 | | |
46 | 35 | | |
47 | | - | |
48 | 36 | | |
49 | 37 | | |
50 | | - | |
51 | | - | |
52 | | - | |
| 38 | + | |
53 | 39 | | |
54 | 40 | | |
55 | | - | |
| 41 | + | |
56 | 42 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 24 | | |
38 | 25 | | |
39 | 26 | | |
| |||
49 | 36 | | |
50 | 37 | | |
51 | 38 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
87 | 46 | | |
88 | 47 | | |
89 | 48 | | |
| |||
92 | 51 | | |
93 | 52 | | |
94 | 53 | | |
95 | | - | |
96 | | - | |
97 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
98 | 57 | | |
99 | 58 | | |
100 | 59 | | |
| |||
106 | 65 | | |
107 | 66 | | |
108 | 67 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 68 | + | |
113 | 69 | | |
114 | 70 | | |
115 | 71 | | |
116 | 72 | | |
117 | 73 | | |
118 | 74 | | |
119 | | - | |
120 | | - | |
121 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
122 | 78 | | |
123 | 79 | | |
124 | 80 | | |
0 commit comments