[Hexagon] - Build the hexagon_remote runtime using cmake#7659
[Hexagon] - Build the hexagon_remote runtime using cmake#7659pranavb-ca wants to merge 5 commits intomainfrom
Conversation
|
Somehow Halide_Runtime needs to have a dependency on halide_hexagon_host, right? It doesn't link to it, but building Halide_Runtime should bring halide_hexagon_host up to date, too. Maybe via |
|
It's also worth noting that this adds a build-time dependency to the Hexagon SDK. The README should be updated with instructions on how to do that. Naturally, our CI will need to either disable Hexagon (e.g. in GitHub Actions) or acquire the Hexagon SDK. |
|
For the parts that are cross-compiled with the Hexagon toolchain and then treated opaquely... I think those should be factored into a separate project, along with a toolchain file that points to the Hexagon clang compilers. It can be added to the primary build via |
|
@alexreinking - Thank you for your review. |
|
Superseded by #7671 |
This PR builds the hexagon_remote runtime using CMake. This integrates the build of the hexagon_remote runtime into the Halide build if
TARGET_HEXAGONis true.src/runtime/hexagon_remote/bin.host,srcandv65subdirectories are no longer present because their contents are unique and we wont really be storing binaries in the repository anymore anyway.Since CMake is such a challenge for cross-compilation, please let me know if my approach is the right one.