Commit f3da15a
committed
[ORCJIT][CI] Fix orcjit wheel ABI skew and drop over-broad --exclude-libs
The orcjit CI job built the wheel against PyPI apache-tvm-ffi while the
test step reinstalled the in-tree dev core; once the core's Optional/Variant
ABI diverged from the last release this mismatch segfaulted the JIT and
produced bogus type indices. Build the wheel against the in-tree core via
CIBW_BEFORE_BUILD + --no-build-isolation so build-ABI == test-ABI.
Also drop -Wl,--exclude-libs,ALL: with -static-libstdc++ it localized the
libstdc++ symbols liborc_rt resolves from the process, so on a statically
linked (manylinux) core the ELFNix platform failed to bootstrap and every
ExecutionSession() threw.1 parent e9c4350 commit f3da15a
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
105 | 109 | | |
106 | 110 | | |
107 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
| 155 | + | |
| 156 | + | |
161 | 157 | | |
162 | 158 | | |
163 | 159 | | |
| |||
0 commit comments