tremor-runtime icon indicating copy to clipboard operation
tremor-runtime copied to clipboard

Support cross building and packaging for ARM targets

Open anupdhml opened this issue 4 years ago • 4 comments

Describe the problem you are trying to solve

Add cross build and packaging support for targets armv7-unknown-linux-gnueabihf and aarch64-unknown-linux-gnu so that ARM device users can try tremor without having to compile the whole project.

https://github.com/wayfair-tremor/tremor-runtime/tree/master/packaging#supported-targets https://github.com/wayfair-tremor/tremor-runtime/tree/master/packaging/builder-images

Describe the solution you'd like

Extend the implementation done for x86_64 linux targets as part of https://github.com/wayfair-tremor/tremor-runtime/pull/274.

Packaging formats to support: archive (tar.gz), deb, rpm

Notes

We know that (some) arm builds work for tremor, via https://github.com/wayfair-tremor/tremor-runtime/pull/347.

anupdhml avatar Jul 09 '20 14:07 anupdhml

being able to build on arm is slowly (or quickly) creeping back into a possible state. @hkratz has made some great contributions to simd-json (our main blocker) to make it arm workable again we're mostly waiting on a rust-nightly update for the latest stdlib update and then we should be able to give this a shot.

It will only build on nightly for now but that's probably good enough :tm: for experimentation and testing :D

Licenser avatar May 31 '21 11:05 Licenser

blocked on https://github.com/cuviper/autocfg/issues/36

Licenser avatar Jun 02 '21 11:06 Licenser

The issue seems to be a code generation issue in rust https://github.com/rust-lang/rust/issues/85962

good news:

it might be CPU related so it might only affect some users

bad news:

a codegen issue is kind of serious :(

Licenser avatar Jun 03 '21 10:06 Licenser

Update after @Hoverbear tested the ARM issue, it seems based on the CPU involved so it might not be a general problem :rocket:

Licenser avatar Jun 03 '21 13:06 Licenser