diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-06-13 23:14:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 23:14:12 (GMT) |
commit | 3d231bd0c018c4ac7a78640a51d404332a712d72 (patch) | |
tree | fa3909104ef9fed8cb129fbec97a42c1e47daa37 /config/cmake | |
parent | bfeb1b0dd5b7b2e4a706ff9b9515bba15e673f31 (diff) | |
download | hdf5-3d231bd0c018c4ac7a78640a51d404332a712d72.zip hdf5-3d231bd0c018c4ac7a78640a51d404332a712d72.tar.gz hdf5-3d231bd0c018c4ac7a78640a51d404332a712d72.tar.bz2 |
merges from develop (#3115)
* Fix release action that allows files to be uploaded.
* Add autotools h5copy help test.
* Update cmake tools.cmake file for clang-tidy.
* CMake build is missing H5FDsubfiling.h
* Correct snapshot location
* Add note for issue 3056
Diffstat (limited to 'config/cmake')
-rw-r--r-- | config/cmake/HDFCompilerFlags.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/cmake/HDFCompilerFlags.cmake b/config/cmake/HDFCompilerFlags.cmake index 1bbf57c..00850d3 100644 --- a/config/cmake/HDFCompilerFlags.cmake +++ b/config/cmake/HDFCompilerFlags.cmake @@ -54,7 +54,9 @@ if (CMAKE_COMPILER_IS_GNUCC) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Og -ftrapv -fno-common") endif () else () - if (CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 5.0) + if (CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 5.0 AND + NOT CMAKE_C_CLANG_TIDY) + # `clang-tidy` does not understand -fstdarg-opt set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstdarg-opt") endif () if (CMAKE_C_COMPILER_ID STREQUAL "GNU" AND NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 10.0) |