Defaults for parallel compile and link jobs
See original GitHub issueWith https://github.com/ClangBuiltLinux/tc-build/commit/f917c5c2adb5a7b2e18e592f6725399aed357952 you introduced custom options for parrallel compile and link jobs. I welcome this, thanks.
When I first had issues with compiling/linking a llvm-toolchain LLVM folks recommended to use safe settings:
parallel compile jobs = 2
and … safe parallel link jobs = 1
.
Cannot say what the default is for linking in tc-build or LLVM upstream, but I see parallel compile jobs
are set to 4
(maximum of available CPUs?) in tc-build for my Intel SandyBridge notebook.
What are the default settings?
Please note @nickdesaulniers tip in the below link.
[1] https://github.com/ClangBuiltLinux/llvm-dev-conf-2020/issues/3#issuecomment-704398983
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Compiling server jobs and parallel jobs - IBM
The compilation of parallel jobs is by default optimized such that transformer stages only get recompiled if they have changed since the last...
Read more >Parallel make: set -j8 as the default option - Stack Overflow
Your question is not about threads, but processes (jobs) executed by make. The simple, way to set this, when make is used from...
Read more >Parallel (GNU make)
The default number of job slots is one, which means serial execution (one thing at a time). Handling recursive make invocations raises issues...
Read more >The basics of CI: How to run jobs sequentially, in parallel, or ...
Jobs can run sequentially, in parallel, or out of order using DAG. You can pass files between jobs and store them in build...
Read more >Configure and pay for parallel jobs - Azure DevOps
In Azure Pipelines, you can run parallel jobs on Microsoft-hosted infrastructure ... We provide a free tier of service by default in every ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Building on a phone versus building on a laptop or server are two completely different use cases. The script aims to be as quick as possible which means building with as many compile and link jobs as ninja feels is reasonable by default. The
-D
option is there if it needs to be lowered but I disagree with setting any value to those options by default, especially given that LLVM doesn’t.Thanks.
I dropped my compile and link jobs options. Will only add link jobs = 1. For the rest I trust NinJA. Ja means German Yes.
Nathan Chancellor notifications@github.com schrieb am Di., 2. Feb. 2021, 08:26: