Commit f31f392
committed
Allow LD_LIBRARY_PATH override for python tests
On some HPC toolchains, a third-party Python package imported before
ecflow (for example numpy) resolves and loads the platform default
libstdc++ first. Since ELF soname resolution is process-wide and
first-one-wins, this can leave ecflow.so unable to satisfy the GLIBCXX
symbol version it was actually built against, when the build toolchain
differs from the platform default.
Add ECFLOW_PYEXT_TEST_LD_LIBRARY_PATH, a configure-time cache
variable that prepends a given runtime library directory to
LD_LIBRARY_PATH for the py3_u_* and py3_s_* tests, so the correct
libstdc++.so.6 is resolved regardless of which component asks for it
first. Left empty by default, leaving unaffected platforms untouched.
Wire the new flag into the gnu-15.2.0 and gnu-14.2.0 HPC CI jobs in
.github/ci-hpc-config.yml, pointing at each toolchain's libstdc++
directory, so the affected python tests actually pass in CI.1 parent 0ae7393 commit f31f392
2 files changed
Lines changed: 37 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
81 | 107 | | |
82 | 108 | | |
83 | 109 | | |
| |||
88 | 114 | | |
89 | 115 | | |
90 | 116 | | |
91 | | - | |
| 117 | + | |
92 | 118 | | |
93 | 119 | | |
94 | 120 | | |
| |||
97 | 123 | | |
98 | 124 | | |
99 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
100 | 131 | | |
101 | 132 | | |
102 | 133 | | |
| |||
107 | 138 | | |
108 | 139 | | |
109 | 140 | | |
110 | | - | |
| 141 | + | |
111 | 142 | | |
112 | 143 | | |
113 | 144 | | |
| |||
0 commit comments