Conversation
1dd776d
to
84bca4c
Compare
84bca4c
to
232a371
Compare
/cc @leroix in case you're still looking at the electron-packager upgrade. |
I attempted to build Atom on my ARM system (Acer Chromebook 13) using this pull request and it failed at the following point:
|
@mathuin Hmm, that should map to something. What are the values of |
How do I find out what those values are? I don't know much Javascript but I am willing to learn! |
@mathuin If you can run |
|
Hmmm, that should have triggered automatically setting the arch to |
I did some In When For what it's worth, the Atom build failed later on because |
This PR is in response to atom/atom#15431. When I tried to build Atom on my Chromebook running Arch Linux ARM, the automatic trigger detecting armv7l was not running because a value already existed for the arch. This change moves the hostArch() function before the list assignment to catch this case. When I run this code on my Chromebook, the packaging code appears to succeed.
be4911b
to
9a1c84b
Compare
I figured out why the script here didn't automatically set the arch correctly - it always set the |
305c813
to
db4586c
Compare
I attempted to build Atom from the latest commit on this branch, and got the exact same error that I got before. I can confirm that |
@mathuin please run |
|
I found something interesting about armv7l builds of Node, see electron/packager#783 and the linked Node.js issue. Not sure whether that helps the Chromebook use case though. (I ran into it when I was testing on my Raspberry Pi 3.) That PR has been released in Electron Packager 10.1.1. |
db4586c
to
539ba5d
Compare
The PR has been updated to Electron Packager 11, which has support for mips64el arches in Electron >= 1.8.2. |
Superseded by #19318. |
Integrate packager improvements from #15431
Description of the Change
Hi there, I'm the maintainer of Electron Packager. I just released version 9.0.0, and thought that I could help upgrade a bunch of the projects that depend on it.
Alternate Designs
N/A
Why Should This Be In Core?
This already packages Atom 😄
Benefits
There's so many more features in 11 than 7.3.0, but the most notable ones are that version 8 added armv7l support, 9 added arm64 support, and 11 added mips64el support, so whenever you're ready to start officially supporting those platforms, Packager's ready to help!
Possible Drawbacks
As with any upgrade of a module, there might be some bugs that crept in, but hopefully this whole exercise will help find them.
Applicable Issues
None that I'm aware of.