I was trying to build rusty_v8 and noticed a problem.
the build logic they have only runs on x86_64
they build other artefacts for other architectures by cross-compiling with --target= flag
Now, the problem is, I am not too confident if that’s possible in OpenBuildService to support such a method of building crossed-compiled artefacts.
Currently, I was trying to just use aarch64 workers but that failed because the rust toolchain provided by chromium which is used on rusty_v8 only has x86_64 for Linux platform.
Does anyone have any knowledge on the possibility of building aarch64 artefacts from another architecture?
in my investigation, they support Linux aarch64 but through --target flag because I have seen it in my build logs (still fails though because some issue with linking??). i also know this because the file located at v8/DEPS has the following lines
Looking at the workflow, I can see that it’s probably x86_64 ubuntu container with a target flag set to aarch64 for cross compile. i tried this attempt but it fails because the rust toolchain in openSUSE does not have the dependencies to allow cross compiling hence the error message that i might have forgotten to run “rustup add target aarch64-unknown-linux-gnu”
Currently, I disabled the aarch64 builds. So thats that. I guess no solutions for now.