File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -392,8 +392,10 @@ jobs:
392392                ../llvm 
393393          cmake --build . --target clang --parallel ${{ env.ncpus }} 
394394          cmake --build . --target cling --parallel ${{ env.ncpus }} 
395-           # Now build gtest.a and gtest_main for CppInterOp to run its tests. 
396-           cmake --build . --target gtest_main --parallel ${{ env.ncpus }} 
395+           if [[ "${{ matrix.clang-runtime}}" == "13" ]]; then 
396+             # Now build gtest.a and gtest_main for CppInterOp to run its tests. 
397+             cmake --build . --target gtest_main --parallel ${{ env.ncpus }} 
398+           fi 
397399        else 
398400          # Apply patches 
399401          llvm_vers=$(echo "${{ matrix.clang-runtime }}" | tr '[:lower:]' '[:upper:]') 
@@ -466,8 +468,12 @@ jobs:
466468                ..\llvm 
467469          cmake --build . --config Release --target clang --parallel ${{ env.ncpus }} 
468470          cmake --build . --config Release --target cling --parallel ${{ env.ncpus }} 
469-           # Now build gtest.a and gtest_main for CppInterOp to run its tests. 
470-           cmake --build . --config Release --target gtest_main --parallel ${{ env.ncpus }} 
471+           if ( "${{ matrix.clang-runtime }}" -imatch "13" ) 
472+           { 
473+             # cling version 1.0 with llvm 13 doesn't work on Windows, but this is here in 
474+             # case someone finds a way to fix this 
475+             cmake --build . --config Release --target gtest_main --parallel ${{ env.ncpus }} 
476+           } 
471477        } 
472478        else 
473479        { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments