- LINUX ------------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 86 из 100
 От   : Sergey Semernin                     2:201/127         25 окт 26 22:13:02
 К    : Nick Boel                                             25 окт 26 00:41:05
 Тема : nothing ;)
----------------------------------------------------------------------------------
                                                                                 
@REPLY: 1:154/10 6ade5788
@MSGID: 2:201/127 6ade7522
@CHRS: LATIN-1 2
@TZUTC: 0100
Hello Nick!

Sunday October 25 2026 14:24, you wrote to me:

 NB> I recently ran into kind of the same issue on one of my VMs with 2
 NB> cores and 4gb ram, using "cmake" with no options and it failed. I
 NB> ended up fixing the issue with the "-j2" option. I had thought "cmake"
 NB> would use the number of logical processors as well, but for some
 NB> reason it didn`t.

For cmake there are --parallel option and CMAKE_BUILD_PARALLEL_LEVEL
environment variable. If no one CMakeLists.txt in the project or included
scripts are overriding this option, and option is not set, then cmake will
use settings from native build system (make, ninja, and etc).
Maybe something was overriden by build script (via environment) at the upper
level. Or on some lower level as well, in subdirectory project files. Or the
native build system had specific configuration with overrided parameters.
Recently I saw similar problem in Yocto Linux. The bitbake selected 10 parallel
jobs by default, for some unknown reason, while host is 4-kernel CPU with 8
logical processors.


With best regards, Sergey.

... I must not fear. Fear is the mind-killer.
--- GoldED+/LNX 2.0.0-b20260912
 * Origin: Submarine Pilot, Bandhagen, Sweden (2:201/127)
SEEN-BY: 50/13 279 103/705 124/5016 153/757 154/10 30 201/0 111 121 127 137
SEEN-BY: 201/420 203/0 221/1 6 250 240/1120 5832 263/1 280/464 1043 5003
SEEN-BY: 292/854 8125 301/1 310/31 320/219 341/66 234 396/45 423/81 120 460/58
SEEN-BY: 463/68 633/280 712/848 770/1 5001/100 5003/17 5020/545 570 715 1042
SEEN-BY: 5020/1146 1477 2332 4441 8912 5022/2 5023/24 5025/3 75 5030/49 1081
SEEN-BY: 5030/1957 2404 5034/13 5037/7 5051/44 5053/58 5055/73 5061/15 5066/18
SEEN-BY: 5080/102 245 5095/20
@PATH: 201/127 0 221/1 280/464 5020/545 5080/102 5030/49 5020/715



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх