[PATCH] D84022: [flang] Fix multi-config generator builds.

David Truby via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 14:21:19 PDT 2020


DavidTruby added a comment.

@Meinersbur `CMAKE_CFG_INTDIR` is being used here indirectly by `LLVM_RUNTIME_OUTPUT_INTDIR`, which references it. I've also added a comment about the flang.sh script (that previously was getting installed on both platforms) to say that we will now only install it on Linux. I did it this way as I couldn't find a neater way to make it executable on POSIX platforms in a custom command than using chmod.

@tskeith could you explain your rationale for reverting this please? I don't think it's reasonable to expect all patches to be tested with out-of-tree configurations by people that don't perform them, and reverting here seems to raise that expectation. As such I would much rather have seen a patch from someone that needs out-of-tree builds along the lines that I suggested, rather than a revert. I'm not the person in the best position to fix out-of-tree support for this patch as I do not perform out of tree builds...

Furthermore, this patch was up for quite a while before I pushed it and I requested people to test it. It also passed both the pre and post commit testing in LLVM.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84022



More information about the llvm-commits mailing list