MMichael KruseReapply "[Flang] Remove FLANG_INCLUDE_RUNTIME (#124126)"
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Reapply "[Flang] Remove FLANG_INCLUDE_RUNTIME (#124126)" This reverts commit 27539c3f903be26c487703943d3c27d45d4542b2. Retry with new buildbot configuration after master restart. Original message: Remove the FLANG_INCLUDE_RUNTIME option which was replaced by LLVM_ENABLE_RUNTIMES=flang-rt. The FLANG_INCLUDE_RUNTIME option was added in #122336 which disables the non-runtimes build instructions for the Flang runtime so they do not conflict with the LLVM_ENABLE_RUNTIMES=flang-rt option added in #110217. In order to not maintain multiple build instructions for the same thing, this PR completely removes the old build instructions (effectively forcing FLANG_INCLUDE_RUNTIME=OFF). As per discussion in https://discourse.llvm.org/t/buildbot-changes-with-llvm-enable-runtimes-flang-rt/83571/2 we now implicitly add LLVM_ENABLE_RUNTIMES=flang-rt whenever Flang is compiled in a bootstrapping (non-standalone) build. Because it is possible to build Flang-RT separately, this behavior can be disabled using -DFLANG_ENABLE_FLANG_RT=OFF. Also see the discussion an implicitly adding runtimes/projects in #123964. | 1 年前 | |
[flang] Generate quadmath_wrapper.h for Flang Evaluate. (#132817) When building Flang with Clang, we need to do the same quadmath.h wrapping as we do for flang-rt. I extracted the CMake code into FlangCommon.cmake, and cleaned up the arguments passing to execute_process (note that -### was treated as - in the original code, because # starts a comment). I believe the Clang command does not require the input source file, so I removed it as well. | 1 年前 |