joplin icon indicating copy to clipboard operation
joplin copied to clipboard

ARM build for mac os M1 processor

Open rafjaf opened this issue 2 years ago • 128 comments

Hello, apparently Joplin 2.6.10 for macos is only optimized for intel-based Mac. Yet buiding Electron apps compatible with ARM proessors seems possible, see https://www.electronjs.org/blog/apple-silicon. Is there any plan to implement this? Thank you in advance for considering this issue.

rafjaf avatar Jan 24 '22 21:01 rafjaf

Also wondering.

sbkg0002 avatar Jan 30 '22 19:01 sbkg0002

Also wondering.

Joey-0812 avatar Feb 08 '22 16:02 Joey-0812

Would love to see a native m1 version as well.

ridicolos avatar Feb 25 '22 21:02 ridicolos

Is there a way I can help to fix this? I can update/create a Github workflow or something if needed.

sbkg0002 avatar Feb 26 '22 09:02 sbkg0002

For reference: There's a discussion about building the app for arm64 on the forum, including some successful builds.

I'm happy to help with testing in order to get official arm64 builds for everyone.

Shamp0o avatar Feb 28 '22 17:02 Shamp0o

I've done a PR with #5537 but failed to merge due to lack of tests. And to be honest, I can't figure out what kind of platform dependent test is needed here.

runchard avatar Mar 13 '22 02:03 runchard

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Apr 12 '22 16:04 github-actions[bot]

Hi, I still believe the issue to be relevant for the community, as show the discussions on the forum : https://discourse.joplinapp.org/t/running-joplin-on-apple-silicon/11455

rafjaf avatar Apr 12 '22 16:04 rafjaf

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar May 14 '22 16:05 github-actions[bot]

Hi, I still believe the issue to be relevant for the community, as show the discussions on the forum : https://discourse.joplinapp.org/t/running-joplin-on-apple-silicon/11455

Same here. Looking for an alternative since this feels hopeless.

sbkg0002 avatar May 20 '22 10:05 sbkg0002

@laurent22 so this is the official dev team statement?

We don't quite have the resources to deal with all the rubbish coming from Apple, from the insane iOS release process, to the idiotic notarisation. That would be adding yet one more way things can fail, so that's why I'm not so keen on it, unless it becomes really necessary.

  1. Using apps running in Rosetta was proved to be the cause of extensive SSD usage on Mac. That may cause hardware issues in the long run.
  2. Rosetta uses AOT-compilation, so apps tend to launch very slowly after every update. Basically, all of your users have to compile Joplin for Mac by themselves (even without knowing), because you don't want to.

Joplin is one of two apps I was considering to use that still doesn't have Apple Silicon support (another one is Viber, and it's not the best peer to be compared to). I was seriously thinking about moving all of my notes to Joplin, but this kind of support is a joke. I understand that open-source software is often limited by dev resources. But you have a paid plan, it's not somebody's pet project.

Bringoff avatar May 22 '22 09:05 Bringoff

Here's what a long AOT-compilation looks like on my MBP with M1 Pro.

https://user-images.githubusercontent.com/5401536/169690231-90b5abf2-9524-49dd-9c86-6f3dfab90df1.mov

Bringoff avatar May 22 '22 10:05 Bringoff

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jun 21 '22 16:06 github-actions[bot]

Answering the bot; this issue is still relevant and outstanding. See https://discourse.joplinapp.org/t/running-joplin-on-apple-silicon/11455. Though it's definitely stagnated a bit.

ajgraves avatar Jun 21 '22 16:06 ajgraves

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Jul 22 '22 16:07 github-actions[bot]

Answering the bot again; this issue is still relevant and outstanding. See https://discourse.joplinapp.org/t/running-joplin-on-apple-silicon/11455.

ajgraves avatar Jul 22 '22 16:07 ajgraves

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

github-actions[bot] avatar Aug 23 '22 16:08 github-actions[bot]

this issue is still relevant and outstanding.

skymagician avatar Aug 23 '22 16:08 skymagician

Still relevant

guiix-code avatar Sep 03 '22 05:09 guiix-code

Still relevant

Nctllnty avatar Sep 09 '22 07:09 Nctllnty

Still relevant

PatrickHuetter avatar Sep 09 '22 11:09 PatrickHuetter

Still relevant

pawelostr avatar Sep 10 '22 15:09 pawelostr

Would be really nice to have. Joplin works quite badly on M1 at the moment unfortunately.

lethargosapatheia avatar Sep 21 '22 14:09 lethargosapatheia

The process in the other repo works just fine and the M1 build linked there has been great on my MBP for several months. What would need to happen to integrate it into the build process in the main repo and releases?

andypiper avatar Sep 21 '22 15:09 andypiper

+1 - some rosetta apps are killing my M1

boli avatar Oct 21 '22 09:10 boli

+1 - using the instructions @andypiper linked, the native ARM build is way snappier than the Intel build on M1.

katosabi avatar Oct 27 '22 13:10 katosabi

+1 - using the instructions @andypiper linked, the native ARM build is way snappier than the Intel build on M1.

although i have to admit i didnt spend hours on it - i got stuck at the 'modify joplin json files' stage.

i looked at the PRs and didnt see which files, nor changes, it was referring to.

can anyone help? maybe a sed snippet for making the changes?

boli avatar Oct 27 '22 13:10 boli

+1 - using the instructions @andypiper linked, the native ARM build is way snappier than the Intel build on M1.

although i have to admit i didnt spend hours on it - i got stuck at the 'modify joplin json files' stage.

i looked at the PRs and didnt see which files, nor changes, it was referring to.

can anyone help? maybe a sed snippet for making the changes?

When you go to the PR, click the Commit tab, then the commit, then it will show you the 3 files/lines you need to modify in the 1st linked PR (red highlighted lines are removed, green are added), and the 1 file you need to change in the 2nd linked PR. For the 2nd PR there are two commits, you want the 2nd one (there is a red line here that is removed from the 1st commit, just ignore that and add the green lines).

katosabi avatar Oct 27 '22 13:10 katosabi

Still relevant

pawelostr avatar Nov 01 '22 13:11 pawelostr

When you go to the PR, click the Commit tab, then the commit, then it will show you the 3 files/lines you need to modify in the 1st linked PR (red highlighted lines are removed, green are added), and the 1 file you need to change in the 2nd linked PR. For the 2nd PR there are two commits, you want the 2nd one (there is a red line here that is removed from the 1st commit, just ignore that and add the green lines).

thanks - that definitely got me a bit further - but then i got stuck again with some kind of npm dependency hell.

at npm install sharp, it fails with

npm ERR! Could not resolve dependency:
npm ERR! peer react-dom@"^16.13.1 || ^17.0.0 || ^18.0.0" from [email protected]

unless its an easy quick obvious fix - i think i need to wait for a proper package

boli avatar Nov 02 '22 08:11 boli