onnx-mlir/src/ExternalUtil.hpp.in

16 lines
601 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 kOptPath = "@LLVM_PROJ_BUILD@/bin/opt";
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