CMake: CMake is updated for Code Coverage

CMakelists.txt is Updated to generate code coverage
report in html format just by configuring cmake with
-DENABLE_COVERAGE=ON. Code supports only on linux
with gcc compiler

cmake .. -DENABLE_COVERAGE=ON

AMD-Internal: [CPUPL-2748]
Change-Id: I9b36b6cc3f1f97b53e1c4ee62948a017418e3d41
This commit is contained in:
jagar
2024-01-30 13:53:19 +05:30
committed by Jagadish1 R
parent b210417a59
commit 099b9863cb
5 changed files with 125 additions and 4 deletions

View File

@@ -159,6 +159,7 @@ The BLIS CMake system aims to be combatible with the current `make` system. For
| `testsuite` | Same as `testblis`. |
| `testblas` | Run the BLAS test drivers with default parameters (runs for a few seconds). |
| `checkbliscpp` | Run the BLIS C++ tests (runs for a few seconds). |
| `coverage` | Run the code-coverage that generates html report (runs for 5-10 minutes). |
**_NOTE:_**
Using those targets sets the environment appropriately, so copying the input files and/or the DLL in case of Windows builds is not required.