[PATCH] D107041: [Flang] Ported test_symbols to Python

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 16 02:28:01 PDT 2021


awarzynski added a comment.

In D107041#2945846 <https://reviews.llvm.org/D107041#2945846>, @Meinersbur wrote:

> A "out-of-tree build" is a build directory that is not the same as the source directory (mandatory for LLVM <https://github.com/llvm/llvm-project/blob/ca637014f148288ce59c16ee79ecce60c83af703/llvm/CMakeLists.txt#L252>) and is independent of how the source tree is organized.
>
> I haven't understood @klausler's workflow, as long as `-f` is not used for the `git add` command, ignored files mentioned in the .gitignore <https://github.com/llvm/llvm-project/blob/ca637014f148288ce59c16ee79ecce60c83af703/.gitignore#L17> should not be added.

In the context of LLVM Flang, "out-of-tree" usually means that Flang itself is out-of-tree: https://github.com/llvm/llvm-project/tree/main/flang#building-flang-out-of-tree. This means building in two stages:

- stage 1 - build LLVM, MLIR, Clang
- stage 2 - build Flang against the binaries generated in stage 1 (i.e. as if Flang was an out-of-tree project)

In this workflow, LLVM Flang is like an independent project. It's more like "out-of-tree development" than "out-of-tree build" and `.gitignore` from LLVM doesn't really exist in this set-up.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107041/new/

https://reviews.llvm.org/D107041



More information about the llvm-commits mailing list