-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Need prebuilt for darwin arm64 (Mac M1) #120
Comments
Hi |
node-datachannel-v0.3.4-node-v93-darwin-arm64.tar.gz I've build one at NodeJS 16.15.1, for someone needed. |
After tested at Win(x64), Linux(arm64), Mac(arm64), I found that it seems only matter the cpu architechture. |
Sorry for late reply. |
Hi @murat-dogan, I think this is possible, and we should open this up again and try to make it work. I've just had one of my users downstream also open an issue that seems to be caused by this (httptoolkit/mockrtc#2), and this will affect all Mac M1s, which are rapidly becoming very popular computers, so this is going to be a big problem if we don't fix it. It's worth noting that this issue is also the 3rd issue in this repo from users struggling with this (#63, #28) and there will only be more of these. I'm pretty sure this is doable, because there's other projects building M1-compatible 'universal' binaries with It looks like if you upgrade the GitHub Action OS to Mac v11, and pass the extra flags they're using in that commit, then it'll build a universal binary, that works for both ARM & x64 Mac users. Would that work here? We'll need to find somebody with an M1 Mac to test the output though - maybe @lichstam or @k8w can help us out? |
i'm available to help with testing :) |
Ok. Good points. Let me check it. |
Here is what I found till now.
I created a seperate github action to test this. Here is the output of the action. Could you please download and test the binary @lichstam? |
Any news on this @lichstam ? |
@murat-dogan i am available to test. But, how am I supposed to test it? I tried calling it directly via node, but I am quite confused here.
I have m2 not m1 tho. |
@shirshak55 I think you wanted to clone this repo & npm install, and then save That error suggests there's already an issue though @murat-dogan - the binary there is
I think |
That's right @pimterry , thank you for the hint.
|
@murat-dogan done
Here is the output for future purpose CLICK ME
|
Thank you @shirshak55 ! it is statically linked against openssl |
|
Thank you for fast response. Now we have mac m1 binaries! Note: |
Mac m1 binaries will be released with v0.3.6 |
Can anybody help me for this problem |
Install on Mac M1, and got error:
It seems like lacking of arm64 darwin prebuilt.
The text was updated successfully, but these errors were encountered: