catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

Add CMAKE_ARGS option in mlir

Open vincentmr opened this issue 1 year ago • 1 comments

Context: It is necessary to pass custom CMake options such as -DCMAKE_CXX_FLAGS='-stdlib=libc++' to the MLIR config to build MLIR with clang-19. One convenient way to deal with that is have CMAKE_ARGS as in the runtime.

Description of the Change: Add optional CMAKE_ARGS to pass arbitrary CMake options to the MLIR build.

Benefits:

Possible Drawbacks:

Related GitHub Issues:

vincentmr avatar Feb 26 '24 20:02 vincentmr

Hello. You may have forgotten to update the changelog! Please edit doc/changelog.md on your branch with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

github-actions[bot] avatar Feb 26 '24 21:02 github-actions[bot]