| commit | 2e5ec1cc5b8ef30f04f53d927860184acf7150b3 | [log] [tgz] |
|---|---|---|
| author | Tom Stellard <tstellar@redhat.com> | Thu Feb 20 11:29:54 2025 -0800 |
| committer | GitHub <noreply@github.com> | Thu Feb 20 11:29:54 2025 -0800 |
| tree | 67ab6dcd19790f3aa73786417251e5855bd97fbd | |
| parent | 0ba391a85f03541635c337ab5648704175e19bec [diff] |
[flang] Add FLANG_PARALLEL_COMPILE_JOBS option (#127364) This is a re-apply of 083c683969b2436afdc45becadc955841f5f4d31 with a fix for the flang runtime build. 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. Update flang/CMakeLists.txt --------- Co-authored-by: Nikita Popov <github@npopov.com> Co-authored-by: Michael Kruse <github@meinersbur.de>
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.