Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 808 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 808 Bytes

GraalVM iOS CAP cache generation

This project generates CAP (C Annotation Processor) cache needed to compile iOS native image using GraalVM.
CAP cache is used to bind GraalVM's java code to C. It contains structs layout that are used in GraalVM's java code using annotations, see here for an example.

In order to generate those CAP files, this project creates a dummy jar and runs GraalVM native-image tool which generates the cache.
Internally this will look into OS and Java C code to get struct layouts, and then output them in .cap files.

In order to generate CAP files, run generateCapCache gradle task.