[all-commits] [llvm/llvm-project] 6f790f: [mlir] Specify CMAKE_CXX_STANDARD to standalone di...

Lei Zhang via All-commits all-commits at lists.llvm.org
Tue May 5 12:27:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f790f784ee4e690d2b98ec7589279e50bfaf1a4
      https://github.com/llvm/llvm-project/commit/6f790f784ee4e690d2b98ec7589279e50bfaf1a4
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2020-05-05 (Tue, 05 May 2020)

  Changed paths:
    M mlir/examples/standalone/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Specify CMAKE_CXX_STANDARD to standalone dialect

This addresses a compilation failure on GCC 5:

error: #error This file requires compiler and library support for the
ISO C++ 2011 standard. This support must be enabled with the -std=c++11
or -std=gnu++11 compiler options.
 #error This file requires compiler and library support

Differential Revision: https://reviews.llvm.org/D79439




More information about the All-commits mailing list