Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precompile builtin/*.sk #280

Merged
merged 23 commits into from Apr 24, 2021
Merged

Precompile builtin/*.sk #280

merged 23 commits into from Apr 24, 2021

Conversation

yhara
Copy link
Collaborator

@yhara yhara commented Apr 7, 2021

fix #279

This PR caches compilation of builtin/*.sk into builtin/builtin.bc and builtin/exports.json.

builtin.bc contains LLVM bitcode and will be linked to main program with clang command.

exports.json contains information needed to compile the main program without reading builtin/*.sk. (JSON is used just for debugging purpose and is not intended to be modified in hand. We can change it to some binary format for better performance in the future.)

@yhara yhara merged commit 0557752 into main Apr 24, 2021
@yhara yhara deleted the std-compile branch April 24, 2021 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Precompile builtin classes
1 participant