summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjhendersonHDF <jhenderson@hdfgroup.org>2023-10-18 04:54:40 (GMT)
committerGitHub <noreply@github.com>2023-10-18 04:54:40 (GMT)
commit95572568191492f0d79924a55ea10453095a20c1 (patch)
tree5d4848b3a883d7703fccb2b92f1caae8d0c0d37c /config
parentfc788559f7747eeefd152fc8c7844f45d3845300 (diff)
downloadhdf5-95572568191492f0d79924a55ea10453095a20c1.zip
hdf5-95572568191492f0d79924a55ea10453095a20c1.tar.gz
hdf5-95572568191492f0d79924a55ea10453095a20c1.tar.bz2
Sync changes that are only in 1.14 branch (#3704)
Diffstat (limited to 'config')
-rw-r--r--config/cmake-presets/hidden-presets.json3
-rw-r--r--config/cmake/ConfigureChecks.cmake2
-rw-r--r--config/cmake/runTest.cmake16
-rw-r--r--config/sanitizer/README.md3
4 files changed, 5 insertions, 19 deletions
diff --git a/config/cmake-presets/hidden-presets.json b/config/cmake-presets/hidden-presets.json
index bd36153..fad63b7 100644
--- a/config/cmake-presets/hidden-presets.json
+++ b/config/cmake-presets/hidden-presets.json
@@ -488,4 +488,5 @@
]
}
]
-} \ No newline at end of file
+}
+
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index f847457..3d4c23b 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -909,7 +909,7 @@ endmacro ()
#-----------------------------------------------------------------------------
# ----------------------------------------------------------------------
-# Set the flag to indicate that the machine is using a special algorithm toconvert
+# Set the flag to indicate that the machine is using a special algorithm to convert
# 'long double' to '(unsigned) long' values. (This flag should only be set for
# the IBM Power Linux. When the bit sequence of long double is
# 0x4351ccf385ebc8a0bfcc2a3c3d855620, the converted value of (unsigned)long
diff --git a/config/cmake/runTest.cmake b/config/cmake/runTest.cmake
index 1304d36..d21765a 100644
--- a/config/cmake/runTest.cmake
+++ b/config/cmake/runTest.cmake
@@ -218,14 +218,6 @@ if (NOT TEST_SKIP_COMPARE)
file (READ ${TEST_FOLDER}/${TEST_REFERENCE} TEST_STREAM)
list (LENGTH TEST_STREAM test_len)
if (test_len GREATER 0)
- # if (WIN32) # no longer needed for CMake > 3.15
- # configure_file(${TEST_FOLDER}/${TEST_REFERENCE} ${TEST_FOLDER}/${TEST_REFERENCE}.tmp NEWLINE_STYLE CRLF)
- # if (EXISTS "${TEST_FOLDER}/${TEST_REFERENCE}.tmp")
- # file(RENAME ${TEST_FOLDER}/${TEST_REFERENCE}.tmp ${TEST_FOLDER}/${TEST_REFERENCE})
- # endif ()
- # #file (READ ${TEST_FOLDER}/${TEST_REFERENCE} TEST_STREAM)
- # #file (WRITE ${TEST_FOLDER}/${TEST_REFERENCE} "${TEST_STREAM}")
- # endif ()
if (NOT TEST_SORT_COMPARE)
# now compare the output with the reference
@@ -293,14 +285,6 @@ if (NOT TEST_SKIP_COMPARE)
file (READ ${TEST_FOLDER}/${TEST_ERRREF} TEST_STREAM)
list (LENGTH TEST_STREAM test_len)
if (test_len GREATER 0)
- # if (WIN32) # no longer needed for CMake > 3.15
- # configure_file(${TEST_FOLDER}/${TEST_ERRREF} ${TEST_FOLDER}/${TEST_ERRREF}.tmp NEWLINE_STYLE CRLF)
- # if (EXISTS "${TEST_FOLDER}/${TEST_ERRREF}.tmp")
- # file(RENAME ${TEST_FOLDER}/${TEST_ERRREF}.tmp ${TEST_FOLDER}/${TEST_ERRREF})
- # endif ()
- # #file (READ ${TEST_FOLDER}/${TEST_ERRREF} TEST_STREAM)
- # #file (WRITE ${TEST_FOLDER}/${TEST_ERRREF} "${TEST_STREAM}")
- # endif ()
# now compare the error output with the error reference
execute_process (
diff --git a/config/sanitizer/README.md b/config/sanitizer/README.md
index 308f9c3..e314145 100644
--- a/config/sanitizer/README.md
+++ b/config/sanitizer/README.md
@@ -304,4 +304,5 @@ file(GLOB_RECURSE CMAKE_FILES
)
cmake_format(TARGET_NAME ${CMAKE_FILES})
-``` \ No newline at end of file
+```
+