Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue in add_halide_runtime in cross-compilation #7284

Merged
merged 3 commits into from
Jan 20, 2023

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