catalyst
catalyst copied to clipboard
Add CMAKE_ARGS option in mlir
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:
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.