Do you have any ideas of what could be done to help get a version of
llvmlite that works with numba into Debian?
On Tue, 2025-02-18 at 09:50 -0800, Diane Trout wrote:
Do you have any ideas of what could be done to help get a version
of
llvmlite that works with numba into Debian?
No idea. I'm keeping an eye on upstream release but the only option
I can see to make it work is to depend on the LLVM version that does
not exist in unstable.
No idea. I'm keeping an eye on upstream release but the only option
I can see to make it work is to depend on the LLVM version that does
not exist in unstable.
I found some time and energy to rebase the 1092 llvm-19 compatibility
branch against 0.44.0
https://github.com/detrout/llvmlite/tree/llvm19
I reported on the PR that the rebase almost works. https://github.com/numba/llvmlite/pull/1092#issuecomment-2693122561
2 tests fail on x86_64 and 0 tests fail on arm64, both out of 379
tests.
some news ?
friendly ping :))
Hi,[snip]
I have a version of llvmlite that builds against llvm-19 with 2 test
failures that don't look to important. One of them is definitely just
the layout of the object file changed from what was expected.
I got most of the help in the comments in here: https://github.com/numba/llvmlite/pull/1092
I also pushed all my changes to numba for it to build with the above
version of llvmlite and numpy 2.2 https://salsa.debian.org/science-team/numba.git
(numba should work, though I had to merge a small change to the tests
that I forgot to push to salsa a while ago, and it's building again,
but I'm tired and it'll take a while to run through all the tests
again)
I hope it's still not too late to get numba back in to testing.
Hi,
I have a version of llvmlite that builds against llvm-19 with 2 test
failures that don't look to important. One of them is definitely just
the layout of the object file changed from what was expected.
I got most of the help in the comments in here: https://github.com/numba/llvmlite/pull/1092
Additionally with some other patches I was able to get numba to build
with this version of llvmlite and with numpy 2.2 and all it's tests
passed on x86_64. It also got through some tests on arm64 before it
timed out.
I pushed all my changes to llvmlite to https://salsa.debian.org/diane/llvmlite
at commit 17e84a9243ba92a9248e7415c84a980e0ff96886
The important bit is this patch from upstream https://salsa.debian.org/diane/llvmlite/-/blob/master/debian/patches/llvm-19-support-pr1182.patch?ref_type=heads
And this patch skips/expects the two failed tests https://salsa.debian.org/diane/llvmlite/-/blob/master/debian/patches/skip-llvm-19-broken-tests.patch?ref_type=heads
I also pushed all my changes to numba for it to build with the above
version of llvmlite and numpy 2.2 https://salsa.debian.org/science-team/numba.git
(numba should work, though I had to merge a small change to the tests
that I forgot to push to salsa a while ago, and it's building again,
but I'm tired and it'll take a while to run through all the tests
again)
I hope it's still not too late to get numba back in to testing.
Diane
Has a bug been filed against llvmlite? If not, shouldn't there be
one?
It seems to be that the worst case scenario would be a friendly NMU,
and
a bug is required for that.
If llvmlite counts as a toolchain package then release team approval
for
an unblock will also be needed. The release team tends to get
llvmlite fix, because you have been working towards supporting
Trixie's
release goals since February :)
I'm not sure if this link:
https://lists.debian.org/msgid-search/128a5dff67746a5120e3ab36650282b267a3652d.camel@ghic.org
should go at the llvmlite bug, or the release team bug, or both.
Hi Diane,
Thank you for working on this.
Do you have LLVM team write access? If so please help your self and
directly push the commits there. If not, please open a merge request
and I'll process it quickly.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 489 |
Nodes: | 16 (2 / 14) |
Uptime: | 27:36:40 |
Calls: | 9,665 |
Files: | 13,716 |
Messages: | 6,168,529 |