-
Notifications
You must be signed in to change notification settings - Fork 645
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
Build libIREERuntime #11846
Comments
You want to statically link the runtime. |
Yes, I do. Before I add the static library to my Xcode project, I use the following command line to build it.
where
It would be easier if CMake's install target built it. |
I've recently been working on this: https://github.com/iree-org/iree-samples/tree/main/runtime-library Let me know if that is relevant. |
Thank you @stellaraccident ! This looks exactly what I am looking for. I got a warning and an error when I was trying to build the runtime library:
I ignored the first one and changed a little bit of the code, as described in iree-org/iree-experimental#93, then I got |
Is there further work required on this issue? |
I think it's as good as it is going to be for now. Could be better but that's future. |
Request description
Neither the host compilation step, nor the Android/iOS cross-compilation step produces a runtime library.
The
CMakeLists.txt
file for the Runtime doesn't seem to have much in it. The build of libIREECompiler is described in theCMakeList.txt
file of the Compiler.Should we build the Runtime library as a static or a dynamic library so that iOS apps can link to it?
What component(s) does this issue relate to?
Runtime
Additional context
No response
The text was updated successfully, but these errors were encountered: