[all-commits] [llvm/llvm-project] 083c68: [flang] Add FLANG_PARALLEL_COMPILE_JOBS option (#9...
Tom Stellard via All-commits
all-commits at lists.llvm.org
Tue Jun 18 08:26:33 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 083c683969b2436afdc45becadc955841f5f4d31
https://github.com/llvm/llvm-project/commit/083c683969b2436afdc45becadc955841f5f4d31
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-06-18 (Tue, 18 Jun 2024)
Changed paths:
M flang/CMakeLists.txt
M flang/cmake/modules/AddFlang.cmake
Log Message:
-----------
[flang] Add FLANG_PARALLEL_COMPILE_JOBS option (#95672)
This works the same way as LLVM_PARALLEL_COMPILE_JOBS except that it is
specific to the flang source rather than for the whole project.
Configuring with -DFLANG_PARALLEL_COMPILE_JOBS=1 would mean that there
would only ever be one flang source being compiled at a time.
Some of the flang sources require large amounts of memory to compile, so
this option can be used to avoid OOM erros when compiling those files
while still allowing the rest of the project to compile using the
maximum number of jobs.
---------
Co-authored-by: Nikita Popov <github at npopov.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list