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

Add parallel compilation #2

Merged
merged 6 commits into from
Dec 27, 2021
Merged

Add parallel compilation #2

merged 6 commits into from
Dec 27, 2021

Conversation

turbolent
Copy link
Owner

Generate code in parallel when the new option -j is given. Code is written into separate files, with a fixed number of functions per file, configurable with the new option -f.

The new output path option -o can be specified to generate code into a single file when there is one job, and the option must be specified and be a directory when compiling in parallel.

Parallel compilation generates a decls.h with all declarations, an inits.c file with the initialization code, and one or more '.c' files with the function implementations.

@vshymanskyy
Copy link
Contributor

Bazzinga! :)

@turbolent turbolent added the enhancement New feature or request label Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants