Skip to content
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

Feature: Cross-compile support for aarch64 #14

Open
omeh-a opened this issue Mar 6, 2023 · 3 comments
Open

Feature: Cross-compile support for aarch64 #14

omeh-a opened this issue Mar 6, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@omeh-a
Copy link
Member

omeh-a commented Mar 6, 2023

Currently, ipbench does not build easily for anything except x86. It is possible to deploy it to arm via a .deb however, which suggests that this requires minor changes.

This is extremely suboptimal considering the tester machines will almost always be small ARM SBCs, and at TS we often want to benchmark ARM targets.

Goal: Update autotools build process to be able to target AArch64 with a ./configure flag.

Bonus: We can add ipbench to BuildRoot as a package because we often end up using it there. This may make deployment of testers + targets much MUCH MUCH easier.

@omeh-a omeh-a added the enhancement New feature or request label Mar 6, 2023
@omeh-a
Copy link
Member Author

omeh-a commented Mar 7, 2023

Addendum: does not actually work via .deb.

I managed to get ipbench to compile on an arm machine for arm, although it required tampering with config files.

@omeh-a
Copy link
Member Author

omeh-a commented Mar 27, 2023

Compiled files on arm do not work. It appears that ipbench is simply impossible to build for arm64 currently. Per the issues in #8, most of the build system is woefully outdated and unfortunately I think the work to actually fix this will be non-trivial and require a lot of understanding of autotools. @wom-bat have you got any thoughts on where to start?

@omeh-a omeh-a added this to the Sane to develop milestone Mar 27, 2023
@omeh-a
Copy link
Member Author

omeh-a commented Mar 29, 2023

Update: this is going to be nearly impossible without a total rewrite of the entire build system - python libraries are particularly challenging. For now, just fixing build on aarch64 will suffice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant