From 8dc38d9fabf86e408d4fc043793bc0aa342aadf1 Mon Sep 17 00:00:00 2001 From: Jacques Pienaar Date: Fri, 16 Aug 2019 08:34:37 -0700 Subject: [PATCH] C++14 is now default enabled in LLVM, remove obsolete CMake flag. PiperOrigin-RevId: 263776602 --- third_party/mlir/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/third_party/mlir/README.md b/third_party/mlir/README.md index 104d9ad5439..ce1f1b0958e 100644 --- a/third_party/mlir/README.md +++ b/third_party/mlir/README.md @@ -96,7 +96,7 @@ git clone https://github.com/llvm/llvm-project.git git clone https://github.com/tensorflow/mlir llvm-project/llvm/projects/mlir mkdir llvm-project/build cd llvm-project/build -cmake -G Ninja ../llvm -DLLVM_BUILD_EXAMPLES=ON -DLLVM_ENABLE_CXX1Y=Y -DLLVM_TARGETS_TO_BUILD="host" +cmake -G Ninja ../llvm -DLLVM_BUILD_EXAMPLES=ON -DLLVM_TARGETS_TO_BUILD="host" cmake --build . --target check-mlir ``` @@ -104,13 +104,13 @@ To compile and test on Windows using Visual Studio 2017: ```bat REM In shell with Visual Studio environment set up, e.g., with command such as -REM \Auxiliary\Build\vcvarsall.bat" x64 +REM $visual-studio-install\Auxiliary\Build\vcvarsall.bat" x64 REM invoked. git clone https://github.com/llvm/llvm-project.git git clone https://github.com/tensorflow/mlir llvm-project\llvm\projects\mlir mkdir llvm-project\build cd llvm-project\build -cmake ..\llvm -G "Visual Studio 15 2017 Win64" -DLLVM_BUILD_EXAMPLES=ON -DLLVM_ENABLE_CXX1Y=Y -DLLVM_TARGETS_TO_BUILD="host" -DCMAKE_BUILD_TYPE=Release -Thost=x64 +cmake ..\llvm -G "Visual Studio 15 2017 Win64" -DLLVM_BUILD_EXAMPLES=ON -DLLVM_TARGETS_TO_BUILD="host" -DCMAKE_BUILD_TYPE=Release -Thost=x64 cmake --build . --target check-mlir ```