Skip to content

Gradle project to generate GraalVM native-image C Annotation Processor (CAP) cache

Notifications You must be signed in to change notification settings

utopia-rise/cap-cache-generator

Repository files navigation

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.

About

Gradle project to generate GraalVM native-image C Annotation Processor (CAP) cache

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages