[flang-commits] [flang] [flang] Add FLANG_PARALLEL_COMPILE_JOBS option (PR #127364)

Tom Stellard via flang-commits flang-commits at lists.llvm.org
Mon Feb 17 07:47:34 PST 2025


tstellar wrote:

@Meinersbur What if we changed the default to be something like jobs = TotalMemory / (4 * LLVM_RAM_PER_COMPILE_JOB) ?  I understand that any solution we have is not going to be ideal, but I think we need to do something, because having the build consistently fail due to OOM errors on some systems is not a good experience for users.  Especially new users who may not know what is going on.

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


More information about the flang-commits mailing list