Skip to content

ProjectNyxian/LLVM-On-iOS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

238 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLVM-On-iOS

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.

Building

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

Included

  • 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)

Todo

  • create a swift package for swift projects (kinda needs the following Todo aswell).
  • compile libffi for iOS (required for certain JIT operations)

About

LLVM, but easy to build and use in iOS projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 71.4%
  • Shell 21.1%
  • Makefile 7.5%