From 80a3c74e402c62a39b5211009a308dde51daa0d2 Mon Sep 17 00:00:00 2001 From: "j-h.choi" Date: Thu, 4 Jul 2024 17:01:56 +0900 Subject: [PATCH] Fixed the arch bug that occurred in the MIC build --- NativeLauncher/tool/ni_common.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NativeLauncher/tool/ni_common.cc b/NativeLauncher/tool/ni_common.cc index 3b6aa3b..9a2e0c5 100644 --- a/NativeLauncher/tool/ni_common.cc +++ b/NativeLauncher/tool/ni_common.cc @@ -871,10 +871,11 @@ ni_error_e initNICommon() CLRJIT_PATH = std::string("/opt/usr/dotnet/mic/libclrjit_"); if (strstr(bf::read_symlink(__RUNTIME_DIR).string().c_str(), "6.0.") != NULL) { CLRJIT_PATH.append("unix_"); //6.0.X + CLRJIT_PATH.append(ARCHITECTURE_IDENTIFIER); } else { CLRJIT_PATH.append("universal_"); + CLRJIT_PATH.append(ARCHITECTURE_IDENTIFIER_GENERAL); } - CLRJIT_PATH.append(ARCHITECTURE_IDENTIFIER_GENERAL); CLRJIT_PATH.append("_x64.so"); } -- 2.7.4