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

[WIP] Provide common ground for MoarVM and JVM backend makefiles #580

Merged
merged 13 commits into from Sep 23, 2019

Conversation

vrurg
Copy link
Contributor

@vrurg vrurg commented Sep 23, 2019

Merge common parts of MoarVM and JVM backends into a shared template.

Also hide receipe commands unless --no-silent-build Configure.pl option is specified.

Requires Raku/nqp-configure#11

Provides support to rakudo/rakudo#3194

vrurg added a commit to Raku/nqp-configure that referenced this pull request Sep 23, 2019
[WIP] Provide common ground for all backend makefiles

Provide better support for cross-backend templates.

Most crucial changes are:

- introduced term `receipe macros`: a class of macros responsible for generating rules.
- `use_prereqs` macro for replacing *first target* Makefile variables. Stores its content in `@prereqs@` variable in enclosing receipe macro context.
- the above required `NQP::Config::set` method to support context name in `in_ctx` named parameter.

Related to Raku/nqp#580 and rakudo/rakudo#3194
@vrurg vrurg changed the title [WIP] Provide common ground for all backend makefiles [WIP] Provide common ground for MoarVM and JVM backend makefiles Sep 23, 2019
@vrurg vrurg merged commit 66401b4 into Raku:master Sep 23, 2019
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.

None yet

1 participant