This pull request adds support for arm64 and is an addition to work by @GMahmoud in PR #59 and Issue #58 to fix build for armhf. libjpeg-turbo8 also won't build on arm64 so I made the build use the external library for all platforms. This should be fine since libjpeg-turbo8` comes along ROS Noetic perception packages anyway.
In addition to that, the prebuilt gn binary for arm64 fails to generate build files with the M86 version. Since others were facing issues with the prebuilt binaries on other platforms, I removed the binaries and made the gn to be built from source by default. Maybe there is a bigger reason I don't see to ship binaries alongside the repo and we can revert that.
There are also some small tweaks to Dockerfile to make the final image smaller (from ~16GB to 3.3GB).
This pull request adds support for arm64 and is an addition to work by @GMahmoud in PR #59 and Issue #58 to fix build for
armhf
.libjpeg-turbo8
also won't build onarm64
so I made the build use the external library for all platforms. This should be fine since libjpeg-turbo8` comes along ROS Noetic perception packages anyway.In addition to that, the prebuilt
gn
binary for arm64 fails to generate build files with the M86 version. Since others were facing issues with the prebuilt binaries on other platforms, I removed the binaries and made thegn
to be built from source by default. Maybe there is a bigger reason I don't see to ship binaries alongside the repo and we can revert that.There are also some small tweaks to Dockerfile to make the final image smaller (from ~16GB to 3.3GB).