Skip to content

Commit e7807c4

Browse files
authored
Only apply oop patch for llvm 20
1 parent 69cc9f4 commit e7807c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/Build_LLVM/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ runs:
4343
ninja LLVMOrcDebugging -j ${{ env.ncpus }}
4444
ninja clingInterpreter -j ${{ env.ncpus }}
4545
else
46-
if [[ "${{ matrix.oop-jit }}" == "On" ]]; then
46+
llvm_vers=$(echo "${{ matrix.clang-runtime }}" | tr '[:lower:]' '[:upper:]')
47+
if [[ "${{ matrix.oop-jit }}" == "On" && "${llvm_vers}" == "20" ]]; then
4748
git apply -v ../patches/llvm/clang20-1-out-of-process.patch
4849
echo "Apply clang20-1-out-of-process.patch:"
4950
fi

0 commit comments

Comments
 (0)