-
Notifications
You must be signed in to change notification settings - Fork 0
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
Building on M1 Mac #50
Comments
Hi @thomaslima, I think this is the same M1-specific problem as #48. @dsus4wang made some research and found a workaround (link). To be honest, I was wondering if you could help regarding this issue. I've started thinking to buy the one (Mac mini), but very reluctant so far. Best regards, |
Interesting. That sounds related. Thank you. I will investigate and report back. |
This is definitely related to that. Unfortunately, I tried the I can confirm that the LW build works fine. So one of the two deployment processes are messing with the code signatures:
Maybe the fix will be on the lines of https://github.com/supercollider/supercollider/blob/908d88c9bd352e0b12597422c06537023be4b327/editors/sc-ide/CMakeLists.txt#L554 |
Lol it's not the Qt, it's our HW embeddings. I think I found the strategy to fix it. It will be a bit painful. Take a look: https://stackoverflow.com/questions/54149144/cannot-codesign-an-app-with-python-and-node I'm not sure which certificate we're gonna use to sign klayout.app. But I think that we should have been doing it not only for the M1 macs, but also Intel. I think the only difference here is that M1 Macs aren't going to even open unsigned apps. |
Thank you for sharing your time for the investigation. |
Thoughts on compiling a dmg for system python/ruby only and making the
other distro installable via homebrew/macports? Maybe this way we don't
have to worry? Now system python is 3.8.
…On Wed, Feb 22, 2023 at 4:43 PM Kazunari Sekigawa ***@***.***> wrote:
Thank you for sharing your time for the investigation.
Yes, the above strategy looks painful.
—
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIJZEZKM6Y5HEEVG7ICS33WY2B6NANCNFSM6AAAAAAU6KBKL4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yes, that is an idea! I'll investigate on Intel Mac. |
Hello @Kazzz-S this issue not contained to us anymore and some colleagues are reporting it to me. I am tagging a few people here so they're aware of the solution, maybe they can help crafting a script that would do the code signing for us. |
Thank you Thomas. Indeed, I am getting the same error when I try to compile a HW build on my M1. |
Thank you, @thomaslima, for the info and for sharing your time. |
Hi @Kazzz-S ,
I wonder if I could borrow your advice for an issue I have building Mac images on my MacBook (M1). I followed these steps:
./macbuild/python3HB.py -v 3.9
QMAKE_CXXFLAGS += -fdeclspec
line to klayout.pri (for some reason your script didn't patch automatically.Do you have any idea of what's going on?
The text was updated successfully, but these errors were encountered: