[Mlir-commits] [mlir] [mlir][XeVM] Use libocloc API for binary generation. (PR #188353)

Artem Kroviakov llvmlistbot at llvm.org
Mon Apr 13 08:37:28 PDT 2026


================
@@ -39,16 +39,102 @@
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/Target/TargetMachine.h"
 
-#if MLIR_XEVM_OCLOC_AVAILABLE
-#include <ocloc_api.h>
-#endif // MLIR_XEVM_OCLOC_AVAILABLE
-
 #include <cstdint>
 #include <cstdlib>
 
 using namespace mlir;
 using namespace mlir::xevm;
 
+#if MLIR_XEVM_OCLOC_LIB_AVAILABLE
----------------
akroviakov wrote:

I see, we can keep these declarations in .cpp

https://github.com/llvm/llvm-project/pull/188353


More information about the Mlir-commits mailing list