Open foxtran opened 9 months ago
Homebrew is supposed to handle that automatically based on the available CPUs on your system. What is the output log of a build with --verbose
for you? On my system with 8 cores, I get -j8
for the MAKEFLAGS. I'm not aware of any way to do this is a more portable way, as it seems to be the standard way in homebrew-core for CMake builds.
...
==> ENV
HOMEBREW_CC: gcc-13
HOMEBREW_CXX: g++-13
MAKEFLAGS: -j8
...
To reduce time for the end user, it is probably better to build Homebrew "bottles" on GitHub Actions like here, but I don't have the bandwidth to set it up at the moment.
libreta has long compilation time (~40 min), so it would be nice to have parallelization of compilation process.
The following line should be updated: https://github.com/digital-chemistry-laboratory/homebrew-multiwfn/blob/c700ada03024645c40d70b5b1cd303b4e251c2be/multiwfn.rb#L24