You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Direct dependencies on the StableHLO repository already work through Bazel (e.g. this is how XLA depends on StableHLO), but CMake support is currently missing. We would need to implement something along the lines of what MLIR-HLO does - this doesn't appear to be particularly hard.
The text was updated successfully, but these errors were encountered:
To follow up on #1612, this PR further aligns StableHLO and MLIR-HLO
builds to facilitate the transition from mlir-hlo to stablehlo.
Changes in this PR:
1) Adds Ccache support.
2) Adds support for LLVM_ENABLE_ZLIB.
3) Removes STABLEHLO_STANDALONE_BUILD, to better align with MLIR-HLO
terminology.
Deltas between CMakeLists.txt in this PR and CMakeLists.txt in MLIR-HLO:
a) Says "StableHLO" instead of "MHLO".
b) Supports STABLEHLO_ENABLE_STRICT_BUILD (there is no equivalent
in the MLIR-HLO build).
c) Doesn't support ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules yet,
as well as some MLIR_HLO_FOO_DIR variables needed for that.
(We have #1549 to follow up on this).
Right now, StableHLO is oftentimes depended on through MLIR-HLO, but given the plans to sunset the MLIR-HLO repository, we need to tighten our story in this area.
Direct dependencies on the StableHLO repository already work through Bazel (e.g. this is how XLA depends on StableHLO), but CMake support is currently missing. We would need to implement something along the lines of what MLIR-HLO does - this doesn't appear to be particularly hard.
The text was updated successfully, but these errors were encountered: