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

build: fix native_mksnapshot build #15770

Merged
merged 2 commits into from
Nov 21, 2018
Merged

Conversation

jkleinsc
Copy link
Contributor

When we changed our electron_mksnapshot_zip target to include the v8_context_snapshot_generator, this dependency made the run_mksnapshot target run which was trying to run an arm/arm64 binary on x64 hardware. This PR changes our native_mksnapshot build to not try to run that binary.

Description of Change

Checklist

  • PR description included and stakeholders cc'd
  • npm test passes
  • PR title follows semantic commit guidelines

Release Notes

Notes: no-notes

@jkleinsc jkleinsc requested a review from a team November 20, 2018 00:13
@BinaryMuse
Copy link
Contributor

@jkleinsc Do you think this should go to master and backport to 4-0-x or just land it in 4-0-x?

@jkleinsc
Copy link
Contributor Author

@BinaryMuse it needs to be backported to 4-0-x

build/zip.py Outdated Show resolved Hide resolved
When we changed our electron_mksnapshot_zip target to include the v8_context_snapshot_generator, this dependency made the `run_mksnapshot` target run which was trying to run an arm/arm64 binary on x64 hardware.

Don't use custom build args for native_mksnapshot as they are not needed
@jkleinsc
Copy link
Contributor Author

Merging as flaky CI test isn't related to change

@jkleinsc jkleinsc merged commit bb7c63c into master Nov 21, 2018
@release-clerk
Copy link

release-clerk bot commented Nov 21, 2018

No Release Notes

@trop
Copy link
Contributor

trop bot commented Nov 21, 2018

I have automatically backported this PR to "4-0-x", please check out #15799

@jkleinsc jkleinsc deleted the fix-native-mksnapshot-build branch November 21, 2018 20:20
bcpete pushed a commit to bcpete/electron that referenced this pull request Apr 18, 2019
* build: fix native_mksnapshot build

When we changed our electron_mksnapshot_zip target to include the v8_context_snapshot_generator, this dependency made the `run_mksnapshot` target run which was trying to run an arm/arm64 binary on x64 hardware.

Don't use custom build args for native_mksnapshot as they are not needed

* Added comment on why snapshot_blob.bin is skipped on arm/arm64
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