[clang] [Clang] add option --offload-jobs=N (PR #135229)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 10 21:03:50 PDT 2025


================
@@ -1233,6 +1233,10 @@ def offload_compression_level_EQ : Joined<["--"], "offload-compression-level=">,
   Flags<[HelpHidden]>,
   HelpText<"Compression level for offload device binaries (HIP only)">;
 
+def offload_jobs_EQ : Joined<["--"], "offload-jobs=">,
+  HelpText<"Set the number of threads for the clang-linker-wrapper. Defaults to"
+           " half of the available hardware threads if not specified.">;
----------------
yxsamliu wrote:

removed default

https://github.com/llvm/llvm-project/pull/135229


More information about the cfe-commits mailing list