Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
Last revision
Both sides next revision
|
dev:eclipse [2022/05/28 02:18] tedfelix [Faster Builds] |
dev:eclipse [2022/05/28 02:26] tedfelix old revision restored (2021/04/02 21:19) |
| |
===== Faster Builds ===== | ===== Faster Builds ===== |
| If your machine has multiple cores and/or hyperthreading, you'll want to set up make for multiple jobs (make's -j option). To do that within Eclipse, go to Window > Preferences > C/C++ > Build > Environment, add an environment variable MAKEFLAGS, and set it to "-j4" (or whatever is best for your hardware, the ''nproc'' command will tell you how many cores you've got). This will tell make that it can run four simultaneous compiles. |
If your machine has multiple cores and/or hyperthreading, you'll want to set up make for multiple jobs (make's -j option). | |
| |
To do that within Eclipse, go to Window > Preferences > C/C++ > Build > Environment, add an environment variable MAKEFLAGS, and set it to "-j4" (or whatever is best for your hardware, the ''nproc'' command will tell you how many cores you've got). This will tell make that it can run four simultaneous compiles. | |
| |
You'll probably want to do the same for the command line. Add the following to ~/.bashrc: | |
| |
<code bash> | |
export MAKEFLAGS="-j `nproc`" | |
</code> | |
| |
===== Core Dumps ===== | |
| |
Core dumps are really helpful when Rosegarden is crashing. They can be enabled by adding the following lines to ''/etc/security/limits.conf'': | |
| |
<code> | |
* hard core unlimited | |
* soft core unlimited | |
</code> | |
| |
Reboot is required for this change to take effect. Now you will get core dumps on every crash. Note that if there already is a core dump, a new one will not be created, so be sure to delete them after you are done analyzing them. Core dumps will appear in the current working directory when Rosegarden was run. | |
| |
===== Scalability Mode ===== | ===== Scalability Mode ===== |