diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-07-12 15:46:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 15:46:26 (GMT) |
commit | 21b8d65c2c53e4c1392ae63d120741914a3467a6 (patch) | |
tree | d0f0052ce9a59a67ad17c5da28f62aaad78ee190 /config | |
parent | 65ee1ec5492b58dd26cac3c90a4b6a87b6ad65a0 (diff) | |
download | hdf5-21b8d65c2c53e4c1392ae63d120741914a3467a6.zip hdf5-21b8d65c2c53e4c1392ae63d120741914a3467a6.tar.gz hdf5-21b8d65c2c53e4c1392ae63d120741914a3467a6.tar.bz2 |
1.12 HDFFV-11310 implement JNI VL support for primitive types (#1856)
* HDFFV-11310 - implement VL read/write using List of Lists
* Fix function name typo
* Add JIRA issue
* Correct note to match change in code.
* HDFFV-11318 add VL references as byte arrays
* Fix unreleased allocations
* Fix format
Diffstat (limited to 'config')
-rw-r--r-- | config/sanitizer/code-coverage.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/sanitizer/code-coverage.cmake b/config/sanitizer/code-coverage.cmake index e71bfd7..3a99024 100644 --- a/config/sanitizer/code-coverage.cmake +++ b/config/sanitizer/code-coverage.cmake @@ -214,7 +214,7 @@ function(target_code_coverage TARGET_NAME) # Add code coverage instrumentation to the target's linker command if(CMAKE_C_COMPILER_ID MATCHES "[Cc]lang" OR CMAKE_CXX_COMPILER_ID MATCHES "[Cc]lang") target_compile_options(${TARGET_NAME} PRIVATE -fprofile-instr-generate - -fcoverage-mapping) + -fcoverage-mapping --coverage) set_property( TARGET ${TARGET_NAME} APPEND_STRING @@ -225,7 +225,7 @@ function(target_code_coverage TARGET_NAME) PROPERTY LINK_FLAGS "-fcoverage-mapping ") elseif(CMAKE_C_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU") target_compile_options(${TARGET_NAME} PRIVATE -fprofile-arcs - -ftest-coverage) + -ftest-coverage --coverage) target_link_libraries(${TARGET_NAME} PRIVATE gcov) endif() @@ -413,10 +413,10 @@ endfunction() # use `target_code_coverage`. function(add_code_coverage) if(CMAKE_C_COMPILER_ID MATCHES "[Cc]lang" OR CMAKE_CXX_COMPILER_ID MATCHES "[Cc]lang") - add_compile_options(-fprofile-instr-generate -fcoverage-mapping) - add_link_options(-fprofile-instr-generate -fcoverage-mapping) + add_compile_options(-fprofile-instr-generate -fcoverage-mapping --coverage) + add_link_options(-fprofile-instr-generate -fcoverage-mapping --coverage) elseif(CMAKE_C_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU") - add_compile_options(-fprofile-arcs -ftest-coverage) + add_compile_options(-fprofile-arcs -ftest-coverage --coverage) link_libraries(gcov) endif() endfunction() |