Skip to content

[docs][mlir]Duplicated -DCMAKE_BUILD_TYPE=Release in MLIR Windows Build Instructions #110373

@aabhinavg1

Description

@aabhinavg1

Duplicated -DCMAKE_BUILD_TYPE=Release in MLIR Windows Build Instructions

In the MLIR Getting Started guide, under the Windows compile/testing section, the CMake command includes a duplicated -DCMAKE_BUILD_TYPE=Release flag:

cmake ..\llvm -G "Visual Studio 15 2017 Win64" -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_BUILD_EXAMPLES=ON -DLLVM_TARGETS_TO_BUILD="Native" -Thost=x64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON

#Proposed Fix

cmake ..\llvm -G "Visual Studio 15 2017 Win64" -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_BUILD_EXAMPLES=ON -DLLVM_TARGETS_TO_BUILD="Native" -Thost=x64 -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions