Skip to content

Commit 27b6a14

Browse files
authored
Bring back changes that fixing conflicts removed
1 parent d7950f7 commit 27b6a14

File tree

1 file changed

+59
-2
lines changed

1 file changed

+59
-2
lines changed

.github/workflows/non-emscripten.yml

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,15 @@ jobs:
5454
cppyy: On
5555
llvm_enable_projects: "clang"
5656
llvm_targets_to_build: "host;NVPTX"
57+
- name: ubu22-x86-gcc12-clang16-cling
58+
os: ubuntu-22.04
59+
compiler: gcc-12
60+
clang-runtime: '16'
61+
cling: On
62+
cling-version: '1.1'
63+
cppyy: On
64+
llvm_enable_projects: "clang"
65+
llvm_targets_to_build: "host;NVPTX"
5766
- name: ubu22-x86-gcc9-clang13-cling
5867
os: ubuntu-22.04
5968
compiler: gcc-9
@@ -95,6 +104,15 @@ jobs:
95104
cppyy: On
96105
llvm_enable_projects: "clang"
97106
llvm_targets_to_build: "host;NVPTX"
107+
- name: osx15-arm-clang-clang16-cling
108+
os: macos-15
109+
compiler: clang
110+
clang-runtime: '16'
111+
cling: On
112+
cling-version: '1.1'
113+
cppyy: On
114+
llvm_enable_projects: "clang"
115+
llvm_targets_to_build: "host;NVPTX"
98116
- name: osx15-arm-clang-clang13-cling
99117
os: macos-15
100118
compiler: clang
@@ -136,6 +154,15 @@ jobs:
136154
cppyy: On
137155
llvm_enable_projects: "clang"
138156
llvm_targets_to_build: "host;NVPTX"
157+
- name: osx13-x86-clang-clang16-cling
158+
os: macos-13
159+
compiler: clang
160+
clang-runtime: '16'
161+
cling: On
162+
cling-version: '1.1'
163+
cppyy: On
164+
llvm_enable_projects: "clang"
165+
llvm_targets_to_build: "host;NVPTX"
139166
- name: osx13-x86-clang-clang13-cling
140167
os: macos-13
141168
compiler: clang
@@ -294,6 +321,13 @@ jobs:
294321
git clone https://github.com/root-project/cling.git
295322
cd ./cling
296323
git checkout tags/v${{ matrix.cling-version }}
324+
# Apply patches
325+
llvm_vers=$(echo "${{ matrix.clang-runtime }}" | tr '[:lower:]' '[:upper:]')
326+
if [[ "${llvm_vers}" == "16" ]]; then
327+
# cling version 1.1 with llvm 16 requires a patch to fix error handling when parsing invaild code
328+
git apply -v ../patches/llvm/cling${{ matrix.clang-runtime }}-*.patch
329+
echo "Apply cling${{ matrix.clang-runtime }}-*.patch patches:"
330+
fi
297331
cd ..
298332
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
299333
else # repl
@@ -320,8 +354,10 @@ jobs:
320354
../llvm
321355
cmake --build . --target clang --parallel ${{ env.ncpus }}
322356
cmake --build . --target cling --parallel ${{ env.ncpus }}
323-
# Now build gtest.a and gtest_main for CppInterOp to run its tests.
324-
cmake --build . --target gtest_main --parallel ${{ env.ncpus }}
357+
if [[ "${{ matrix.clang-runtime}}" == "13" ]]; then
358+
# Now build gtest.a and gtest_main for CppInterOp to run its tests.
359+
cmake --build . --target gtest_main --parallel ${{ env.ncpus }}
360+
fi
325361
else
326362
# Apply patches
327363
llvm_vers=$(echo "${{ matrix.clang-runtime }}" | tr '[:lower:]' '[:upper:]')
@@ -410,6 +446,13 @@ jobs:
410446
clang-runtime: '16'
411447
cling: Off
412448
cppyy: Off
449+
- name: ubu22-x86-gcc12-clang16-cling
450+
os: ubuntu-22.04
451+
compiler: gcc-12
452+
clang-runtime: '16'
453+
cling: On
454+
cling-version: '1.1'
455+
cppyy: Off
413456
- name: ubu22-x86-gcc9-clang13-cling-cppyy
414457
os: ubuntu-22.04
415458
compiler: gcc-9
@@ -441,6 +484,13 @@ jobs:
441484
clang-runtime: '16'
442485
cling: Off
443486
cppyy: Off
487+
- name: osx15-arm-clang-clang16-cling
488+
os: macos-15
489+
compiler: clang
490+
clang-runtime: '16'
491+
cling: On
492+
cling-version: '1.1'
493+
cppyy: Off
444494
- name: osx15-arm-clang-clang13-cling-cppyy
445495
os: macos-15
446496
compiler: clang
@@ -472,6 +522,13 @@ jobs:
472522
clang-runtime: '16'
473523
cling: Off
474524
cppyy: Off
525+
- name: osx13-x86-clang-clang16-cling
526+
os: macos-13
527+
compiler: clang
528+
clang-runtime: '16'
529+
cling: On
530+
cling-version: '1.1'
531+
cppyy: Off
475532
- name: osx13-x86-clang-clang13-cling-cppyy
476533
os: macos-13
477534
compiler: clang

0 commit comments

Comments
 (0)