-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Enable cross compiling for raspberry-pi arm32 #4742
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
Conversation
TravisEz13
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @daxian-dbw Can you review?
build.psm1
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: inconsistent use of braces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix
build.psm1
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same nit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix
|
Can we either merge the PR to update build.sh here or remove it. |
TravisEz13
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daxian-dbw
This LGTM.
tools/packaging/packaging.psm1
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not modify $Script:Options. $Script:Options in packaging.psm1 is pointing to the same object holding by $script:Options in build.psm1 which is supposed to reflect the real configuration of the latest build.
I suggest to add one if block below to set crossGenCorrect in case of deb-arm, like
if ($Type -eq "deb-arm") {
$crossGenCorrect = $true
} elseif(-not $IncludeSymbols.IsPresent -and $Script:Options.CrossGen) {
....
} elseif ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will change
tools/packaging/packaging.psm1
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we don't change $Script:Options, this line should be moved back to its original position.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will fix
|
@SteveL-MSFT Please fix merge conflicts |
5cdfc7f to
21bf93c
Compare
|
@TravisEz13 fixed |
|
@TravisEz13 can you merge? |
https://github.com/dotnet/coreclr/issues/13667 prevents this from running correctly, but it builds correctly
Fix #2463