[WIP] iOS AltKit support for JIT#14733
Conversation
dbb0ed4 to
096af4f
Compare
|
Yeah this might be useful for some iOS users. Enabled CI for your account, I'm open to merging this. |
|
Wanted to add a note on this PR after working with @JoeMatt today to really follow this entire conversation here: jpd002/Play-#1078 - and the PoC branch's commits of jpd002's Play! app which is the best example of integrating AltKit into a Cmake project: https://github.com/jpd002/AltKit/tree/cmake_poc - we'll make an official Cmake build guide down the road but these are early days. And if any future devs seeing this want a guide as to when they could or should ask AltServer to enable JIT for the user, you can read my write up here: https://trello.com/c/YNjfbtX2/96-partnerships-create-a-library-for-other-developers-to-use-to-automatically-enable-jit-when-possible |
unknownbrackets
left a comment
There was a problem hiding this comment.
Currently, ./b.sh --ios uses Make, which apparently isn't supported for Swift:
Swift language not supported by "Unix Makefiles" generator
Generally, ./b.sh is the recommended way to build and also what our CI checks use to make sure other changes don't break iOS, so we'd need to get that working (not sure if using xcodebuild or etc.?)
-[Unknown]
I think cmake would be the easier way to go. Would you prefer if I update the CI scripts to work with cmake? |
|
Well, But yes, either way it would be CMake. We don't include any non-CMake build files for iOS, as far as I know. -[Unknown] |
Noted thanks. In the meantime, I think I'm pretty much stuck anyway right now. |
refs #14570
Overview
Build instructions I'm using;
References
jpd002/Play-#1078
https://github.com/jpd002/AltKit/tree/cmake_poc
Todo
CMake Error at ext/AltKit/CMakeLists.txt:3 (project): Language 'C' is currently being enabled. Recursive call not allowed.Discussion
I wanted to test JIT in AltKit for another project, and PPSSPP seemed like a good project to test since I don't have JIT code active in my other project.
I'm a CMake noob, I couldn't figure out the AddLanguage error, so I'm posting this WIP PR to see if anyone else wants to take a stab or give some feedback/help.
Thanks
ping @lonkle