-
Notifications
You must be signed in to change notification settings - Fork 216
Enable ARM build, although some tests still fail #3180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This is the problem: We also need to upgrade vcflib's SSW, and also make sure we keep GSSW and SSW's We probably should drop SSW as a vg dependency and just pull it in from inside vcflib, like we do for htslib. |
|
We do indeed pass unit tests: |
|
Here's a gizpped ARM64 vg static binary for testing. |
|
The vcflib version won't interfere because I already fixed that in vcflib/vcflib#181. I'm dropping the SSW headers from GSSW, since we don't actually use them, in vgteam/gssw#29 |
|
@mr-c, as an Apt Expert, do you have any idea why Arm Travis decides to remove one flavor of libcurl in favor of another here: https://travis-ci.org/github/vgteam/vg/jobs/756614100#L133 Or, moreover, why that results in having held broken packages and not being able to install any remaining vg dependencies here: https://travis-ci.org/github/vgteam/vg/jobs/756614100#L1190 Are we doing something wrong? Or is Travis giving us a bad packaging state to start with? Or can apt just not safely swap libcurl flavors? I think a different version of libcurl is installed by default on amd64 versus on ARM. The RDF packages we need use the one that amd64 has by default, but on ARM it ends up needing to swap, and somehow forgets to uninstall the packages that relied on the old libcurl (which I don't know what they are). |
|
Can you try without the |
|
I'll give it a shot. |
|
No, that doesn't seem to have worked. |
|
@adamnovak try switching to Ubuntu Focal? |
|
I got a weird test failure: I don't think this is ARM related; I think we might be racing ourselves to make the fai or something. I will commit it and see if the problem goes away. |
|
OK, while vg itself passes its internal unit tests, not all of the bash-tap tests ( I'm going to merge this anyway, with the arm build/test set to only run on branches starting with "arm". We can work on fixing the failing tests in additional PRs. |
Changelog Entry
To be copied to the draft changelog by merger:
Description
This pulls in #3023 and #2867, and a couple fixes to tie it all together, and lets vg build on ARM. I tested it on a little ARM board I have.
We're not quite ready for the Raspberry Pi yet, and I don't know if it passes any tests on ARM, but it builds.
I'm not sure what's wrong with the SSW headers being out of date and not having the new argument, on Gitlab. I had to
rmlibssw.ato get the build to work.