Skip to content

Commit 5ecba97

Browse files
committed
Disable dynamic-compile feature with LLVM 20 for now
1 parent 77746ff commit 5ecba97

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/actions/6-integration-test/action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ runs:
4545
run: |
4646
set -eux
4747
cd ..
48-
if type -P apk &>/dev/null; then
49-
exit 0 # Alpine: disabled dynamic-compile support
48+
if ! ls installed/lib/*ldc-jit-rt* &>/dev/null; then
49+
echo "ldc-jit-rt library not found, skipping test"
50+
exit 0
5051
fi
5152
if [[ '${{ runner.os }}' == Windows ]]; then
5253
# add ldc-jit.dll dir to PATH

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,8 +457,11 @@ option(LDC_DYNAMIC_COMPILE_USE_CUSTOM_PASSES "Use custom LDC passes in jit" ON)
457457
if(LDC_DYNAMIC_COMPILE STREQUAL "AUTO")
458458
if(LDC_LLVM_VER LESS 1800)
459459
set(LDC_DYNAMIC_COMPILE OFF)
460-
else()
460+
# FIXME: dynamic-compile regressions with LLVM 20
461+
elseif(LDC_LLVM_VER LESS 2000)
461462
set(LDC_DYNAMIC_COMPILE ON)
463+
else()
464+
set(LDC_DYNAMIC_COMPILE OFF)
462465
endif()
463466
endif()
464467
# https://llvm.org/docs/JITLink.html for the list of supported platforms

0 commit comments

Comments
 (0)