[all-commits] [llvm/llvm-project] 870eb0: [lldb] Set CMAKE_CXX_STANDARD before including LLD...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon May 15 14:32:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 870eb04f1005da8278673f3cd1d1a640d16b63e6
      https://github.com/llvm/llvm-project/commit/870eb04f1005da8278673f3cd1d1a640d16b63e6
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M lldb/CMakeLists.txt

  Log Message:
  -----------
  [lldb] Set CMAKE_CXX_STANDARD before including LLDBStandalone

Set the C++ language standard before including LLDBStandalone.cmake.
Otherwise we risk building some of our dependencies (such as llvm_gtest)
without C++ 17 support.

This should fix the standalone bot [1] which is currently failing with the
following error:

  test-port.h:841:12: error: no member named 'tuple' in namespace 'std'
  using std::tuple;

[1] https://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake-standalone




More information about the All-commits mailing list