Skip to content

Commit 17bd8ec

Browse files
author
kr-2003
committed
generalization for orc
1 parent 0fa9c8f commit 17bd8ec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/MacOS-arm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
path: |
110110
llvm-project
111111
${{ matrix.cling=='On' && 'cling' || '' }}
112-
key: ${{ env.CLING_HASH }}-${{ runner.os }}-${{ matrix.os }}-${{ matrix.compiler }}-clang-${{ matrix.clang-runtime }}.x-patch-${{ hashFiles(format('patches/llvm/clang{0}-*.patch', matrix.clang-runtime)) || 'none' }}
112+
key: v1-${{ env.CLING_HASH }}-${{ runner.os }}-${{ matrix.os }}-${{ matrix.compiler }}-clang-${{ matrix.clang-runtime }}.x-patch-${{ hashFiles(format('patches/llvm/clang{0}-*.patch', matrix.clang-runtime)) || 'none' }}
113113

114114
- name: Setup default Build Type
115115
run: |

lib/CppInterOp/Compatibility.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,15 +256,15 @@ createClangInterpreter(std::vector<const char*>& args, bool outOfProcess) {
256256
std::unique_ptr<llvm::orc::LLJITBuilder> JB;
257257

258258
if(outOfProcess) {
259-
std::string OOPExecutor = "/Users/abhinavkumar/Desktop/Coding/CERN_HSF_COMPILER_RESEARCH/llvm-project-test/build/bin/llvm-jitlink-executor";
259+
std::string OOPExecutor = std::string(LLVM_SOURCE_DIR) + "/build/bin/llvm-jitlink-executor";
260260
bool UseSharedMemory = false;
261261
std::string SlabAllocateSizeString = "";
262262
std::unique_ptr<llvm::orc::ExecutorProcessControl> EPC;
263263
EPC = ExitOnError(
264264
launchExecutor(OOPExecutor, UseSharedMemory, SlabAllocateSizeString));
265265

266266

267-
std::string OrcRuntimePath = "/Users/abhinavkumar/Desktop/Coding/CERN_HSF_COMPILER_RESEARCH/llvm-project-test/build/lib/clang/20/lib/darwin/liborc_rt_osx.a";
267+
std::string OrcRuntimePath = std::string(LLVM_SOURCE_DIR) + "/build/lib/clang/20/lib/darwin/liborc_rt_osx.a";
268268
if (EPC) {
269269

270270
CB.SetTargetTriple(EPC->getTargetTriple().getTriple());

0 commit comments

Comments
 (0)