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] [HEADSUP] Extract common parts of backend makefiles into a common template #3166

Merged
merged 29 commits into from Sep 8, 2019

Conversation

vrurg
Copy link
Member

@vrurg vrurg commented Sep 3, 2019

Unify the build across different backends as much as possible.

@vrurg vrurg added WIP Work In Progress, do not merge (yet) build labels Sep 3, 2019
MoarVM and JVM backends now share common installation target.
Discrepancies are handled with @if()@ macro.
Partially tested, fails to find a dependencie. But this is just a draft
yet.
@patrickbkr
Copy link
Contributor

@vrurg: I can't make any promises until 1st of October. I have a very tight schedule this month...

Allow extending of -all and -install targets.
Switch to macros and produce simple receipts for each target. Must
improve compatibility with other makes.
$< and ${>:[1]} for GNU and NMAKE, and for BSD make respectively.
NMAKE doesn't support ?= assignment
Not all makes preserve the ending whitespace in SET_NQP_LIB
MoarVM and JVM compile successfully. Can't test JS though.
Prettify output for Windows
Not matter what directory it is, build currently fails for World.nqp
when trying to load Perl6::ModuleLoader.
I.e. ./blib doesn't work. It still fails loading CORE.c.setting from ./
@vrurg vrurg merged commit 66e0561 into rakudo:master Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build WIP Work In Progress, do not merge (yet)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants