Halide icon indicating copy to clipboard operation
Halide copied to clipboard

Add (iOS) simulator target feature.

Open alexreinking opened this issue 7 months ago • 1 comments

First attempt at adding simulator information to the LLVM triple via a target feature.

@vksnk - can you help me test this? AFAICT reading the LLVM sources, just setting the environment on the triple should be enough.

alexreinking avatar Apr 28 '25 16:04 alexreinking

Thanks, Alex! I will test this internally.

vksnk avatar Apr 29 '25 16:04 vksnk

@vksnk -- any updates?

alexreinking avatar Jul 09 '25 16:07 alexreinking

Sorry for the delay, will test shortly.

vksnk avatar Jul 10 '25 18:07 vksnk

I can verify that this worked.

However, the Pipeline serialization feature does not seem to consider this new target feature. (Moving this discussion over to https://github.com/halide/Halide/issues/8802)

slomp avatar Sep 08 '25 18:09 slomp

This seems to fix some issues with building for simulator we encountered. @vksnk Have you had a chance to test?

shoaibkamil avatar Sep 08 '25 19:09 shoaibkamil

Merging it for now. @vksnk Let me know if you are still experiencing linking issues.

slomp avatar Sep 08 '25 20:09 slomp