Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit cd4bafc

Browse files
committed
add nullptr
1 parent f5a7466 commit cd4bafc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tc/core/polyhedral/llvm_jit.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ Jit::Jit()
128128
compileLayer_(objectLayer_, orc::SimpleCompiler(*TM_)) {
129129
std::string err;
130130

131-
auto path = find_library_path("libcilkrts.so");
132-
sys::DynamicLibrary::LoadLibraryPermanently(path.c_str(), &err);
131+
sys::DynamicLibrary::LoadLibraryPermanently(nullptr, &err);
133132
if (err != "") {
134133
throw std::runtime_error("Failed to find cilkrts: " + err);
135134
}

0 commit comments

Comments
 (0)