[Bug 2086245] [NEW] Some ninja commands do not limit the number of parallelies

zhuangqiubin 2086245 at bugs.launchpad.net
Fri Nov 1 06:39:38 UTC 2024


Public bug reported:

when I build on riscv, some ninja command just run with -v. I can't find
it in the rule file, it seems to be generated dynamically during
compilation. Can anyone tell me how to limit them by adding the -j
option?


first:
```
cd /mnt/workspace/llvm-toolchain-17/build-llvm/runtimes/builtins-bins && /usr/bin/cmake --build .
Change Dir: '/mnt/workspace/llvm-toolchain-17/build-llvm/runtimes/builtins-bins'
Run Build Command(s): /usr/bin/ninja -v         
```

second:
```
cd /mnt/workspace/llvm-toolchain-17/build-llvm/runtimes/runtimes-bins && /usr/bin/cmake --build .
Change Dir: '/mnt/workspace/llvm-toolchain-17/build-llvm/runtimes/runtimes-bins'
Run Build Command(s): /usr/bin/ninja -v
```

third:
```
cd /mnt/workspace/llvm-toolchain-17/build-llvm/tools/clang/stage2-bins && /usr/bin/cmake --build /mnt/workspace/llvm-toolchain-17/build-llvm/tools/clang/stage2-bins/ --config Release && /usr/bin/cmake -E touch /mnt/workspace/llvm-toolchain-17/build-llvm/tools/clang/stage2-stamps/stage2-build
Change Dir: '/mnt/workspace/llvm-toolchain-17/build-llvm/tools/clang/stage2-bins'
Run Build Command(s): /usr/bin/ninja -v
```

Thanks in advance.

** Affects: llvm-toolchain-17 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to llvm-toolchain-17 in Ubuntu.
https://bugs.launchpad.net/bugs/2086245

Title:
  Some ninja commands do not limit the number of parallelies

Status in llvm-toolchain-17 package in Ubuntu:
  New

Bug description:
  when I build on riscv, some ninja command just run with -v. I can't
  find it in the rule file, it seems to be generated dynamically during
  compilation. Can anyone tell me how to limit them by adding the -j
  option?

  
  first:
  ```
  cd /mnt/workspace/llvm-toolchain-17/build-llvm/runtimes/builtins-bins && /usr/bin/cmake --build .
  Change Dir: '/mnt/workspace/llvm-toolchain-17/build-llvm/runtimes/builtins-bins'
  Run Build Command(s): /usr/bin/ninja -v         
  ```

  second:
  ```
  cd /mnt/workspace/llvm-toolchain-17/build-llvm/runtimes/runtimes-bins && /usr/bin/cmake --build .
  Change Dir: '/mnt/workspace/llvm-toolchain-17/build-llvm/runtimes/runtimes-bins'
  Run Build Command(s): /usr/bin/ninja -v
  ```

  third:
  ```
  cd /mnt/workspace/llvm-toolchain-17/build-llvm/tools/clang/stage2-bins && /usr/bin/cmake --build /mnt/workspace/llvm-toolchain-17/build-llvm/tools/clang/stage2-bins/ --config Release && /usr/bin/cmake -E touch /mnt/workspace/llvm-toolchain-17/build-llvm/tools/clang/stage2-stamps/stage2-build
  Change Dir: '/mnt/workspace/llvm-toolchain-17/build-llvm/tools/clang/stage2-bins'
  Run Build Command(s): /usr/bin/ninja -v
  ```

  Thanks in advance.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-17/+bug/2086245/+subscriptions




More information about the foundations-bugs mailing list