tremor-runtime
tremor-runtime copied to clipboard
Support cross building and packaging for ARM targets
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.
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
blocked on https://github.com/cuviper/autocfg/issues/36
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 :(
Update after @Hoverbear tested the ARM issue, it seems based on the CPU involved so it might not be a general problem :rocket: