Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28530 Discussions

Intel codecov in Cobertura XML format?

Jacob_Williams
New Contributor I
290 Views

Has anyone had any luck getting the intel compiler codecov data in the Cobertura XML format? It seems like the XML format that Intel emits is some other format. 

 

There's an old script there: https://github.com/halvorlu/codecov-to-cobertura

 

But it looks like it's not going to work for me out of the box. Just wondering if there is a better solution out there before I start trying to see if I can make this work.

 

It would be nice if the Intel tools could generate this format natively, since this is the format that tools like GitLab are expecting.

0 Kudos
1 Reply
Ron_Green
Moderator
209 Views

Our old code coverage and profile guided optimization tools and technology are deprecated along with ifort.  We will not bring these into our new llvm-based ifx compiler.

 

for IFX, we use the LLVM pgo and instrumentation tools

https://clang.llvm.org/docs/UsersManual.html#profile-guided-optimization

I believe the -fprofile-instr-generate option is applicable.

we call this out in our Porting Guide 

 

Whoever works on the codecov-to-cobertura code will need to refactor to use llvm profile information. 

0 Kudos
Reply