Skip to content

Commit 2987cc6

Browse files
author
kr-2003
committed
llvm-jitlink-executor target
1 parent 2db25d8 commit 2987cc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/unittests/Interpreter/InterpreterTest.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static std::string getOrcRuntimePath() {
8888
if (SystemTriple.isOSDarwin()) {
8989
llvm::sys::path::append(RuntimePath, "darwin", "liborc_rt_osx.a");
9090
} else if (SystemTriple.isOSLinux()) {
91-
llvm::sys::path::append(RuntimePath, "linux", "liborc_rt.a");
91+
llvm::sys::path::append(RuntimePath, "x86_64-unknown-linux-gnu", "liborc_rt.a");
9292
} else {
9393
// Add other platforms as needed
9494
llvm::sys::path::append(RuntimePath, "liborc_rt.a");
@@ -139,6 +139,8 @@ createInterpreterWithRemoteExecution(const Args &ExtraArgs = {},
139139
}));
140140
std::string OrcRuntimePath = getOrcRuntimePath();
141141

142+
std::cout << "Orc Runtime Path: " << OrcRuntimePath << "\n";
143+
142144
if (EPC) {
143145
CB.SetTargetTriple(EPC->getTargetTriple().getTriple());
144146
JB = ExitOnError(clang::Interpreter::createLLJITBuilder(std::move(EPC),

0 commit comments

Comments
 (0)