LLVM 21.x and Swift 6.x distribution for apple mobile devices without any complications. Originally made closed source for Nyxian, but published for the people to use instead, since ProjectNyxian made many useful modifications.
Warning
This can take very long, We recommend that you use a 8 core CPU and 16GB RAM at minumum!
git clone https://github.com/NyxianProject/LLVM-On-iOS.git
cd LLVM-On-iOS
make all- CoreCompiler.framework
- Easy to use ARC compatible abstraction over LLVM (CoreCompiler)
- Incremental typechecking (CCKASTUnit)
- Compiling C language files to object files (CCKCompiler)
- Linking Object files to MachO (CCKLinker)
- C language file indexing
- Easy clang invocation in-process (CCKProgramCompiler)
- Easy linker invocation in-process (CCKProgramCompiler)
- Swift compiler (CCKSwiftCompiler)
- Swift incremental typecheckin
- Easy to use multilanguage driver (C languages and Swift, produces all jobs)
- create a swift package for swift projects (kinda needs the following Todo aswell).
- compile libffi for iOS (required for certain JIT operations)