doctorfree / MusicPlayerPlus

Featureful ncurses based MPD client inspired by ncmpc with integration for Beets, spectrum visualization,Bandcamp/Soundcloud, asciimatics, cantata, and more
https://musicplayerplus.dev
MIT License
72 stars 1 forks source link

MusicPlayerPlus compile time extremely slow on some platforms #3

Closed doctorfree closed 2 years ago

doctorfree commented 2 years ago

Build times of MusicPlayerPlus vary considerably across platform and hardware. In particular, the Essentia component build is extremely slow on both Arch Linux and Ubuntu. Essentia performs several Boost library checks to verify availability of features. This seems to be where the build spends an extraordinary amount of time on all platforms. I think it's building several small test programs using the Boost libraries.

Build time was not a significant consideration for previous releases of MusicPlayerPlus as all builds were performed prior to release and releases consisted of already compiled binaries along with scripts, etc. However, with the advent of support for Arch Linux PKGBUILD releases, users will be performing builds on a variety of systems with varying hardware. Build time becomes a consideration.

How can build time be improved? Is there a way to skip configure checks for Boost library support? If so, is that a good idea?

Is there a way to release binary PKGBUILDs on Arch avoiding any need for users to compile MusicPlayerPlus components?

doctorfree commented 2 years ago

Compile time speeded up significantly for me when I moved my build off a USB stick to an SSD. Boost configure checks are still slow but that is just Boost. Why do people use it? Anyway, I am closing this issue as it appears to be a Boost issue not a MusicPlayerPlus issue.