Finally compiling HISE locally on new MacBook!
-
Some of you might remember my troubles compiling HISE on my 2020 M1 MacBook Air with 8GB RAM.
It was taking an hour to compile a debug version, if it finished at all - it usually crashed.
Seemed like the 8GB RAM limit was the issue, causing havoc with memory swap.
My solution then was to write a build script that builds my version of HISE using GitHub Actions, whenever I push a change live. It took about 15 minutes round trip to push a change, wait for the build, then download the build artefact to test the change.
I used this long-winded system to add features and fix bugs for the last few months. Painful!
Finally I upgraded to a 2024 M4 MacBook Air with 32GB RAM and I can now build debug HISE locally in 20 seconds! It's like a dream!
Just wanted to put this out there in case anyone else is having issues compiling on an 8GB MacBook.
-
@dannytaurus Yee! My macbook pro is maxed out so im good too but I’ve used a friends older slower computer for HISE and his is so slow I would’ve quit by now
. Great tools make a huge difference! Congrats! -
@Chazrox It‘s funny because it‘s really the 8GB that makes a difference. I have a 16GB Macbook Air M1 and the compile time for debug is around 40-60 seconds.
Protip: there‘s a Minimal Build scheme that you can select for a debug build that excludes some of the bigger third party dependencies for even faster compile time so if you don‘t need them you can use this for an even faster compile cycle.
-
@Christoph-Hart agreed. I have a M1 also with 64gb. I know you can store a whole app in memory with 16gbs, but i like to be over prepared

I run heavy multitracking sessions so I have to be ready. As far as HISE goes, never bogging.
