Skip to content

Commit 8dab1ec

Browse files
authored
Revert changes to allow conflicts to be fixed
1 parent 138bdf7 commit 8dab1ec

File tree

1 file changed

+5
-71
lines changed

1 file changed

+5
-71
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,6 @@ jobs:
5353
cppyy: On
5454
llvm_enable_projects: "clang"
5555
llvm_targets_to_build: "host;NVPTX"
56-
- name: ubu22-x86-gcc12-clang16-cling
57-
os: ubuntu-22.04
58-
compiler: gcc-12
59-
clang-runtime: '16'
60-
cling: On
61-
cling-version: '1.1'
62-
cppyy: On
63-
llvm_enable_projects: "clang"
64-
llvm_targets_to_build: "host;NVPTX"
6556
- name: ubu22-x86-gcc9-clang13-cling
6657
os: ubuntu-22.04
6758
compiler: gcc-9
@@ -127,15 +118,6 @@ jobs:
127118
cppyy: On
128119
llvm_enable_projects: "clang"
129120
llvm_targets_to_build: "host;NVPTX"
130-
- name: osx15-arm-clang-clang16-cling
131-
os: macos-15
132-
compiler: clang
133-
clang-runtime: '16'
134-
cling: On
135-
cling-version: '1.1'
136-
cppyy: On
137-
llvm_enable_projects: "clang"
138-
llvm_targets_to_build: "host;NVPTX"
139121
- name: osx15-arm-clang-clang13-cling
140122
os: macos-15
141123
compiler: clang
@@ -177,15 +159,6 @@ jobs:
177159
cppyy: On
178160
llvm_enable_projects: "clang"
179161
llvm_targets_to_build: "host;NVPTX"
180-
- name: osx13-x86-clang-clang16-cling
181-
os: macos-13
182-
compiler: clang
183-
clang-runtime: '16'
184-
cling: On
185-
cling-version: '1.1'
186-
cppyy: On
187-
llvm_enable_projects: "clang"
188-
llvm_targets_to_build: "host;NVPTX"
189162
- name: osx13-x86-clang-clang13-cling
190163
os: macos-13
191164
compiler: clang
@@ -412,13 +385,6 @@ jobs:
412385
git clone https://github.com/root-project/cling.git
413386
cd ./cling
414387
git checkout tags/v${{ matrix.cling-version }}
415-
# Apply patches
416-
llvm_vers=$(echo "${{ matrix.clang-runtime }}" | tr '[:lower:]' '[:upper:]')
417-
if [[ "${llvm_vers}" == "16" ]]; then
418-
# cling version 1.1 with llvm 16 requires a patch to fix error handling when parsing invaild code
419-
git apply -v ../patches/llvm/cling${{ matrix.clang-runtime }}-*.patch
420-
echo "Apply cling${{ matrix.clang-runtime }}-*.patch patches:"
421-
fi
422388
cd ..
423389
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
424390
else # repl
@@ -445,10 +411,8 @@ jobs:
445411
../llvm
446412
cmake --build . --target clang --parallel ${{ env.ncpus }}
447413
cmake --build . --target cling --parallel ${{ env.ncpus }}
448-
if [[ "${{ matrix.clang-runtime}}" == "13" ]]; then
449-
# Now build gtest.a and gtest_main for CppInterOp to run its tests.
450-
cmake --build . --target gtest_main --parallel ${{ env.ncpus }}
451-
fi
414+
# Now build gtest.a and gtest_main for CppInterOp to run its tests.
415+
cmake --build . --target gtest_main --parallel ${{ env.ncpus }}
452416
else
453417
# Apply patches
454418
llvm_vers=$(echo "${{ matrix.clang-runtime }}" | tr '[:lower:]' '[:upper:]')
@@ -488,11 +452,6 @@ jobs:
488452
git clone https://github.com/root-project/cling.git
489453
cd ./cling
490454
git checkout tags/v${{ matrix.cling-version }}
491-
if ( "${{ matrix.clang-runtime }}" -imatch "16" )
492-
{
493-
# cling version 1.1 with llvm 16 requires a patch to fix error handling when parsing invaild code
494-
git apply -v clang16-1-Error-Handling.patch
495-
}
496455
cd ..
497456
git clone --depth=1 -b cling-llvm${{ matrix.clang-runtime }} https://github.com/root-project/llvm-project.git
498457
$env:PWD_DIR= $PWD.Path
@@ -526,12 +485,8 @@ jobs:
526485
..\llvm
527486
cmake --build . --config Release --target clang --parallel ${{ env.ncpus }}
528487
cmake --build . --config Release --target cling --parallel ${{ env.ncpus }}
529-
if ( "${{ matrix.clang-runtime }}" -imatch "13" )
530-
{
531-
# cling version 1.0 with llvm 13 doesn't work on Windows, but this is here in
532-
# case someone finds a way to fix this
533-
cmake --build . --config Release --target gtest_main --parallel ${{ env.ncpus }}
534-
}
488+
# Now build gtest.a and gtest_main for CppInterOp to run its tests.
489+
cmake --build . --config Release --target gtest_main --parallel ${{ env.ncpus }}
535490
}
536491
else
537492
{
@@ -616,13 +571,6 @@ jobs:
616571
clang-runtime: '16'
617572
cling: Off
618573
cppyy: Off
619-
- name: ubu22-x86-gcc12-clang16-cling
620-
os: ubuntu-22.04
621-
compiler: gcc-12
622-
clang-runtime: '16'
623-
cling: On
624-
cling-version: '1.1'
625-
cppyy: Off
626574
- name: ubu22-x86-gcc9-clang13-cling-cppyy
627575
os: ubuntu-22.04
628576
compiler: gcc-9
@@ -680,13 +628,6 @@ jobs:
680628
clang-runtime: '16'
681629
cling: Off
682630
cppyy: Off
683-
- name: osx15-arm-clang-clang16-cling-cppyy
684-
os: macos-15
685-
compiler: clang
686-
clang-runtime: '16'
687-
cling: On
688-
cling-version: '1.1'
689-
cppyy: Off
690631
- name: osx15-arm-clang-clang13-cling-cppyy
691632
os: macos-15
692633
compiler: clang
@@ -718,20 +659,13 @@ jobs:
718659
clang-runtime: '16'
719660
cling: Off
720661
cppyy: Off
721-
- name: osx13-x86-clang-clang16-cling
722-
os: macos-13
723-
compiler: clang
724-
clang-runtime: '16'
725-
cling: On
726-
cling-version: '1.1'
727-
cppyy: Off
728662
- name: osx13-x86-clang-clang13-cling-cppyy
729663
os: macos-13
730664
compiler: clang
731665
clang-runtime: '13'
732666
cling: On
733667
cling-version: '1.0'
734-
cppyy: Off
668+
cppyy: On
735669

736670
steps:
737671
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)