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

Add Apple Silicon Support to GUIX cross compliations #111

Closed
gto90 opened this issue Mar 15, 2023 · 9 comments
Closed

Add Apple Silicon Support to GUIX cross compliations #111

gto90 opened this issue Mar 15, 2023 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@gto90
Copy link
Member

gto90 commented Mar 15, 2023

Is your feature request related to a problem? Please describe.
At the present time, the GUIX cross compilation capability added by this PR does not support Apple Silicon and will fail with indeterminant errors.

Describe the solution you'd like
Resolve GUIX errors when compiling for Apple Silicon.

@gto90 gto90 added the enhancement New feature or request label Mar 15, 2023
@saltedlolly
Copy link

Has there been any progress on this?

It would be really helpful to be able to compile DigiByte Core on modern Macs.

@ycagel
Copy link
Member

ycagel commented Mar 14, 2024

#194 has been merged solving this issue.

@ycagel ycagel closed this as completed Mar 14, 2024
@saltedlolly
Copy link

saltedlolly commented Mar 14, 2024

I'm not 100% sure this has been solved, or at least it has not been tested yet. (Compiling on a Silicon Mac with GUIX)

It might be okay but we should probably keep this open till we are certain.

@gto90
Copy link
Member Author

gto90 commented Mar 14, 2024

I'm not 100% sure this has been solved, or at least it has not been tested yet. (Compiling on a Silicon Mac with GUIX)

It might be okay but we should probably keep this open till we are certain.

If you can compile, build, and make check, this issue can be closed, in my opinion. If there are application-level issues, such as hanging or slow startup, we should track those separately in discrete issues. This issue deals explicitly with the errors that were happening when trying to compile with M1 Macs, and I believe that issue is now resolved.

@gto90
Copy link
Member Author

gto90 commented Mar 14, 2024

I'm not 100% sure this has been solved, or at least it has not been tested yet. (Compiling on a Silicon Mac with GUIX)

It might be okay but we should probably keep this open till we are certain.

Ahh, you are correct @saltedlolly , my apologies. We do still need to validate with Guix.

@gto90 gto90 reopened this Mar 14, 2024
@ycagel
Copy link
Member

ycagel commented Mar 14, 2024

Thanks for double checking on this. Apologies on closing this issue as the frozen screen is a separate issue based on @Jongjan88's feedback.

@ghost
Copy link

ghost commented Mar 14, 2024

Thanks for double checking on this. Apologies on closing this issue as the frozen screen is a separate issue based on @Jongjan88's feedback.

Yes the frozen issue is a separate issue.. but this is about guix

@JaredTate
Copy link

JaredTate commented Mar 14, 2024

I am GUIX building for m1 and regular apple as we speak this morning. Will post how it goes and m1 binary if it works:

env HOSTS='x86_64-apple-darwin arm64-apple-darwin' ./contrib/guix/guix-build

It took a bit to get the Xcode SDK configured again, such a pain in the arse.

Screenshot 2024-03-14 at 11 05 22 AM

@JaredTate
Copy link

Looks like it worked, I just cant test the dmg for arm64.

Screenshot 2024-03-14 at 12 06 42 PM

IT won't let me upload a DMG.
Screenshot 2024-03-14 at 12 03 30 PM

So here it is on my proton drive:
https://drive.proton.me/urls/CBWAPJ6RZW#hzD1PXhuOWdf

@ycagel ycagel closed this as completed Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants