onnx-mlir/src/ExternalUtil.hpp.in

15 lines
543 B
C++

#pragma once
#include <string>
namespace onnx_mlir {
std::string kExecPath = "@CMAKE_INSTALL_PREFIX@/bin/onnx-mlir"; /* fallback if not set by main */
const std::string kInstPath = "@CMAKE_INSTALL_PREFIX@";
const std::string kLlcPath = "@LLVM_PROJ_BUILD@/bin/llc";
const std::string kCxxPath = "@CMAKE_CXX_COMPILER@";
const std::string kLinkerPath = "@CMAKE_LINKER@";
const std::string kObjCopyPath = "@CMAKE_OBJCOPY@";
const std::string kArPath = "@CMAKE_AR@";
const std::string kJarPath = "@Java_JAR_EXECUTABLE@";
} // namespace onnx_mlir