@@ -424,7 +424,7 @@ jobs:
424424 if ( "${{ matrix.cling }}" -imatch "On" )
425425 {
426426 cd build
427- cmake -DLLVM_ENABLE_PROJECTS="clang" `
427+ cmake -DLLVM_ENABLE_PROJECTS="clang;compiler-rt " `
428428 -DLLVM_EXTERNAL_PROJECTS=cling `
429429 -DLLVM_EXTERNAL_CLING_SOURCE_DIR="$env:CLING_DIR" `
430430 -DLLVM_TARGETS_TO_BUILD="host;NVPTX" `
@@ -437,8 +437,10 @@ jobs:
437437 -DLLVM_ENABLE_ZSTD=OFF `
438438 -DLLVM_ENABLE_TERMINFO=OFF `
439439 -DLLVM_ENABLE_LIBXML2=OFF `
440+ -DCOMPILER_RT_BUILD_BUILTINS=ON `
440441 ..\llvm
441442 cmake --build . --config Release --target clang --parallel ${{ env.ncpus }}
443+ cmake --build . --config Release --target compiler-rt --parallel ${{ env.ncpus }}
442444 cmake --build . --config Release --target cling --parallel ${{ env.ncpus }}
443445 # Now build gtest.a and gtest_main for CppInterOp to run its tests.
444446 cmake --build . --config Release --target gtest_main --parallel ${{ env.ncpus }}
@@ -459,7 +461,7 @@ jobs:
459461 }
460462 cd build
461463 echo "Apply clang${{ matrix.clang-runtime }}-*.patch patches:"
462- cmake -DLLVM_ENABLE_PROJECTS="clang" `
464+ cmake -DLLVM_ENABLE_PROJECTS="clang;compiler-rt " ` `
463465 -DLLVM_TARGETS_TO_BUILD="host;NVPTX" `
464466 -DCMAKE_BUILD_TYPE=Release `
465467 -DLLVM_ENABLE_ASSERTIONS=ON `
@@ -470,11 +472,12 @@ jobs:
470472 -DLLVM_ENABLE_ZSTD=OFF `
471473 -DLLVM_ENABLE_TERMINFO=OFF `
472474 -DLLVM_ENABLE_LIBXML2=OFF `
475+ -DCOMPILER_RT_BUILD_BUILTINS=ON `
473476 ..\llvm
474- cmake --build . --config Release --target clang clang-repl --parallel ${{ env.ncpus }}
477+ cmake --build . --config Release --target clang clang-repl compiler-rt --parallel ${{ env.ncpus }}
475478 }
476479 cd ..\
477- rm -r -force $(find.exe . -maxdepth 1 ! -name "build" ! -name "llvm" ! -name "clang" ! -name ".")
480+ 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 ".")
478481 cd ..\
479482
480483 - name : Save Cache LLVM/Clang runtime build directory
@@ -821,6 +824,7 @@ jobs:
821824 brew install eigen
822825 brew install boost
823826 pip install distro pytest
827+
824828
825829 - name : Restore Cache LLVM/Clang runtime build directory
826830 uses : actions/cache/restore@v4
@@ -898,7 +902,6 @@ jobs:
898902 echo "CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH" >> $GITHUB_ENV
899903
900904 - name : Build and Test/Install CppInterOp on Windows systems
901- continue-on-error : true
902905 if : ${{ runner.os == 'windows' }}
903906 run : |
904907 #FIXME: Windows CppInterOp tests expected to fail
@@ -912,7 +915,7 @@ jobs:
912915 $env:LLVM_BUILD_DIR="$env:PWD_DIR\llvm-project\build"
913916 echo "LLVM_BUILD_DIR=$env:LLVM_BUILD_DIR"
914917 echo "LLVM_BUILD_DIR=$env:LLVM_BUILD_DIR" >> $env:GITHUB_ENV
915-
918+
916919 if ( "${{ matrix.cling }}" -imatch "On" )
917920 {
918921 $env:CLING_DIR="$env:PWD_DIR\cling"
@@ -966,6 +969,7 @@ jobs:
966969 -DLLVM_DIR="$env:LLVM_BUILD_DIR\lib\cmake\llvm" `
967970 -DLLVM_ENABLE_WERROR=On `
968971 -DClang_DIR="$env:LLVM_BUILD_DIR\lib\cmake\clang" -DCODE_COVERAGE=${{ env.CODE_COVERAGE }} -DCMAKE_INSTALL_PREFIX="$env:CPPINTEROP_DIR" ..\
972+ cmake --build . --config ${{ env.BUILD_TYPE }} --target googletest --parallel ${{ env.ncpus }}
969973 }
970974 cmake --build . --config ${{ env.BUILD_TYPE }} --target check-cppinterop --parallel ${{ env.ncpus }}
971975 cd ..
@@ -1117,7 +1121,7 @@ jobs:
11171121 # When debugging increase to a suitable value!
11181122 timeout-minutes : 30
11191123
1120- emscripten_wasm :
1124+ emscripten_wasm_CppInterOp_and_xeus_cpp :
11211125 needs : [build_cache]
11221126 name : ${{ matrix.name }}
11231127 runs-on : ${{ matrix.os }}
0 commit comments