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

Fix build on Windows #2802

Merged
merged 7 commits into from
Mar 28, 2019
Merged

Fix build on Windows #2802

merged 7 commits into from
Mar 28, 2019

Conversation

patrickbkr
Copy link
Contributor

  • Fix nmake default target.
  • Remove duplicate compile options for dynext and the c runners.
  • Rely more on the MoarVM build configuration when building dynext and the c runners.
  • Replace the hardcoded-lmoar option with some templating that picks the correct option also on Windows.

I tested this on MinGW/gcc/gmake, MSVC/cl/nmake and linux/gcc/make.

Rely on the build configuration of MoarVM more when building the
libraries and executables in rakudo instead of hard coding stuff.
when nmake is called without any argument it tries to execute
the first target. Because nmake knows nothing about .PHONY it sees it as
a normal target and tries to execute that. So we have to put the
.NOTPARALLEL target after the 'all' target.
It seems the NQP config variable 'moar::ldimp' is '' instead of undefined
in rakudo irrespective of it being set to undef in MoarVM/build/setup.pm
where it originates. Thus the check needs to be different.
@ugexe ugexe merged commit b5843b0 into rakudo:master Mar 28, 2019
@patrickbkr patrickbkr deleted the win-fix branch June 11, 2019 08:52
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

3 participants