[flang-commits] [flang] [flang] Support linking to MLIR dylib (PR #120966)

LLVM Continuous Integration via flang-commits flang-commits at lists.llvm.org
Thu Jan 16 06:04:21 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `flang-runtime-cuda-clang` running on `as-builder-7` while building `flang` at step 9 "cmake-configure-flang-runtime".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/7/builds/9797

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 9 (cmake-configure-flang-runtime) failure: cmake (failure)
...
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Linker detection: LLD
-- Performing Test LLVM_LIBSTDCXX_MIN
-- Performing Test LLVM_LIBSTDCXX_MIN - Success
-- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR
-- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR - Success
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Success
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include  
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Performing Test HAVE_DECL_STRERROR_S
-- Performing Test HAVE_DECL_STRERROR_S - Failed
-- Performing Test HAVE_LDBL_MANT_DIG_113
-- Performing Test HAVE_LDBL_MANT_DIG_113 - Failed
-- Performing Test FLANG_RUNTIME_HAS_FNO_LTO_FLAG
-- Performing Test FLANG_RUNTIME_HAS_FNO_LTO_FLAG - Success
-- Looking for sinf128 in m
-- Looking for sinf128 in m - found
CMake Error at /home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-clang/llvm-project/flang/cmake/modules/AddFlang.cmake:69 (mlir_target_link_libraries):
  Unknown CMake command "mlir_target_link_libraries".
Call Stack (most recent call first):
  CMakeLists.txt:271 (add_flang_library)


-- Configuring incomplete, errors occurred!
See also "/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-clang/build/flang-runtime/CMakeFiles/CMakeOutput.log".
See also "/home/buildbot/worker/as-builder-7/ramdisk/flang-runtime-cuda-clang/build/flang-runtime/CMakeFiles/CMakeError.log".

```

</details>

https://github.com/llvm/llvm-project/pull/120966


More information about the flang-commits mailing list