7575 clang-runtime : ' 17'
7676 cling : Off
7777 cppyy : Off
78- - name : win2022-msvc-clang-repl-16
79- os : windows-2022
80- compiler : msvc
81- clang-runtime : ' 16'
82- cling : Off
83- cppyy : Off
84- - name : win2022-msvc-cling
85- os : windows-2022
86- compiler : msvc
87- clang-runtime : ' 13'
88- cling : On
89- cling-version : ' 1.0'
90- cppyy : Off
9178 - name : osx14-arm-clang-clang-repl-19
9279 os : macos-14
9380 compiler : clang
@@ -424,7 +411,7 @@ jobs:
424411 if ( "${{ matrix.cling }}" -imatch "On" )
425412 {
426413 cd build
427- cmake -DLLVM_ENABLE_PROJECTS="clang" `
414+ cmake -DLLVM_ENABLE_PROJECTS="clang;compiler-rt " `
428415 -DLLVM_EXTERNAL_PROJECTS=cling `
429416 -DLLVM_EXTERNAL_CLING_SOURCE_DIR="$env:CLING_DIR" `
430417 -DLLVM_TARGETS_TO_BUILD="host;NVPTX" `
@@ -437,8 +424,10 @@ jobs:
437424 -DLLVM_ENABLE_ZSTD=OFF `
438425 -DLLVM_ENABLE_TERMINFO=OFF `
439426 -DLLVM_ENABLE_LIBXML2=OFF `
427+ -DCOMPILER_RT_BUILD_BUILTINS=ON `
440428 ..\llvm
441429 cmake --build . --config Release --target clang --parallel ${{ env.ncpus }}
430+ cmake --build . --config Release --target compiler-rt --parallel ${{ env.ncpus }}
442431 cmake --build . --config Release --target cling --parallel ${{ env.ncpus }}
443432 # Now build gtest.a and gtest_main for CppInterOp to run its tests.
444433 cmake --build . --config Release --target gtest_main --parallel ${{ env.ncpus }}
@@ -459,7 +448,7 @@ jobs:
459448 }
460449 cd build
461450 echo "Apply clang${{ matrix.clang-runtime }}-*.patch patches:"
462- cmake -DLLVM_ENABLE_PROJECTS="clang" `
451+ cmake -DLLVM_ENABLE_PROJECTS="clang;compiler-rt " ` `
463452 -DLLVM_TARGETS_TO_BUILD="host;NVPTX" `
464453 -DCMAKE_BUILD_TYPE=Release `
465454 -DLLVM_ENABLE_ASSERTIONS=ON `
@@ -470,11 +459,12 @@ jobs:
470459 -DLLVM_ENABLE_ZSTD=OFF `
471460 -DLLVM_ENABLE_TERMINFO=OFF `
472461 -DLLVM_ENABLE_LIBXML2=OFF `
462+ -DCOMPILER_RT_BUILD_BUILTINS=ON `
473463 ..\llvm
474- cmake --build . --config Release --target clang clang-repl --parallel ${{ env.ncpus }}
464+ cmake --build . --config Release --target clang clang-repl compiler-rt --parallel ${{ env.ncpus }}
475465 }
476466 cd ..\
477- rm -r -force $(find.exe . -maxdepth 1 ! -name "build" ! -name "llvm" ! -name "clang" ! -name ".")
467+ rm -r -force $(find.exe . -maxdepth 1 ! -name "build" ! -name "llvm" ! -name "clang" ! -name "compiler-rt" ! -name "libc" ! -name "libcxx" ! -name "libcxxabi" ! -name "openmp" ! -name ".")
478468 cd ..\
479469
480470 - name : Save Cache LLVM/Clang runtime build directory
@@ -553,32 +543,6 @@ jobs:
553543 # clang-runtime: '17'
554544 # cling: Off
555545 # cppyy: On
556- - name : win2022-msvc-clang-repl-16
557- os : windows-2022
558- compiler : msvc
559- clang-runtime : ' 16'
560- cling : Off
561- cppyy : Off
562- # - name: win2022-msvc-clang-repl-16-cppyy
563- # os: windows-2022
564- # compiler: msvc
565- # clang-runtime: '16'
566- # cling: Off
567- # cppyy: On
568- - name : win2022-msvc-cling
569- os : windows-2022
570- compiler : msvc
571- clang-runtime : ' 13'
572- cling : On
573- cling-version : ' 1.0'
574- cppyy : Off
575- # - name: win2022-msvc-cling-cppyy
576- # os: windows-2022
577- # compiler: msvc
578- # clang-runtime: '13'
579- # cling: On
580- # cling-version: '1.0'
581- # cppyy: On
582546 - name : osx14-arm-clang-clang-repl-19-cppyy
583547 os : macos-14
584548 compiler : clang
@@ -821,6 +785,7 @@ jobs:
821785 brew install eigen
822786 brew install boost
823787 pip install distro pytest
788+
824789
825790 - name : Restore Cache LLVM/Clang runtime build directory
826791 uses : actions/cache/restore@v4
@@ -898,7 +863,6 @@ jobs:
898863 echo "CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH" >> $GITHUB_ENV
899864
900865 - name : Build and Test/Install CppInterOp on Windows systems
901- continue-on-error : true
902866 if : ${{ runner.os == 'windows' }}
903867 run : |
904868 #FIXME: Windows CppInterOp tests expected to fail
@@ -912,7 +876,7 @@ jobs:
912876 $env:LLVM_BUILD_DIR="$env:PWD_DIR\llvm-project\build"
913877 echo "LLVM_BUILD_DIR=$env:LLVM_BUILD_DIR"
914878 echo "LLVM_BUILD_DIR=$env:LLVM_BUILD_DIR" >> $env:GITHUB_ENV
915-
879+
916880 if ( "${{ matrix.cling }}" -imatch "On" )
917881 {
918882 $env:CLING_DIR="$env:PWD_DIR\cling"
@@ -966,6 +930,7 @@ jobs:
966930 -DLLVM_DIR="$env:LLVM_BUILD_DIR\lib\cmake\llvm" `
967931 -DLLVM_ENABLE_WERROR=On `
968932 -DClang_DIR="$env:LLVM_BUILD_DIR\lib\cmake\clang" -DCODE_COVERAGE=${{ env.CODE_COVERAGE }} -DCMAKE_INSTALL_PREFIX="$env:CPPINTEROP_DIR" ..\
933+ cmake --build . --config ${{ env.BUILD_TYPE }} --target googletest --parallel ${{ env.ncpus }}
969934 }
970935 cmake --build . --config ${{ env.BUILD_TYPE }} --target check-cppinterop --parallel ${{ env.ncpus }}
971936 cd ..
@@ -1117,7 +1082,7 @@ jobs:
11171082 # When debugging increase to a suitable value!
11181083 timeout-minutes : 30
11191084
1120- emscripten_wasm :
1085+ emscripten_wasm_CppInterOp_and_xeus_cpp :
11211086 needs : [build_cache]
11221087 name : ${{ matrix.name }}
11231088 runs-on : ${{ matrix.os }}
0 commit comments