[Mlir-commits] [mlir] [mlir][XeVM] Use libocloc API for binary generation. (PR #188353)
Sang Ik Lee
llvmlistbot at llvm.org
Mon Apr 6 15:54:09 PDT 2026
================
@@ -0,0 +1,82 @@
+# Findocloc.cmake
+
+# Define a function to search for ocloc
+function(find_ocloc)
+ message(STATUS "Searching for ocloc")
+
+ if(WIN32)
+ if(CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(OCLOC_SUFFIX "64")
+ else()
+ set(OCLOC_SUFFIX "32")
+ endif()
+
+ set(OCLOC_EXE_PATHS "${OCLOC_PACKAGE_DIR}" "${OCLOC_PACKAGE_DIR}/bin")
----------------
silee2 wrote:
Is `OCLOC_PACKAGE_DIR` a variable that needs to be manually provided by user?
https://github.com/llvm/llvm-project/pull/188353
More information about the Mlir-commits
mailing list