Robert Schulze
1dbc88630d
Cosmetics
2023-07-17 17:10:08 +00:00
Robert Schulze
8f8cb5eb82
Update cmake/limit_jobs.cmake
...
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-07-17 15:48:12 +02:00
Robert Schulze
a2e63404b3
Further simplify logic
2023-07-17 12:01:41 +00:00
Robert Schulze
96c399ff7b
Simplify a bit further
2023-07-17 11:58:18 +00:00
Robert Schulze
8f1e56167c
NUMBER_OF_TOTAL_CORES is on all platforms != 0
2023-07-17 11:53:12 +00:00
Robert Schulze
7204f70547
cmake_host_system_information provides TOTAL_PHYSICAL_MEMORY on all platforms, including FreeBSD
2023-07-17 11:52:23 +00:00
Robert Schulze
10c15a6548
Refactor limit_jobs.cmake
2023-07-17 11:37:34 +00:00
velavokr
711d8db644
better wording
2023-07-03 16:00:31 +03:00
velavokr
fd545deba0
added a warning on autocalculated parallelizm limits underutilizing CPU cores
2023-07-03 16:00:31 +03:00
Alexey Milovidov
a6a51f4fb8
Minor build changes
2022-08-13 06:39:20 +02:00
Robert Schulze
ec6e58536f
Print number of available logical cores in configuration
...
Really just for convenience so the developer can choose appropriate
values for CMake options PARALLEL_COMPILE_JOBS and PARALLEL_LINK_JOBS.
Might also help to find out why builds are slow.
2022-03-01 21:24:22 +01:00
Azat Khuzhin
4c69612fa7
Limit parallel link jobs only if ThinLTO *is* enabled
...
Before it checks only ENABLE_THINLTO flag, which enables ThinLTO only
for RelWithDebInfo.
2020-12-24 22:57:44 +03:00
Azat Khuzhin
a16535687e
Fix typo for parallel link jobs condition
2020-12-24 22:57:44 +03:00
Azat Khuzhin
75153c9663
build: ThinLTO provides its own parallel linking, limit to 2 in case of ThinLTO
2020-12-11 01:32:38 +03:00
myrrc
ac606dca77
updated cmake/ files, added some comments
2020-09-17 18:37:23 +03:00
proller
497b6ec2ad
Better compile with low memory; Fix macos build, add utils/build/build_debian_unbundled_split.sh test script ( #4030 )
2019-01-11 15:40:19 +03:00
proller
5016bb97da
Fix build
2018-12-27 21:21:06 +03:00
proller
1a0a879a51
Build fixes
2018-12-27 18:23:37 +03:00
proller
bebaf9d861
Fix includes, Faster compile ( #3898 )
...
* Fix includes
* Faster compile
* WTFix
* Limit compile and linking jobs according to available memory
* Add comment
* fix
* Remove ALL from copy-headers target
* Freebsd fix
* Better
* cmake: split use libcxx
2018-12-23 17:19:11 +03:00