@@ -43,12 +43,12 @@ jobs:
43
43
cling : Off
44
44
llvm_enable_projects : " clang"
45
45
llvm_targets_to_build : " host;NVPTX"
46
- - name : ubu22-x86-gcc9-clang13 -cling
46
+ - name : ubu22-x86-gcc9-clang18 -cling
47
47
os : ubuntu-22.04
48
48
compiler : gcc-9
49
- clang-runtime : ' 13 '
49
+ clang-runtime : ' 18 '
50
50
cling : On
51
- cling-version : ' 1.0 '
51
+ cling-version : ' 1.2 '
52
52
llvm_enable_projects : " clang"
53
53
llvm_targets_to_build : " host;NVPTX"
54
54
- name : ubu22-arm-gcc12-clang-repl-19
@@ -72,12 +72,12 @@ jobs:
72
72
cling : Off
73
73
llvm_enable_projects : " clang"
74
74
llvm_targets_to_build : " host;NVPTX"
75
- - name : ubu22-arm-gcc9-clang13 -cling
75
+ - name : ubu22-arm-gcc9-clang18 -cling
76
76
os : ubuntu-22.04-arm
77
77
compiler : gcc-9
78
- clang-runtime : ' 13 '
78
+ clang-runtime : ' 18 '
79
79
cling : On
80
- cling-version : ' 1.0 '
80
+ cling-version : ' 1.2 '
81
81
llvm_enable_projects : " clang"
82
82
llvm_targets_to_build : " host;NVPTX"
83
83
@@ -171,6 +171,7 @@ jobs:
171
171
git clone https://github.com/root-project/cling.git
172
172
cd ./cling
173
173
git checkout tags/v${{ matrix.cling-version }}
174
+ git apply -v ${{ github.workspace }}/CppInterOp/patches/llvm/cling1.2-LookupHelper.patch
174
175
cd ..
175
176
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
176
177
else # repl
@@ -197,9 +198,8 @@ jobs:
197
198
-G Ninja \
198
199
../llvm
199
200
ninja clang -j ${{ env.ncpus }}
200
- ninja cling -j ${{ env.ncpus }}
201
- # Now build gtest.a and gtest_main for CppInterOp to run its tests.
202
- ninja gtest_main -j ${{ env.ncpus }}
201
+ ninja LLVMOrcDebugging -j ${{ env.ncpus }}
202
+ ninja clingInterpreter -j ${{ env.ncpus }}
203
203
else
204
204
# Apply patches
205
205
llvm_vers=$(echo "${{ matrix.clang-runtime }}" | tr '[:lower:]' '[:upper:]')
@@ -277,12 +277,12 @@ jobs:
277
277
clang-runtime : ' 17'
278
278
cling : Off
279
279
cppyy : On
280
- - name : ubu22-x86-gcc9-clang13 -cling-cppyy
280
+ - name : ubu22-x86-gcc9-clang18 -cling-cppyy
281
281
os : ubuntu-22.04
282
282
compiler : gcc-9
283
- clang-runtime : ' 13 '
283
+ clang-runtime : ' 18 '
284
284
cling : On
285
- cling-version : ' 1.0 '
285
+ cling-version : ' 1.2 '
286
286
cppyy : On
287
287
- name : ubu22-arm-gcc12-clang-repl-19
288
288
os : ubuntu-22.04-arm
@@ -302,12 +302,12 @@ jobs:
302
302
clang-runtime : ' 17'
303
303
cling : Off
304
304
cppyy : Off
305
- - name : ubu22-arm-gcc9-clang13 -cling
305
+ - name : ubu22-arm-gcc9-clang18 -cling-cppyy
306
306
os : ubuntu-22.04-arm
307
307
compiler : gcc-9
308
- clang-runtime : ' 13 '
308
+ clang-runtime : ' 18 '
309
309
cling : On
310
- cling-version : ' 1.0 '
310
+ cling-version : ' 1.2 '
311
311
cppyy : Off
312
312
313
313
steps :
@@ -588,7 +588,16 @@ jobs:
588
588
589
589
echo "Running valgrind on passing tests"
590
590
CLANG_VERSION="${{ matrix.clang-runtime }}"
591
- SUPPRESSION_FILE="../etc/clang${CLANG_VERSION}-valgrind.supp"
591
+ if [[ "${{ matrix.cling }}" == "On" ]]; then
592
+ CLANG_INTERPRETER="cling"
593
+ else
594
+ CLANG_INTERPRETER="clang"
595
+ fi
596
+ if [[ "${{ matrix.os }}" == *"arm"* ]]; then
597
+ SUPPRESSION_FILE="../etc/${CLANG_INTERPRETER}${CLANG_VERSION}-valgrind_arm.supp"
598
+ else
599
+ SUPPRESSION_FILE="../etc/${CLANG_INTERPRETER}${CLANG_VERSION}-valgrind.supp"
600
+ fi
592
601
valgrind --show-error-list=yes --error-exitcode=1 --track-origins=yes --suppressions="${SUPPRESSION_FILE}" --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -sv -ra
593
602
export RETCODE=+$?
594
603
echo ::endgroup: :
0 commit comments