Skip to content

Conversation

@Zentrik
Copy link
Member

@Zentrik Zentrik commented Sep 3, 2025

Using build_native_tool directly doesn't seem to be standard, instead other tools seem to call setup_host_tool (e.g. milr-linalg-ods-gen and add_tablegen seems to have a copy of setup_host_tool internally).

When cross compiling llvm in two stages, the first building all native tools and then the second using those built tools to cross compile, this prevents the second stage from trying to rebuild mlir-irdl-to-cpp, which fails.

(cherry picked from commit f5006e0)

…mpilation (llvm#156606)

Using `build_native_tool` directly doesn't seem to be standard, instead
other tools seem to call `setup_host_tool` (e.g. milr-linalg-ods-gen and
`add_tablegen` seems to have a copy of `setup_host_tool` internally).

When cross compiling llvm in two stages, the first building all native
tools and then the second using those built tools to cross compile, this
prevents the second stage from trying to rebuild mlir-irdl-to-cpp, which
fails.

(cherry picked from commit f5006e0)
@giordano giordano merged this pull request into JuliaLang:julia-release/21.x Sep 3, 2025
6 checks passed
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.

2 participants