In CL 41137289 NNERuntimeIREE was modified to always recompile models during cooking (and only copy files for staging during cooking). I would like to know the reason for this change, as I cannot see the details of the related issue UE-256144.
As part of our workaround to enable content creators without Visual Studio to run IREE models and produce packaged builds, we have been keeping a copy of IREE binaries (intermediate and staging directories) in Perforce. We can make the changes to keep the former behaviour, but I wanted to know first if there may be cases where this can produce incorrect results.
[Attachment Removed]
Hi Javier,
There were some issues by users where the intermediate folder contained outdated models which created strange behaviours in the packaged game.
Thus we decided to always force re-compilation on cook to guarantee that latest state.
Please note: The issue with not being able to use IREE without a dev environment was a known issue that we solved with CL 49801766 that just landed.
After this change NNERuntimeIREE will use LLVM tools that come with the plugin to generate all required libraries and thus no Visual Studio nor other SDKs are required.
Also note we have some other work going on to better track when a model has been changed to trigger recompilation when e.g compiler commands have changed.
However, this should not affect you and even if, would cause no problems with the new way of linking runtime libraries.
Let me know if that answers your question or if anything does still not work after updating to CL 49801766.
Best
Nico
[Attachment Removed]
Hi Nico,
That’s great to hear, thank you for the amazing work! I just managed to get access to CL 49801766 which I think will solve the problem for us. Detecting changes to compilation flags, etc. sounds also very promising.
Btw, thank you for putting the effort to publish the build scripts to Perforce, will be invaluable if we find new issues with IREE and need to build a different version.
Best,
Javier
[Attachment Removed]
Glad to hear, please let me know if you still run into any issue. There may still be unknown bugs which only reveal in certain systems, any feedback will help us.
Regarding scripts: Yes, while this was initially not the plan, it looks like it is apreciated by many. It is not uncommon for people to use their custom modified compilers.
Just make sure to also generate the runtime libs with the same version, there are some nasty problems if compiler and runtime do not match.
Will close the ticket if that is fine for you. Do not hesitate to re-open it if you encounter problems with the new standalone linking.
Best
Nico
[Attachment Removed]