Skip to content

Conversation

@stevesuzuki-arm
Copy link
Contributor

add_halide_runtime() tries to build generator executable, but it fails if we are working with cross-compiler toolchain. By using existing generator set as "FROM", we can work around this.

add_halide_runtime() tries to build generator executable, but it
fails if we are working with cross-compiler toolchain.
By using existing generator set as "FROM", we can work around this.
Copy link
Member

@alexreinking alexreinking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems good for now. The medium-term vision is to ship a gengen utility binary in its own package that can produce runtimes.

@alexreinking alexreinking merged commit 2cc0468 into halide:main Jan 20, 2023
@stevesuzuki-arm stevesuzuki-arm deleted the fix_add_halide_runtime branch February 13, 2023 10:37
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
* Fix issue in add_halide_runtime in cross-compilation

add_halide_runtime() tries to build generator executable, but it
fails if we are working with cross-compiler toolchain.
By using existing generator set as "FROM", we can work around this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants