Skip to content

Add ability to cross compile - #9374

Merged
Travis Plunk (TravisEz13) merged 3 commits into
PowerShell:masterfrom
TravisEz13:CrossCompile
Apr 16, 2019
Merged

Travis Plunk (TravisEz13) merged 3 commits into
PowerShell:masterfrom
TravisEz13:CrossCompile

Conversation

@TravisEz13

@TravisEz13 Travis Plunk (TravisEz13) commented Apr 16, 2019 •

Copy link
Copy Markdown
Member

PR Summary

Add ability to cross compile

PR Context

During development, it is often useful to cross compile to be able to test easier on another platform, without setting up another dev environment.

PR Checklist

@adityapatwardhan

Copy link
Copy Markdown
Member

Travis Plunk (@TravisEz13) There seems to be some error. The windows build log has an error where it seems to be compiling powershell-unix folder. Also could you run a package build with these changes?

https://powershell.visualstudio.com/PowerShell/_build/results?buildId=20628&view=logs&jobId=29c8664d-f40e-5510-1c33-231d09c3a59e&taskId=9ce11f36-1f72-5de5-2770-1c51333e09e4&lineStart=38&lineEnd=39&colStart=1&colEnd=94

@PoshChan

This comment has been minimized.

@PoshChan

This comment has been minimized.

@TravisEz13 Travis Plunk (TravisEz13) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Apr 16, 2019
@TravisEz13
Travis Plunk (TravisEz13) merged commit cee1e54 into PowerShell:master Apr 16, 2019
@TravisEz13
Travis Plunk (TravisEz13) deleted the CrossCompile branch April 16, 2019 21:14
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
`-CrossGen` won`t work, but this gives basic ability to build for another platform.
This also means you cannot really package for another platform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants