Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: manually extract llvm release to get more output #302

Merged
merged 2 commits into from
Jan 23, 2021

Conversation

baszalmstra
Copy link
Collaborator

@baszalmstra baszalmstra commented Jan 20, 2021

While building this PR the windows action failed again while un7ziping due to with the file being unzipped still being in use by another process. I assume this is the extraction? I updated the code to retry 5 times and wait 1 second in between.

This PR calls 7z directly instead of relying in toolcache. This then outputs a lot of information about the 7zip process which is what we are currently still missing. The output of the install LLVM step now looks like this:

7-Zip (r) 19.00 (x64) : Igor Pavlov : Public domain : 2019-02-21

Scanning the drive for archives:
  0M Scan D:\a\_temp\
                     
1 file, 223656577 bytes (214 MiB)

Extracting archive: D:\a\_temp\e864a1e0-bd33-4774-9c01-4e4a8234f038
--
Path = D:\a\_temp\e864a1e0-bd33-4774-9c01-4e4a8234f038
Type = 7z
Physical Size = 223656577
Headers Size = 35128
Method = LZMA2:26 LZMA:20 BCJ2
Solid = +
Blocks = 2

  0%
    
  2% 243
        
  5% 243
        
  9% 243
        
 12% 243
        
 15% 243
        
 19% 243
        
 21% 243
        
 24% 652 - include\clang\Sema\AttrParsedAttrKinds.inc
                                                     
 25% 1368 - include\llvm\DebugInfo\PDB\DIA\DIAInjectedSource.h
                                                              
 25% 1594 - include\llvm\IR\IRPrintingPasses.h
                                              
 25% 2291 - lib\clangApplyReplacements.lib
                                          
 25% 2307 - lib\clangHandleCXX.lib
                                  
 25% 2388 - lib\lldMinGW.lib
                            
 27% 2488 - lib\LLVMPowerPCAsmParser.lib
                                        
 28% 2512 - lib\LLVMTableGen.lib
                                
 28% 2540 - libexec\ccc-analyzer.bat
                                    
 28% 2543 - share\clang\clang-format-diff.py
                                            
 28% 2568 - bin\bugpoint.exe
                            
 31% 2570 - bin\clang++.exe
                           
 34% 2572 - bin\clang-change-namespace.exe
                                          
 38% 2574 - bin\clang-cl.exe
                            
 40% 2575 - bin\clang-cpp.exe
                             
 43% 2575 - bin\clang-cpp.exe
                             
 46% 2579 - bin\clang-include-fixer.exe
                                       
 48% 2583 - bin\clang-rename.exe
                                
 51% 2586 - bin\clang.exe
                         
 54% 2587 - bin\clangd.exe
                          
 56% 2589 - bin\dsymutil.exe
                            
 59% 2591 - bin\ld.lld.exe
                          
 62% 2592 - bin\ld64.lld.exe
                            
 65% 2594 - bin\llc.exe
                       
 67% 2595 - bin\lld-link.exe
                            
 69% 2596 - bin\lld.exe
                       
 71% 2597 - bin\lli.exe
                       
 75% 2603 - bin\llvm-cfi-verify.exe
                                   
 76% 2608 - bin\llvm-cxxfilt.exe
                                
 79% 2616 - bin\llvm-exegesis.exe
                                 
 81% 2619 - bin\llvm-link.exe
                             
 84% 2621 - bin\llvm-lto2.exe
                             
 87% 2626 - bin\llvm-nm.exe
                           
 88% 2631 - bin\llvm-profdata.exe
                                 
 90% 2640 - bin\llvm-strings.exe
                                
 94% 2648 - bin\obj2yaml.exe
                            
 97% 2653 - bin\verify-uselistorder.exe
                                       
Everything is Ok

Folders: 242
Files: 2414
Size:       2083478016
Compressed: 223656577
Succesfully extracted LLVM release

@baszalmstra baszalmstra force-pushed the fix/llvm-windows-part2 branch 4 times, most recently from 36654be to 55f2efd Compare January 21, 2021 00:14
@codecov
Copy link

codecov bot commented Jan 21, 2021

Codecov Report

Merging #302 (9f8be24) into master (b83c2ce) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #302   +/-   ##
=======================================
  Coverage   81.42%   81.42%           
=======================================
  Files         239      239           
  Lines       14026    14026           
=======================================
  Hits        11420    11420           
  Misses       2606     2606           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b83c2ce...9f8be24. Read the comment docs.

@baszalmstra baszalmstra force-pushed the fix/llvm-windows-part2 branch from 55f2efd to e2c9082 Compare January 21, 2021 00:16
@baszalmstra baszalmstra marked this pull request as ready for review January 22, 2021 18:04
@baszalmstra baszalmstra requested a review from Wodann January 22, 2021 18:04
@baszalmstra baszalmstra self-assigned this Jan 22, 2021
@baszalmstra baszalmstra added the type: fix Bug fix or report label Jan 22, 2021
@baszalmstra baszalmstra merged commit e987aa6 into mun-lang:master Jan 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: fix Bug fix or report
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants