Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I invite everyone to have a look at compiling LibreOffice [0].

Doing a full compile, has been known to bring even the most powerful machines to their knees.

They’ve employed a lot of the referenced article’s suggestions and it still is a massive code-base to compile.

[0]: https://wiki.documentfoundation.org/Development/BuildingOnLi...



If on Fedora, you can give it a whirl like so:

    cd $(mktemp -d)
    fedpkg clone -a -b f38 libreoffice && cd libreoffice
    fedpkg mockbuild
This requires the 'fedpkg' and 'mock' packages be installed, and that your user is in the 'mock' group

Compiling is one of many benchmarks I do, lol

Edit: note for posterity -- the branch will change as time goes by. Fedora 38 is the current release, so f38 is used.

The source for the code and the target for the build don't have to match. Look into different 'mock roots' at /etc/mock/*.cfg


Full compile is rarely an issue, because most of the time is spent in incremental build.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: