Use c++14 for building with CMake
authorMehdi Amini <aminim@google.com>
Tue, 9 Apr 2019 02:21:06 +0000 (19:21 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 9 Apr 2019 06:26:38 +0000 (23:26 -0700)
    This is getting rid of some warnings, and C++14 is supposed to be
    the default soon anyway.

--

PiperOrigin-RevId: 242587219

mlir/README.md

index ca55cda..547138f 100644 (file)
@@ -97,7 +97,7 @@ git clone https://github.com/tensorflow/mlir
 cd ../..
 mkdir build
 cd build
-cmake -G Ninja ../llvm -DLLVM_BUILD_EXAMPLES=ON
+cmake -G Ninja ../llvm -DLLVM_BUILD_EXAMPLES=ON -DLLVM_ENABLE_CXX1Y=Y
 ninja check-mlir
 ```