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

A typo in the build instructions for MacOS #6047

Merged
merged 1 commit into from Feb 15, 2021
Merged

A typo in the build instructions for MacOS #6047

merged 1 commit into from Feb 15, 2021

Conversation

Bougakov
Copy link
Contributor

I've tried to build PrusaSlicer for a new Macbook Air M1 (new "Apple silicon") and found that the first line, brew install cmake git gettext wasn't visible in the installation instructions due to a formatting error.

The instructions are valid for macOS BigSur and M1; PrusaSlicer compiles on it without error (yet there are multiple warnings). The process takes about 20 minutes and requires approx. 6Gb of disk space.

The produced binary is for a single architecture,

~ file PrusaSlicer/build/src/PrusaSlicer
PrusaSlicer/build/src/PrusaSlicer: Mach-O 64-bit executable arm64

Running it on an Intel system returns bad CPU type in executable: PrusaSlicer. Build scripts need to be updated to produce a universal binary for x86_64 and arm64e.

Slicing is twice faster on M1 compared to Intel's Core i7 (I used a first complex STL file I could think of - "Bernie with mittens" from Thingiverse):

Compilation on an Apple M1

Performance on an Apple M1

Performance on Intel's i7

the line `brew install cmake git gettext` wasn't visible due to formatting error
@bubnikv bubnikv merged commit 1661db6 into prusa3d:master Feb 15, 2021
@bubnikv
Copy link
Collaborator

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants