aboutsummaryrefslogtreecommitdiff
path: root/mlir/README.md
diff options
context:
space:
mode:
authorMehdi Amini <aminim@google.com>2019-04-08 19:21:06 -0700
committerMehdi Amini <joker.eph@gmail.com>2019-04-08 23:26:38 -0700
commit6b18e34de4363a4d4fc22270d36f84bfeb716280 (patch)
tree2850a2548615b8b99f75598b5db76cdcfa2cb822 /mlir/README.md
parent04b6d2f3c138227c3d282e5e57887be844d9d92b (diff)
downloadllvm-6b18e34de4363a4d4fc22270d36f84bfeb716280.zip
llvm-6b18e34de4363a4d4fc22270d36f84bfeb716280.tar.gz
llvm-6b18e34de4363a4d4fc22270d36f84bfeb716280.tar.bz2
Use c++14 for building with CMake
This is getting rid of some warnings, and C++14 is supposed to be the default soon anyway. -- PiperOrigin-RevId: 242587219
Diffstat (limited to 'mlir/README.md')
-rw-r--r--mlir/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/README.md b/mlir/README.md
index ca55cda..547138f 100644
--- a/mlir/README.md
+++ b/mlir/README.md
@@ -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
```