diff options
Diffstat (limited to 'config/cmake')
-rw-r--r-- | config/cmake/CTest.cmake | 289 | ||||
-rwxr-xr-x | config/cmake/CTestCustom.cmake | 917 | ||||
-rw-r--r-- | config/cmake/ConfigureChecks.cmake | 47 | ||||
-rw-r--r-- | config/cmake/FindHDF5.cmake | 61 | ||||
-rw-r--r-- | config/cmake/H5pubconf.h.in | 42 | ||||
-rw-r--r-- | config/cmake/HDF5Macros.cmake | 61 | ||||
-rw-r--r-- | config/cmake/HDF5UseFortran.cmake | 121 | ||||
-rwxr-xr-x | config/cmake/cacheinit.cmake | 32 | ||||
-rw-r--r-- | config/cmake/grepTest.cmake | 2 | ||||
-rw-r--r-- | config/cmake/hdf5-config.cmake.build.in | 8 | ||||
-rw-r--r-- | config/cmake/hdf5-config.cmake.install.in | 8 | ||||
-rw-r--r-- | config/cmake/libhdf5.settings.cmake.in | 2 | ||||
-rwxr-xr-x | config/cmake/mccacheinit.cmake | 58 | ||||
-rw-r--r-- | config/cmake/runTest.cmake | 22 |
14 files changed, 1147 insertions, 523 deletions
diff --git a/config/cmake/CTest.cmake b/config/cmake/CTest.cmake new file mode 100644 index 0000000..518f61e --- /dev/null +++ b/config/cmake/CTest.cmake @@ -0,0 +1,289 @@ +# - Configure a project for testing with CTest/CDash +# Include this module in the top CMakeLists.txt file of a project to +# enable testing with CTest and dashboard submissions to CDash: +# project(MyProject) +# ... +# include(CTest) +# The module automatically creates a BUILD_TESTING option that selects +# whether to enable testing support (ON by default). After including +# the module, use code like +# if(BUILD_TESTING) +# # ... CMake code to create tests ... +# endif() +# to creating tests when testing is enabled. +# +# To enable submissions to a CDash server, create a CTestConfig.cmake +# file at the top of the project with content such as +# set(CTEST_PROJECT_NAME "MyProject") +# set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC") +# set(CTEST_DROP_METHOD "http") +# set(CTEST_DROP_SITE "my.cdash.org") +# set(CTEST_DROP_LOCATION "/submit.php?project=MyProject") +# set(CTEST_DROP_SITE_CDASH TRUE) +# (the CDash server can provide the file to a project administrator +# who configures 'MyProject'). +# Settings in the config file are shared by both this CTest module and +# the CTest command-line tool's dashboard script mode (ctest -S). +# +# While building a project for submission to CDash, CTest scans the +# build output for errors and warnings and reports them with +# surrounding context from the build log. This generic approach works +# for all build tools, but does not give details about the command +# invocation that produced a given problem. One may get more detailed +# reports by adding +# set(CTEST_USE_LAUNCHERS 1) +# to the CTestConfig.cmake file. When this option is enabled, the +# CTest module tells CMake's Makefile generators to invoke every +# command in the generated build system through a CTest launcher +# program. (Currently the CTEST_USE_LAUNCHERS option is ignored on +# non-Makefile generators.) During a manual build each launcher +# transparently runs the command it wraps. During a CTest-driven +# build for submission to CDash each launcher reports detailed +# information when its command fails or warns. +# (Setting CTEST_USE_LAUNCHERS in CTestConfig.cmake is convenient, but +# also adds the launcher overhead even for manual builds. One may +# instead set it in a CTest dashboard script and add it to the CMake +# cache for the build tree.) + +#============================================================================= +# Copyright 2005-2009 Kitware, Inc. +# +# Distributed under the OSI-approved BSD License (the "License"); +# see accompanying file Copyright.txt for details. +# +# This software is distributed WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# See the License for more information. +#============================================================================= +# (To distribute this file outside of CMake, substitute the full +# License text for the above reference.) + +OPTION(BUILD_TESTING "Build the testing tree." ON) + +# function to turn generator name into a version string +# like vs7 vs71 vs8 vs9 +FUNCTION(GET_VS_VERSION_STRING generator var) + STRING(REGEX REPLACE "Visual Studio ([0-9][0-9]?)($|.*)" "\\1" NUMBER "${generator}") + IF("${generator}" MATCHES "Visual Studio 7 .NET 2003") + SET(ver_string "vs71") + ELSE("${generator}" MATCHES "Visual Studio 7 .NET 2003") + SET(ver_string "vs${NUMBER}") + ENDIF("${generator}" MATCHES "Visual Studio 7 .NET 2003") + SET(${var} ${ver_string} PARENT_SCOPE) +ENDFUNCTION(GET_VS_VERSION_STRING) + +IF(BUILD_TESTING) + # Setup some auxilary macros + MACRO(SET_IF_NOT_SET var val) + IF(NOT DEFINED "${var}") + SET("${var}" "${val}") + ENDIF(NOT DEFINED "${var}") + ENDMACRO(SET_IF_NOT_SET) + + MACRO(SET_IF_SET var val) + IF(NOT "${val}" MATCHES "^$") + SET("${var}" "${val}") + ENDIF(NOT "${val}" MATCHES "^$") + ENDMACRO(SET_IF_SET) + + MACRO(SET_IF_SET_AND_NOT_SET var val) + IF(NOT "${val}" MATCHES "^$") + SET_IF_NOT_SET("${var}" "${val}") + ENDIF(NOT "${val}" MATCHES "^$") + ENDMACRO(SET_IF_SET_AND_NOT_SET) + + # Make sure testing is enabled + ENABLE_TESTING() + + IF(EXISTS "${PROJECT_SOURCE_DIR}/CTestConfig.cmake") + INCLUDE("${PROJECT_SOURCE_DIR}/CTestConfig.cmake") + SET_IF_SET_AND_NOT_SET(NIGHTLY_START_TIME "${CTEST_NIGHTLY_START_TIME}") + SET_IF_SET_AND_NOT_SET(DROP_METHOD "${CTEST_DROP_METHOD}") + SET_IF_SET_AND_NOT_SET(DROP_SITE "${CTEST_DROP_SITE}") + SET_IF_SET_AND_NOT_SET(DROP_SITE_USER "${CTEST_DROP_SITE_USER}") + SET_IF_SET_AND_NOT_SET(DROP_SITE_PASSWORD "${CTEST_DROP_SITE_PASWORD}") + SET_IF_SET_AND_NOT_SET(DROP_SITE_MODE "${CTEST_DROP_SITE_MODE}") + SET_IF_SET_AND_NOT_SET(DROP_LOCATION "${CTEST_DROP_LOCATION}") + SET_IF_SET_AND_NOT_SET(TRIGGER_SITE "${CTEST_TRIGGER_SITE}") + SET_IF_SET_AND_NOT_SET(UPDATE_TYPE "${CTEST_UPDATE_TYPE}") + ENDIF(EXISTS "${PROJECT_SOURCE_DIR}/CTestConfig.cmake") + + # the project can have a DartConfig.cmake file + IF(EXISTS "${PROJECT_SOURCE_DIR}/DartConfig.cmake") + INCLUDE("${PROJECT_SOURCE_DIR}/DartConfig.cmake") + ELSE(EXISTS "${PROJECT_SOURCE_DIR}/DartConfig.cmake") + # Dashboard is opened for submissions for a 24 hour period starting at + # the specified NIGHTLY_START_TIME. Time is specified in 24 hour format. + SET_IF_NOT_SET (NIGHTLY_START_TIME "00:00:00 EDT") + SET_IF_NOT_SET(DROP_METHOD "http") + SET_IF_NOT_SET (COMPRESS_SUBMISSION ON) + ENDIF(EXISTS "${PROJECT_SOURCE_DIR}/DartConfig.cmake") + SET_IF_NOT_SET (NIGHTLY_START_TIME "00:00:00 EDT") + + FIND_PROGRAM(CVSCOMMAND cvs ) + SET(CVS_UPDATE_OPTIONS "-d -A -P" CACHE STRING + "Options passed to the cvs update command.") + FIND_PROGRAM(SVNCOMMAND svn) + FIND_PROGRAM(BZRCOMMAND bzr) + FIND_PROGRAM(HGCOMMAND hg) + FIND_PROGRAM(GITCOMMAND git) + + IF(NOT UPDATE_TYPE) + IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CVS") + SET(UPDATE_TYPE cvs) + ELSEIF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.svn") + SET(UPDATE_TYPE svn) + ELSEIF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.bzr") + SET(UPDATE_TYPE bzr) + ELSEIF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.hg") + SET(UPDATE_TYPE hg) + ELSEIF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git") + SET(UPDATE_TYPE git) + ENDIF() + ENDIF(NOT UPDATE_TYPE) + + STRING(TOLOWER "${UPDATE_TYPE}" _update_type) + IF("${_update_type}" STREQUAL "cvs") + SET(UPDATE_COMMAND "${CVSCOMMAND}") + SET(UPDATE_OPTIONS "${CVS_UPDATE_OPTIONS}") + ELSEIF("${_update_type}" STREQUAL "svn") + SET(UPDATE_COMMAND "${SVNCOMMAND}") + SET(UPDATE_OPTIONS "${SVN_UPDATE_OPTIONS}") + ELSEIF("${_update_type}" STREQUAL "bzr") + SET(UPDATE_COMMAND "${BZRCOMMAND}") + SET(UPDATE_OPTIONS "${BZR_UPDATE_OPTIONS}") + ELSEIF("${_update_type}" STREQUAL "hg") + SET(UPDATE_COMMAND "${HGCOMMAND}") + SET(UPDATE_OPTIONS "${HG_UPDATE_OPTIONS}") + ELSEIF("${_update_type}" STREQUAL "git") + SET(UPDATE_COMMAND "${GITCOMMAND}") + SET(UPDATE_OPTIONS "${GIT_UPDATE_OPTIONS}") + ENDIF() + + SET(DART_TESTING_TIMEOUT 1500 CACHE STRING + "Maximum time allowed before CTest will kill the test.") + + SET(CTEST_SUBMIT_RETRY_DELAY 5 CACHE STRING + "How long to wait between timed-out CTest submissions.") + SET(CTEST_SUBMIT_RETRY_COUNT 3 CACHE STRING + "How many times to retry timed-out CTest submissions.") + + FIND_PROGRAM(MEMORYCHECK_COMMAND + NAMES purify valgrind boundscheck + PATHS + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Rational Software\\Purify\\Setup;InstallFolder]" + DOC "Path to the memory checking command, used for memory error detection." + ) + FIND_PROGRAM(SLURM_SBATCH_COMMAND sbatch DOC + "Path to the SLURM sbatch executable" + ) + FIND_PROGRAM(SLURM_SRUN_COMMAND srun DOC + "Path to the SLURM srun executable" + ) + SET(MEMORYCHECK_SUPPRESSIONS_FILE "" CACHE FILEPATH + "File that contains suppressions for the memory checker") + FIND_PROGRAM(SCPCOMMAND scp DOC + "Path to scp command, used by CTest for submitting results to a Dart server" + ) + FIND_PROGRAM(COVERAGE_COMMAND gcov DOC + "Path to the coverage program that CTest uses for performing coverage inspection" + ) + + # set the site name + SITE_NAME(SITE) + # set the build name + IF(NOT BUILDNAME) + SET(DART_COMPILER "${CMAKE_CXX_COMPILER}") + IF(NOT DART_COMPILER) + SET(DART_COMPILER "${CMAKE_C_COMPILER}") + ENDIF(NOT DART_COMPILER) + IF(NOT DART_COMPILER) + SET(DART_COMPILER "unknown") + ENDIF(NOT DART_COMPILER) + IF(WIN32) + SET(DART_NAME_COMPONENT "NAME_WE") + ELSE(WIN32) + SET(DART_NAME_COMPONENT "NAME") + ENDIF(WIN32) + IF(NOT BUILD_NAME_SYSTEM_NAME) + SET(BUILD_NAME_SYSTEM_NAME "${CMAKE_SYSTEM_NAME}") + ENDIF(NOT BUILD_NAME_SYSTEM_NAME) + IF(WIN32) + SET(BUILD_NAME_SYSTEM_NAME "Win32") + ENDIF(WIN32) + IF(UNIX OR BORLAND) + GET_FILENAME_COMPONENT(DART_CXX_NAME + "${CMAKE_CXX_COMPILER}" ${DART_NAME_COMPONENT}) + ELSE(UNIX OR BORLAND) + GET_FILENAME_COMPONENT(DART_CXX_NAME + "${CMAKE_BUILD_TOOL}" ${DART_NAME_COMPONENT}) + ENDIF(UNIX OR BORLAND) + IF(DART_CXX_NAME MATCHES "msdev") + SET(DART_CXX_NAME "vs60") + ENDIF(DART_CXX_NAME MATCHES "msdev") + IF(DART_CXX_NAME MATCHES "devenv") + GET_VS_VERSION_STRING("${CMAKE_GENERATOR}" DART_CXX_NAME) + ENDIF(DART_CXX_NAME MATCHES "devenv") + IF (SYSTEM_NAME_EXT) + SET (BUILD_NAME_SYSTEM_NAME "${BUILD_NAME_SYSTEM_NAME}_${SYSTEM_NAME_EXT}") + ENDIF (SYSTEM_NAME_EXT) + IF(BUILD_NAME_EXT) + SET(BUILDNAME "${BUILD_NAME_SYSTEM_NAME}-${DART_CXX_NAME}-${BUILD_NAME_EXT}") + ELSE(BUILD_NAME_EXT) + SET(BUILDNAME "${BUILD_NAME_SYSTEM_NAME}-${DART_CXX_NAME}") + ENDIF( BUILD_NAME_EXT) + ENDIF(NOT BUILDNAME) + + # the build command + BUILD_COMMAND(MAKECOMMAND_DEFAULT_VALUE + CONFIGURATION "\${CTEST_CONFIGURATION_TYPE}") + SET(MAKECOMMAND ${MAKECOMMAND_DEFAULT_VALUE} + CACHE STRING "Command to build the project") + + # the default build configuration the ctest build handler will use + # if there is no -C arg given to ctest: + SET(DEFAULT_CTEST_CONFIGURATION_TYPE "$ENV{CMAKE_CONFIG_TYPE}") + IF(DEFAULT_CTEST_CONFIGURATION_TYPE STREQUAL "") + SET(DEFAULT_CTEST_CONFIGURATION_TYPE "Release") + ENDIF(DEFAULT_CTEST_CONFIGURATION_TYPE STREQUAL "") + + IF(NOT "${CMAKE_GENERATOR}" MATCHES "Make") + SET(CTEST_USE_LAUNCHERS 0) + ENDIF(NOT "${CMAKE_GENERATOR}" MATCHES "Make") + IF(CTEST_USE_LAUNCHERS) + SET(CTEST_LAUNCH_COMPILE "\"${CMAKE_CTEST_COMMAND}\" --launch --target-name <TARGET_NAME> --build-dir <CMAKE_CURRENT_BINARY_DIR> --output <OBJECT> --source <SOURCE> --language <LANGUAGE> --") + SET(CTEST_LAUNCH_LINK "\"${CMAKE_CTEST_COMMAND}\" --launch --target-name <TARGET_NAME> --build-dir <CMAKE_CURRENT_BINARY_DIR> --output <TARGET> --target-type <TARGET_TYPE> --language <LANGUAGE> --") + SET(CTEST_LAUNCH_CUSTOM "\"${CMAKE_CTEST_COMMAND}\" --launch --target-name <TARGET_NAME> --build-dir <CMAKE_CURRENT_BINARY_DIR> --output <OUTPUT> --") + SET_PROPERTY(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CTEST_LAUNCH_COMPILE}") + SET_PROPERTY(GLOBAL PROPERTY RULE_LAUNCH_LINK "${CTEST_LAUNCH_LINK}") + SET_PROPERTY(GLOBAL PROPERTY RULE_LAUNCH_CUSTOM "${CTEST_LAUNCH_CUSTOM}") + ENDIF(CTEST_USE_LAUNCHERS) + + MARK_AS_ADVANCED( + COVERAGE_COMMAND + CVSCOMMAND + SVNCOMMAND + BZRCOMMAND + HGCOMMAND + GITCOMMAND + CVS_UPDATE_OPTIONS + SVN_UPDATE_OPTIONS + BZR_UPDATE_OPTIONS + MAKECOMMAND + MEMORYCHECK_COMMAND + MEMORYCHECK_SUPPRESSIONS_FILE + PURIFYCOMMAND + SCPCOMMAND + SLURM_SBATCH_COMMAND + SLURM_SRUN_COMMAND + SITE + CTEST_SUBMIT_RETRY_DELAY + CTEST_SUBMIT_RETRY_COUNT + ) + # BUILDNAME + IF(NOT RUN_FROM_DART) + SET(RUN_FROM_CTEST_OR_DART 1) + INCLUDE(CTestTargets) + SET(RUN_FROM_CTEST_OR_DART) + ENDIF(NOT RUN_FROM_DART) +ENDIF(BUILD_TESTING) diff --git a/config/cmake/CTestCustom.cmake b/config/cmake/CTestCustom.cmake index ecb89ed..68b0642 100755 --- a/config/cmake/CTestCustom.cmake +++ b/config/cmake/CTestCustom.cmake @@ -3,471 +3,516 @@ SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 1500) SET (CTEST_CUSTOM_WARNING_EXCEPTION ${CTEST_CUSTOM_WARNING_EXCEPTION} "H5detect.c.[0-9]+.[ \t]*:[ \t]*warning C4090" + "H5detect.c.[0-9]+.[ \t]*:[ \t]*warning:[ \t]*passing argument" + "H5detect.c[0-9 \t:]*warning:[ \t]*passing argument" + "H5Tconv.c[0-9 \t:]*warning:[ \t]*comparison is always false due to limited range of data type" "testhdf5.h.[0-9]+.[ \t]*:[ \t]*warning C4005" "H5Ztrans.c.[0-9]+.[ \t]*:[ \t]*warning C4244" - "SZIP.src.[0-9a-zA-Z]*warning" + "SZIP.src.*:[ \t]*warning" "POSIX name for this item is deprecated" "disabling jobserver mode" ) SET (CTEST_CUSTOM_MEMCHECK_IGNORE ${CTEST_CUSTOM_MEMCHECK_IGNORE} + flush1 #designed to fail + flush2 #designed to need flush1 + error_test #uses runTest.cmake + err_compat #uses runTest.cmake + links_env #uses runTest.cmake h5test-clear-objects h5perform-clear-objects hl_test-clear-objects hl_fortran_test-clear-objects - H5DIFF-clearall-objects - H5LS-clearall-objects - h5repart_20K-clear-objects - h5repart_5K-clear-objects - h5repart_sec2-clear-objects - H5IMPORT-clear-objects - H5REPACK-clearall-objects + ######### tools/h5copy ######### H5COPY-clearall-objects - H5STAT-clearall-objects + H5COPY-H5LS_h5copytst-basic #uses runTest.cmake + H5COPY-clear-refs + H5COPY-region_ref #needs clear-refs + H5COPY-H5LS_h5copy_ref-refs #uses runTest.cmake + H5COPY-clear-ext-links + H5COPY-ext_link #needs clear-ext-links + H5COPY-ext_link_f #needs clear-ext-links + H5COPY-ext_dangle_noobj #needs clear-ext-links + H5COPY-ext_dangle_noobj_f #needs clear-ext-links + H5COPY-ext_dangle_nofile #needs clear-ext-links + H5COPY-ext_dangle_nofile_f #needs clear-ext-links + H5COPY-ext_link_group #needs clear-ext-links + H5COPY-ext_link_group_f #needs clear-ext-links + H5COPY-H5LS_h5copy_extlinks_src-links #uses runTest.cmake + H5COPY-clear-misc + H5COPY-CMP-h5copy_misc1 #uses runTest.cmake + ######### tools/h5diff ######### + H5DIFF-clearall-objects + H5DIFF-h5diff_10 #uses runTest.cmake + H5DIFF-h5diff_11 #uses runTest.cmake + H5DIFF-h5diff_12 #uses runTest.cmake + H5DIFF-h5diff_13 #uses runTest.cmake + H5DIFF-h5diff_14 #uses runTest.cmake + H5DIFF-h5diff_15 #uses runTest.cmake + H5DIFF-h5diff_16_1 #uses runTest.cmake + H5DIFF-h5diff_16_2 #uses runTest.cmake + H5DIFF-h5diff_16_3 #uses runTest.cmake + H5DIFF-h5diff_17 #uses runTest.cmake + H5DIFF-h5diff_171 #uses runTest.cmake + H5DIFF-h5diff_172 #uses runTest.cmake + H5DIFF-h5diff_18 #uses runTest.cmake + H5DIFF-h5diff_18_1 #uses runTest.cmake + H5DIFF-h5diff_20 #uses runTest.cmake + H5DIFF-h5diff_21 #uses runTest.cmake + H5DIFF-h5diff_22 #uses runTest.cmake + H5DIFF-h5diff_23 #uses runTest.cmake + H5DIFF-h5diff_24 #uses runTest.cmake + H5DIFF-h5diff_25 #uses runTest.cmake + H5DIFF-h5diff_26 #uses runTest.cmake + H5DIFF-h5diff_27 #uses runTest.cmake + H5DIFF-h5diff_28 #uses runTest.cmake + H5DIFF-h5diff_50 #uses runTest.cmake + H5DIFF-h5diff_51 #uses runTest.cmake + H5DIFF-h5diff_52 #uses runTest.cmake + H5DIFF-h5diff_53 #uses runTest.cmake + H5DIFF-h5diff_54 #uses runTest.cmake + H5DIFF-h5diff_55 #uses runTest.cmake + H5DIFF-h5diff_56 #uses runTest.cmake + H5DIFF-h5diff_57 #uses runTest.cmake + H5DIFF-h5diff_58 #uses runTest.cmake + H5DIFF-h5diff_600 #uses runTest.cmake + H5DIFF-h5diff_601 #uses runTest.cmake + H5DIFF-h5diff_603 #uses runTest.cmake + H5DIFF-h5diff_604 #uses runTest.cmake + H5DIFF-h5diff_605 #uses runTest.cmake + H5DIFF-h5diff_606 #uses runTest.cmake + H5DIFF-h5diff_607 #uses runTest.cmake + H5DIFF-h5diff_608 #uses runTest.cmake + H5DIFF-h5diff_609 #uses runTest.cmake + H5DIFF-h5diff_610 #uses runTest.cmake + H5DIFF-h5diff_612 #uses runTest.cmake + H5DIFF-h5diff_613 #uses runTest.cmake + H5DIFF-h5diff_614 #uses runTest.cmake + H5DIFF-h5diff_615 #uses runTest.cmake + H5DIFF-h5diff_616 #uses runTest.cmake + H5DIFF-h5diff_617 #uses runTest.cmake + H5DIFF-h5diff_618 #uses runTest.cmake + H5DIFF-h5diff_619 #uses runTest.cmake + H5DIFF-h5diff_621 #uses runTest.cmake + H5DIFF-h5diff_622 #uses runTest.cmake + H5DIFF-h5diff_623 #uses runTest.cmake + H5DIFF-h5diff_624 #uses runTest.cmake + H5DIFF-h5diff_625 #uses runTest.cmake + H5DIFF-h5diff_626 #uses runTest.cmake + H5DIFF-h5diff_627 #uses runTest.cmake + H5DIFF-h5diff_628 #uses runTest.cmake + H5DIFF-h5diff_70 #uses runTest.cmake + H5DIFF-h5diff_80 #uses runTest.cmake + H5DIFF-h5diff_90 #uses runTest.cmake + H5DIFF-h5diff_101 #uses runTest.cmake + H5DIFF-h5diff_102 #uses runTest.cmake + H5DIFF-h5diff_200 #uses runTest.cmake + H5DIFF-h5diff_201 #uses runTest.cmake + H5DIFF-h5diff_202 #uses runTest.cmake + H5DIFF-h5diff_203 #uses runTest.cmake + H5DIFF-h5diff_204 #uses runTest.cmake + H5DIFF-h5diff_205 #uses runTest.cmake + H5DIFF-h5diff_206 #uses runTest.cmake + H5DIFF-h5diff_207 #uses runTest.cmake + H5DIFF-h5diff_300 #uses runTest.cmake + H5DIFF-h5diff_400 #uses runTest.cmake + H5DIFF-h5diff_401 #uses runTest.cmake + H5DIFF-h5diff_402 #uses runTest.cmake + H5DIFF-h5diff_403 #uses runTest.cmake + H5DIFF-h5diff_404 #uses runTest.cmake + H5DIFF-h5diff_405 #uses runTest.cmake + H5DIFF-h5diff_406 #uses runTest.cmake + H5DIFF-h5diff_407 #uses runTest.cmake + H5DIFF-h5diff_408 #uses runTest.cmake + H5DIFF-h5diff_409 #uses runTest.cmake + H5DIFF-h5diff_410 #uses runTest.cmake + H5DIFF-h5diff_411 #uses runTest.cmake + H5DIFF-h5diff_412 #uses runTest.cmake + H5DIFF-h5diff_413 #uses runTest.cmake + H5DIFF-h5diff_414 #uses runTest.cmake + H5DIFF-h5diff_415 #uses runTest.cmake + H5DIFF-h5diff_416 #uses runTest.cmake + H5DIFF-h5diff_417 #uses runTest.cmake + H5DIFF-h5diff_418 #uses runTest.cmake + H5DIFF-h5diff_419 #uses runTest.cmake + H5DIFF-h5diff_420 #uses runTest.cmake + H5DIFF-h5diff_421 #uses runTest.cmake + H5DIFF-h5diff_422 #uses runTest.cmake + H5DIFF-h5diff_423 #uses runTest.cmake + H5DIFF-h5diff_424 #uses runTest.cmake + H5DIFF-h5diff_425 #uses runTest.cmake + H5DIFF-h5diff_450 #uses runTest.cmake + H5DIFF-h5diff_451 #uses runTest.cmake + H5DIFF-h5diff_452 #uses runTest.cmake + H5DIFF-h5diff_453 #uses runTest.cmake + H5DIFF-h5diff_454 #uses runTest.cmake + H5DIFF-h5diff_455 #uses runTest.cmake + H5DIFF-h5diff_456 #uses runTest.cmake + H5DIFF-h5diff_457 #uses runTest.cmake + H5DIFF-h5diff_458 #uses runTest.cmake + H5DIFF-h5diff_459 #uses runTest.cmake + H5DIFF-h5diff_500 #uses runTest.cmake + H5DIFF-h5diff_501 #uses runTest.cmake + H5DIFF-h5diff_502 #uses runTest.cmake + H5DIFF-h5diff_503 #uses runTest.cmake + H5DIFF-h5diff_504 #uses runTest.cmake + H5DIFF-h5diff_505 #uses runTest.cmake + H5DIFF-h5diff_506 #uses runTest.cmake + H5DIFF-h5diff_507 #uses runTest.cmake + H5DIFF-h5diff_508 #uses runTest.cmake + H5DIFF-h5diff_509 #uses runTest.cmake + H5DIFF-h5diff_510 #uses runTest.cmake + H5DIFF-h5diff_511 #uses runTest.cmake + H5DIFF-h5diff_512 #uses runTest.cmake + H5DIFF-h5diff_513 #uses runTest.cmake + H5DIFF-h5diff_514 #uses runTest.cmake + H5DIFF-h5diff_515 #uses runTest.cmake + H5DIFF-h5diff_516 #uses runTest.cmake + H5DIFF-h5diff_517 #uses runTest.cmake + H5DIFF-h5diff_518 #uses runTest.cmake + H5DIFF-h5diff_480 #uses runTest.cmake + H5DIFF-h5diff_481 #uses runTest.cmake + H5DIFF-h5diff_482 #uses runTest.cmake + H5DIFF-h5diff_483 #uses runTest.cmake + H5DIFF-h5diff_484 #uses runTest.cmake + H5DIFF-h5diff_530 #uses runTest.cmake + ######### tools/h5dump ######### H5DUMP-clearall-objects + H5DUMP-packedbits #uses runTest.cmake + H5DUMP-tgroup-1 #uses runTest.cmake + H5DUMP-tgroup-2 #uses runTest.cmake + H5DUMP-tdset-1 #uses runTest.cmake + H5DUMP-tdset-2 #uses runTest.cmake + H5DUMP-tattr-1 #uses runTest.cmake + H5DUMP-tattr-2 #uses runTest.cmake + H5DUMP-tattr-3 #uses runTest.cmake + H5DUMP-tnamed_dtype_attr #uses runTest.cmake + H5DUMP-tslink-1 #uses runTest.cmake + H5DUMP-tudlink-1 #uses runTest.cmake + H5DUMP-tslink-2 #uses runTest.cmake + H5DUMP-tudlink-2 #uses runTest.cmake + H5DUMP-thlink-1 #uses runTest.cmake + H5DUMP-thlink-2 #uses runTest.cmake + H5DUMP-thlink-3 #uses runTest.cmake + H5DUMP-thlink-4 #uses runTest.cmake + H5DUMP-thlink-5 #uses runTest.cmake + H5DUMP-tcomp-1 #uses runTest.cmake + H5DUMP-tcomp-2 #uses runTest.cmake + H5DUMP-tcomp-4 #uses runTest.cmake + H5DUMP-tnestcomp-1 #uses runTest.cmake + H5DUMP-tall-1 #uses runTest.cmake + H5DUMP-tall-2 #uses runTest.cmake + H5DUMP-tall-3 #uses runTest.cmake + H5DUMP-tloop-1 #uses runTest.cmake + H5DUMP-tstr-1 #uses runTest.cmake + H5DUMP-tstr-2 #uses runTest.cmake + H5DUMP-tsaf #uses runTest.cmake + H5DUMP-tvldtypes1 #uses runTest.cmake + H5DUMP-tvldtypes2 #uses runTest.cmake + H5DUMP-tvldtypes3 #uses runTest.cmake + H5DUMP-tvldtypes4 #uses runTest.cmake + H5DUMP-tvldtypes5 #uses runTest.cmake + H5DUMP-tvlstr #uses runTest.cmake + H5DUMP-tarray1 #uses runTest.cmake + H5DUMP-tarray1_big #uses runTest.cmake + H5DUMP-tarray2 #uses runTest.cmake + H5DUMP-tarray3 #uses runTest.cmake + H5DUMP-tarray4 #uses runTest.cmake + H5DUMP-tarray5 #uses runTest.cmake + H5DUMP-tarray6 #uses runTest.cmake + H5DUMP-tarray7 #uses runTest.cmake + H5DUMP-tarray8 #uses runTest.cmake + H5DUMP-tempty #uses runTest.cmake + H5DUMP-tgrp_comments #uses runTest.cmake + H5DUMP-tsplit_file #uses runTest.cmake + H5DUMP-tfamily #uses runTest.cmake + H5DUMP-tmulti #uses runTest.cmake + H5DUMP-tlarge_objname #uses runTest.cmake + H5DUMP-tall-2A #uses runTest.cmake + H5DUMP-tall-2B #uses runTest.cmake + H5DUMP-tall-4s #uses runTest.cmake + H5DUMP-tall-5s #uses runTest.cmake + H5DUMP-tdset-3s #uses runTest.cmake + H5DUMP-tchar1 #uses runTest.cmake + H5DUMP-tchar1 #uses runTest.cmake + H5DUMP-tnofilename #uses runTest.cmake + H5DUMP-tboot1 #uses runTest.cmake + H5DUMP-tboot2 #uses runTest.cmake + H5DUMP-tperror #uses runTest.cmake + H5DUMP-tcontents #uses runTest.cmake + H5DUMP-tcompact #uses runTest.cmake + H5DUMP-tcontiguos #uses runTest.cmake + H5DUMP-tchunked #uses runTest.cmake + H5DUMP-texternal #uses runTest.cmake + H5DUMP-tfill #uses runTest.cmake + H5DUMP-treference #uses runTest.cmake + H5DUMP-tstringe #uses runTest.cmake + H5DUMP-tstring #uses runTest.cmake + H5DUMP-tstring2 #uses runTest.cmake + H5DUMP-tindicesyes #uses runTest.cmake + H5DUMP-tindicesno #uses runTest.cmake + H5DUMP-tindicessub1 #uses runTest.cmake + H5DUMP-tindicessub2 #uses runTest.cmake + H5DUMP-tindicessub3 #uses runTest.cmake + H5DUMP-tindicessub4 #uses runTest.cmake + H5DUMP-tszip #uses runTest.cmake + H5DUMP-tdeflate #uses runTest.cmake + H5DUMP-tshuffle #uses runTest.cmake + H5DUMP-tfletcher32 #uses runTest.cmake + H5DUMP-tnbit #uses runTest.cmake + H5DUMP-tscaleoffset #uses runTest.cmake + H5DUMP-tallfilters #uses runTest.cmake + H5DUMP-tuserfilter #uses runTest.cmake + H5DUMP-tlonglinks #uses runTest.cmake + H5DUMP-tbigdims #uses runTest.cmake + H5DUMP-thyperslab #uses runTest.cmake + H5DUMP-tnullspace #uses runTest.cmake + H5DUMP-tvms #uses runTest.cmake + H5DUMP-tbin1LE #uses runTest.cmake + H5DUMP-tbin1 #uses runTest.cmake H5DUMP-clear-out1 + H5DUMP-h5import-out1 + H5DUMP-h5diff-out1 + H5DUMP-tbin2 #uses runTest.cmake + H5DUMP-tbin3 #uses runTest.cmake H5DUMP-clear-out3 + H5DUMP-h5import-out3 + H5DUMP-h5diff-out3 H5DUMP-clear-objects + H5DUMP-tbin4 #uses runTest.cmake + H5DUMP-tdatareg #uses runTest.cmake + H5DUMP-tdataregR #uses runTest.cmake + H5DUMP-tattrreg #uses runTest.cmake + H5DUMP-tattrregR #uses runTest.cmake + H5DUMP-output-tbinregR #uses runTest.cmake + H5DUMP-output-cmp-tbinregR #uses runTest.cmake + H5DUMP-tordergr1 #uses runTest.cmake + H5DUMP-tordergr2 #uses runTest.cmake + H5DUMP-tordergr3 #uses runTest.cmake + H5DUMP-tordergr4 #uses runTest.cmake + H5DUMP-tordergr5 #uses runTest.cmake + H5DUMP-torderattr1 #uses runTest.cmake + H5DUMP-torderattr2 #uses runTest.cmake + H5DUMP-torderattr3 #uses runTest.cmake + H5DUMP-torderattr4 #uses runTest.cmake + H5DUMP-tfpformat #uses runTest.cmake + H5DUMP-textlinksrc #uses runTest.cmake + H5DUMP-textlinkfar #uses runTest.cmake + H5DUMP-textlink #uses runTest.cmake H5DUMP_PACKED_BITS-clearall-objects + H5DUMP-tpackedbits #uses runTest.cmake + H5DUMP-tpackedbits2 #uses runTest.cmake + H5DUMP-tnofilename-with-packed-bits #uses runTest.cmake + H5DUMP-tpbitsSigned #uses runTest.cmake + H5DUMP-tpbitsUnsigned #uses runTest.cmake + H5DUMP-tpbitsOverlapped #uses runTest.cmake + H5DUMP-tpbitsMax #uses runTest.cmake + H5DUMP-tpbitsCompound #uses runTest.cmake + H5DUMP-tpbitsArray #uses runTest.cmake + H5DUMP-tpbitsMaxExceeded #uses runTest.cmake + H5DUMP-tpbitsOffsetExceeded #uses runTest.cmake + H5DUMP-tpbitsOffsetNegative #uses runTest.cmake + H5DUMP-tpbitsLengthPositive #uses runTest.cmake + H5DUMP-tpbitsLengthExceeded #uses runTest.cmake + H5DUMP-tpbitsIncomplete #uses runTest.cmake H5DUMP-XML-clearall-objects - #H5DIFF-h5diff_10 - H5DIFF-h5diff_11 - H5DIFF-h5diff_12 - H5DIFF-h5diff_13 - H5DIFF-h5diff_14 - #H5DIFF-h5diff_15 - #H5DIFF-h5diff_16_1 - H5DIFF-h5diff_16_2 - H5DIFF-h5diff_16_3 - H5DIFF-h5diff_17 - H5DIFF-h5diff_171 - H5DIFF-h5diff_172 - H5DIFF-h5diff_18 - H5DIFF-h5diff_18_1 - H5DIFF-h5diff_20 - H5DIFF-h5diff_21 - H5DIFF-h5diff_22 - H5DIFF-h5diff_23 - H5DIFF-h5diff_24 - H5DIFF-h5diff_25 - H5DIFF-h5diff_26 - H5DIFF-h5diff_27 - H5DIFF-h5diff_28 - H5DIFF-h5diff_50 - H5DIFF-h5diff_51 - H5DIFF-h5diff_52 - H5DIFF-h5diff_53 - H5DIFF-h5diff_54 - H5DIFF-h5diff_55 - H5DIFF-h5diff_56 - H5DIFF-h5diff_57 - H5DIFF-h5diff_58 - H5DIFF-h5diff_600 - H5DIFF-h5diff_601 - H5DIFF-h5diff_603 - H5DIFF-h5diff_604 - H5DIFF-h5diff_605 - H5DIFF-h5diff_606 - H5DIFF-h5diff_607 - H5DIFF-h5diff_608 - H5DIFF-h5diff_609 - H5DIFF-h5diff_610 - H5DIFF-h5diff_612 - H5DIFF-h5diff_613 - H5DIFF-h5diff_614 - H5DIFF-h5diff_615 - H5DIFF-h5diff_616 - H5DIFF-h5diff_617 - H5DIFF-h5diff_618 - H5DIFF-h5diff_619 - H5DIFF-h5diff_621 - H5DIFF-h5diff_622 - H5DIFF-h5diff_623 - H5DIFF-h5diff_624 - H5DIFF-h5diff_625 - H5DIFF-h5diff_626 - H5DIFF-h5diff_627 - H5DIFF-h5diff_628 - H5DIFF-h5diff_70 - H5DIFF-h5diff_80 - H5DIFF-h5diff_90 - H5DIFF-h5diff_101 - H5DIFF-h5diff_102 - H5DIFF-h5diff_200 - H5DIFF-h5diff_201 - H5DIFF-h5diff_202 - H5DIFF-h5diff_203 - H5DIFF-h5diff_204 - H5DIFF-h5diff_205 - H5DIFF-h5diff_206 - H5DIFF-h5diff_207 - H5DIFF-h5diff_300 - H5DIFF-h5diff_400 - H5DIFF-h5diff_401 - H5DIFF-h5diff_402 - H5DIFF-h5diff_403 - H5DIFF-h5diff_404 - H5DIFF-h5diff_405 - H5DIFF-h5diff_406 - H5DIFF-h5diff_407 - H5DIFF-h5diff_408 - H5DIFF-h5diff_409 - H5DIFF-h5diff_410 - H5DIFF-h5diff_411 - H5DIFF-h5diff_412 - H5DIFF-h5diff_413 - H5DIFF-h5diff_414 - H5DIFF-h5diff_415 - H5DIFF-h5diff_416 - H5DIFF-h5diff_417 - H5DIFF-h5diff_418 - H5DIFF-h5diff_419 - H5DIFF-h5diff_420 - H5DIFF-h5diff_421 - H5DIFF-h5diff_422 - H5DIFF-h5diff_423 - H5DIFF-h5diff_424 - H5DIFF-h5diff_425 - H5DIFF-h5diff_450 - H5DIFF-h5diff_451 - H5DIFF-h5diff_452 - H5DIFF-h5diff_453 - H5DIFF-h5diff_454 - H5DIFF-h5diff_455 - H5DIFF-h5diff_456 - H5DIFF-h5diff_457 - H5DIFF-h5diff_458 - H5DIFF-h5diff_459 - H5DIFF-h5diff_500 - H5DIFF-h5diff_501 - H5DIFF-h5diff_502 - H5DIFF-h5diff_503 - H5DIFF-h5diff_504 - H5DIFF-h5diff_505 - H5DIFF-h5diff_506 - H5DIFF-h5diff_507 - H5DIFF-h5diff_508 - H5DIFF-h5diff_509 - H5DIFF-h5diff_510 - H5DIFF-h5diff_511 - H5DIFF-h5diff_512 - H5DIFF-h5diff_513 - H5DIFF-h5diff_514 - H5DIFF-h5diff_515 - H5DIFF-h5diff_516 - H5DIFF-h5diff_517 - H5DIFF-h5diff_518 - H5DIFF-h5diff_480 - H5DIFF-h5diff_481 - H5DIFF-h5diff_482 - H5DIFF-h5diff_483 - H5DIFF-h5diff_484 - #H5LS-help-1 - #H5LS-help-2 - H5LS-help-3 - #H5LS-tall-1 - H5LS-tall-2 - H5LS-tgroup - H5LS-tgroup-3 - H5LS-tgroup-1 - H5LS-tgroup-2 - H5LS-tdset-1 - H5LS-tslink-1 - H5LS-tsoftlinks-1 - H5LS-tsoftlinks-2 - H5LS-tsoftlinks-3 - H5LS-tsoftlinks-4 - H5LS-tsoftlinks-5 - H5LS-textlink-1 - H5LS-textlinksrc-1 - H5LS-textlinksrc-2 - H5LS-textlinksrc-3 - H5LS-textlinksrc-4 - H5LS-textlinksrc-5 - H5LS-textlinksrc-6 - H5LS-textlinksrc-7 - H5LS-tudlink-1 - H5LS-textlinksrc-1-old - H5LS-textlinksrc-2-old - H5LS-textlinksrc-3-old - H5LS-textlinksrc-6-old - H5LS-textlinksrc-7-old - H5LS-textlinksrc-nodangle-1 - H5LS-textlinksrc-nodangle-2 - H5LS-tsoftlinks-nodangle-1 - H5LS-thlinks-nodangle-1 - H5LS-thlink-1 - H5LS-tcomp-1 - H5LS-tnestcomp-1 - H5LS-tloop-1 - H5LS-tstr-1 - H5LS-tsaf - H5LS-tvldtypes1 - H5LS-tarray1 - H5LS-tempty - H5LS-tattr2 - H5LS-nosuchfile - H5LS-tvldtypes2le - H5LS-tdataregle - H5MKGRP-clear-h5mkgrp_help-h - H5MKGRP-H5LS-h5mkgrp_help-h - H5MKGRP-clear-h5mkgrp_version-V - H5MKGRP-H5LS-h5mkgrp_version-V + H5DUMP-XML-tall.h5 #uses runTest.cmake + H5DUMP-XML-tattr.h5 #uses runTest.cmake + H5DUMP-XML-tbitfields.h5 #uses runTest.cmake + H5DUMP-XML-tcompound.h5 #uses runTest.cmake + H5DUMP-XML-tcompound2.h5 #uses runTest.cmake + H5DUMP-XML-tdatareg.h5 #uses runTest.cmake + H5DUMP-XML-tdset.h5 #uses runTest.cmake + H5DUMP-XML-tdset2.h5 #uses runTest.cmake + H5DUMP-XML-tenum.h5 #uses runTest.cmake + H5DUMP-XML-tgroup.h5 #uses runTest.cmake + H5DUMP-XML-thlink.h5 #uses runTest.cmake + H5DUMP-XML-tloop.h5 #uses runTest.cmake + H5DUMP-XML-tloop2.h5 #uses runTest.cmake + H5DUMP-XML-tmany.h5 #uses runTest.cmake + H5DUMP-XML-tnestedcomp.h5 #uses runTest.cmake + H5DUMP-XML-tcompound_complex.h5 #uses runTest.cmake + H5DUMP-XML-tobjref.h5 #uses runTest.cmake + H5DUMP-XML-topaque.h5 #uses runTest.cmake + H5DUMP-XML-tslink.h5 #uses runTest.cmake + H5DUMP-XML-tudlink.h5 #uses runTest.cmake + H5DUMP-XML-textlink.h5 #uses runTest.cmake + H5DUMP-XML-tstr.h5 #uses runTest.cmake + H5DUMP-XML-tstr2.h5 #uses runTest.cmake + H5DUMP-XML-tref.h5 #uses runTest.cmake + H5DUMP-XML-tname-amp.h5 #uses runTest.cmake + H5DUMP-XML-tname-apos.h5 #uses runTest.cmake + H5DUMP-XML-tname-gt.h5 #uses runTest.cmake + H5DUMP-XML-tname-lt.h5 #uses runTest.cmake + H5DUMP-XML-tname-quot.h5 #uses runTest.cmake + H5DUMP-XML-tname-sp.h5 #uses runTest.cmake + H5DUMP-XML-tstring.h5 #uses runTest.cmake + H5DUMP-XML-tstring-at.h5 #uses runTest.cmake + H5DUMP-XML-tref-escapes.h5 #uses runTest.cmake + H5DUMP-XML-tref-escapes-at.h5 #uses runTest.cmake + H5DUMP-XML-tnodata.h5 #uses runTest.cmake + H5DUMP-XML-tarray1.h5 #uses runTest.cmake + H5DUMP-XML-tarray2.h5 #uses runTest.cmake + H5DUMP-XML-tarray3.h5 #uses runTest.cmake + H5DUMP-XML-tarray6.h5 #uses runTest.cmake + H5DUMP-XML-tarray7.h5 #uses runTest.cmake + H5DUMP-XML-tvldtypes1.h5 #uses runTest.cmake + H5DUMP-XML-tvldtypes2.h5 #uses runTest.cmake + H5DUMP-XML-tvldtypes3.h5 #uses runTest.cmake + H5DUMP-XML-tvldtypes4.h5 #uses runTest.cmake + H5DUMP-XML-tvldtypes5.h5 #uses runTest.cmake + H5DUMP-XML-tvlstr.h5 #uses runTest.cmake + H5DUMP-XML-tsaf.h5 #uses runTest.cmake + H5DUMP-XML-tempty.h5 #uses runTest.cmake + H5DUMP-XML-tnamed_dtype_attr.h5 #uses runTest.cmake + H5DUMP-XML-tempty-dtd.h5 #uses runTest.cmake + H5DUMP-XML-tempty-dtd-2.h5 #uses runTest.cmake + H5DUMP-XML-tempty-nons.h5 #uses runTest.cmake + H5DUMP-XML-tempty-nons-2.h5 #uses runTest.cmake + H5DUMP-XML-tempty-ns.h5 #uses runTest.cmake + H5DUMP-XML-tempty-ns-2.h5 #uses runTest.cmake + H5DUMP-XML-tempty-nons-uri.h5 #uses runTest.cmake + H5DUMP-XML-tempty-dtd-uri.h5 #uses runTest.cmake + H5DUMP-XML-tall-2A.h5 #uses runTest.cmake + H5DUMP-XML-torderattr1.h5 #uses runTest.cmake + H5DUMP-XML-torderattr2.h5 #uses runTest.cmake + H5DUMP-XML-torderattr3.h5 #uses runTest.cmake + H5DUMP-XML-torderattr4.h5 #uses runTest.cmake + H5DUMP-XML-tfpformat.h5 #uses runTest.cmake + ######### tools/h5import ######### + H5IMPORT-clear-objects + ######### tools/h5ls ######### + H5LS-clearall-objects + H5LS-help-1 #uses runTest.cmake + H5LS-help-2 #uses runTest.cmake + H5LS-help-3 #uses runTest.cmake + H5LS-tall-1 #uses runTest.cmake + H5LS-tall-2 #uses runTest.cmake + H5LS-tgroup #uses runTest.cmake + H5LS-tgroup-3 #uses runTest.cmake + H5LS-tgroup-1 #uses runTest.cmake + H5LS-tgroup-2 #uses runTest.cmake + H5LS-tgrp_comments #uses runTest.cmake + H5LS-tdset-1 #uses runTest.cmake + H5LS-tslink-1 #uses runTest.cmake + H5LS-tsoftlinks-1 #uses runTest.cmake + H5LS-tsoftlinks-2 #uses runTest.cmake + H5LS-tsoftlinks-3 #uses runTest.cmake + H5LS-tsoftlinks-4 #uses runTest.cmake + H5LS-tsoftlinks-5 #uses runTest.cmake + H5LS-textlink-1 #uses runTest.cmake + H5LS-textlinksrc-1 #uses runTest.cmake + H5LS-textlinksrc-2 #uses runTest.cmake + H5LS-textlinksrc-3 #uses runTest.cmake + H5LS-textlinksrc-4 #uses runTest.cmake + H5LS-textlinksrc-5 #uses runTest.cmake + H5LS-textlinksrc-6 #uses runTest.cmake + H5LS-textlinksrc-7 #uses runTest.cmake + H5LS-tudlink-1 #uses runTest.cmake + H5LS-textlinksrc-1-old #uses runTest.cmake + H5LS-textlinksrc-2-old #uses runTest.cmake + H5LS-textlinksrc-3-old #uses runTest.cmake + H5LS-textlinksrc-6-old #uses runTest.cmake + H5LS-textlinksrc-7-old #uses runTest.cmake + H5LS-textlinksrc-nodangle-1 #uses runTest.cmake + H5LS-textlinksrc-nodangle-2 #uses runTest.cmake + H5LS-tsoftlinks-nodangle-1 #uses runTest.cmake + H5LS-thlinks-nodangle-1 #uses runTest.cmake + H5LS-thlink-1 #uses runTest.cmake + H5LS-tcomp-1 #uses runTest.cmake + H5LS-tnestcomp-1 #uses runTest.cmake + H5LS-tnestcomp-2 #uses runTest.cmake + H5LS-tnestcomp-3 #uses runTest.cmake + H5LS-tnestcomp-4 #uses runTest.cmake + H5LS-tloop-1 #uses runTest.cmake + H5LS-tstr-1 #uses runTest.cmake + H5LS-tsaf #uses runTest.cmake + H5LS-tvldtypes1 #uses runTest.cmake + H5LS-tarray1 #uses runTest.cmake + H5LS-tempty #uses runTest.cmake + H5LS-tattr2 #uses runTest.cmake + H5LS-nosuchfile #uses runTest.cmake + H5LS-tvldtypes2le #uses runTest.cmake + H5LS-tdataregle #uses runTest.cmake + ######### tools/h5repack ######### + H5REPACK-clearall-objects + H5REPACK-gzip_verbose_filters #uses runTest.cmake + H5REPACK_VERIFY_LAYOUT-dset2_chunk_20x10 #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT_ALL-chunk_20x10 #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-dset2_conti #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT_ALL-conti #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-dset2_compa #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT_ALL-compa #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-dset_compa_conti #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-dset_compa_chunk #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-dset_compa_compa #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-dset_conti_compa #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-dset_conti_chunk #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-dset_conti_conti #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-chunk_compa #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-chunk_conti #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-chunk_18x13 #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-contig_small_compa #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT-contig_small_fixed_compa #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT_ALL-layout_long_switches #uses grepTest.cmake + H5REPACK_VERIFY_LAYOUT_ALL-layout_short_switches #uses grepTest.cmake + ######### tools/h5stat ######### + H5STAT-clearall-objects + H5STAT-h5stat_help1 #uses runTest.cmake + H5STAT-h5stat_help2 #uses runTest.cmake + H5STAT-h5stat_filters #uses runTest.cmake + H5STAT-h5stat_filters-file #uses runTest.cmake + H5STAT-h5stat_filters-F #uses runTest.cmake + H5STAT-h5stat_filters-d #uses runTest.cmake + H5STAT-h5stat_filters-g #uses runTest.cmake + H5STAT-h5stat_filters-dT #uses runTest.cmake + H5STAT-h5stat_filters-UD #uses runTest.cmake + H5STAT-h5stat_filters-UT #uses runTest.cmake + H5STAT-h5stat_tsohm #uses runTest.cmake + H5STAT-h5stat_newgrat #uses runTest.cmake + H5STAT-h5stat_newgrat-UG #uses runTest.cmake + H5STAT-h5stat_newgrat-UA #uses runTest.cmake + ######### tools/misc ######### + h5repart_20K-clear-objects + h5repart_5K-clear-objects + h5repart_sec2-clear-objects + H5MKGRP-h5mkgrp_help #uses runTest.cmake + H5MKGRP-h5mkgrp_version #uses runTest.cmake H5MKGRP-clear-h5mkgrp_single - #H5MKGRP-h5mkgrp_single - #H5MKGRP-H5LS-h5mkgrp_single + H5MKGRP-h5mkgrp_single #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_single #uses runTest.cmake H5MKGRP-clear-h5mkgrp_single-v - H5MKGRP-h5mkgrp_single-v - H5MKGRP-H5LS-h5mkgrp_single-v + H5MKGRP-h5mkgrp_single-v #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_single-v #uses runTest.cmake H5MKGRP-clear-h5mkgrp_single-p - H5MKGRP-h5mkgrp_single-p - H5MKGRP-H5LS-h5mkgrp_single-p + H5MKGRP-h5mkgrp_single-p #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_single-p #uses runTest.cmake H5MKGRP-clear-h5mkgrp_single_latest-l - H5MKGRP-h5mkgrp_single_latest-l - H5MKGRP-H5LS-h5mkgrp_single_latest-l + H5MKGRP-h5mkgrp_single_latest-l #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_single_latest-l #uses runTest.cmake H5MKGRP-clear-h5mkgrp_several - H5MKGRP-h5mkgrp_several - H5MKGRP-H5LS-h5mkgrp_several + H5MKGRP-h5mkgrp_several #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_several #uses runTest.cmake H5MKGRP-clear-h5mkgrp_several-v - H5MKGRP-h5mkgrp_several-v - H5MKGRP-H5LS-h5mkgrp_several-v + H5MKGRP-h5mkgrp_several-v #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_several-v #uses runTest.cmake H5MKGRP-clear-h5mkgrp_several-p - H5MKGRP-h5mkgrp_several-p - H5MKGRP-H5LS-h5mkgrp_several-p + H5MKGRP-h5mkgrp_several-p #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_several-p #uses runTest.cmake H5MKGRP-clear-h5mkgrp_several_latest-l - H5MKGRP-h5mkgrp_several_latest-l - H5MKGRP-H5LS-h5mkgrp_several_latest-l + H5MKGRP-h5mkgrp_several_latest-l #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_several_latest-l #uses runTest.cmake H5MKGRP-clear-h5mkgrp_nested-p - H5MKGRP-h5mkgrp_nested-p - H5MKGRP-H5LS-h5mkgrp_nested-p + H5MKGRP-h5mkgrp_nested-p #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_nested-p #uses runTest.cmake H5MKGRP-clear-h5mkgrp_nested_latest-lp - H5MKGRP-h5mkgrp_nested_latest-lp - H5MKGRP-H5LS-h5mkgrp_nested_latest-lp + H5MKGRP-h5mkgrp_nested_latest-lp #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_nested_latest-lp #uses runTest.cmake H5MKGRP-clear-h5mkgrp_nested_mult-p - H5MKGRP-h5mkgrp_nested_mult-p - H5MKGRP-H5LS-h5mkgrp_nested_mult-p + H5MKGRP-h5mkgrp_nested_mult-p #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_nested_mult-p #uses runTest.cmake H5MKGRP-clear-h5mkgrp_nested_mult_latest-lp - H5MKGRP-h5mkgrp_nested_mult_latest-lp - H5MKGRP-H5LS-h5mkgrp_nested_mult_latest-lp - #H5REPACK_VERIFY_LAYOUT-dset2_chunk_20x10 - H5REPACK_VERIFY_LAYOUT_ALL-chunk_20x10 - H5REPACK_VERIFY_LAYOUT-dset2_conti - H5REPACK_VERIFY_LAYOUT_ALL-conti - H5REPACK_VERIFY_LAYOUT-dset2_compa - H5REPACK_VERIFY_LAYOUT_ALL-compa - #H5REPACK_VERIFY_LAYOUT-dset_compa_conti - H5REPACK_VERIFY_LAYOUT-dset_compa_chunk - H5REPACK_VERIFY_LAYOUT-dset_compa_compa - H5REPACK_VERIFY_LAYOUT-dset_conti_compa - H5REPACK_VERIFY_LAYOUT-dset_conti_chunk - H5REPACK_VERIFY_LAYOUT-dset_conti_conti - H5REPACK_VERIFY_LAYOUT-chunk_compa - H5REPACK_VERIFY_LAYOUT-chunk_conti - H5REPACK_VERIFY_LAYOUT-chunk_18x13 - H5REPACK_VERIFY_LAYOUT-contig_small_compa - H5REPACK_VERIFY_LAYOUT-contig_small_fixed_compa - H5REPACK_VERIFY_LAYOUT_ALL-layout_long_switches - H5REPACK_VERIFY_LAYOUT_ALL-layout_short_switches - #H5STAT-h5stat_help1 - H5STAT-h5stat_help2 - H5STAT-h5stat_filters - H5STAT-h5stat_filters-file - H5STAT-h5stat_filters-F - H5STAT-h5stat_filters-d - H5STAT-h5stat_filters-g - H5STAT-h5stat_filters-dT - H5STAT-h5stat_filters-UD - H5STAT-h5stat_filters-UT - H5STAT-h5stat_tsohm - H5STAT-h5stat_newgrat - H5STAT-h5stat_newgrat-UG - H5STAT-h5stat_newgrat-UA - H5DUMP-tgroup-1 - H5DUMP-tgroup-2 - #H5DUMP-tdset-1 - #H5DUMP-tdset-2 - H5DUMP-tattr-1 - H5DUMP-tattr-2 - H5DUMP-tattr-3 - H5DUMP-tnamed_dtype_attr - H5DUMP-tslink-1 - H5DUMP-tudlink-1 - H5DUMP-tslink-2 - H5DUMP-tudlink-2 - H5DUMP-thlink-1 - H5DUMP-thlink-2 - H5DUMP-thlink-3 - H5DUMP-thlink-4 - H5DUMP-thlink-5 - H5DUMP-tcomp-1 - H5DUMP-tcomp-2 - H5DUMP-tcomp-4 - H5DUMP-tnestcomp-1 - H5DUMP-tall-1 - H5DUMP-tall-2 - H5DUMP-tall-3 - H5DUMP-tloop-1 - H5DUMP-tstr-1 - H5DUMP-tstr-2 - H5DUMP-tsaf - H5DUMP-tvldtypes1 - H5DUMP-tvldtypes2 - H5DUMP-tvldtypes3 - H5DUMP-tvldtypes4 - H5DUMP-tvldtypes5 - H5DUMP-tvlstr - H5DUMP-tarray1 - H5DUMP-tarray2 - H5DUMP-tarray3 - H5DUMP-tarray4 - H5DUMP-tarray5 - H5DUMP-tarray6 - H5DUMP-tarray7 - H5DUMP-tarray8 - H5DUMP-tempty - H5DUMP-tgrp_comments - H5DUMP-tsplit_file - H5DUMP-tfamily - H5DUMP-tmulti - H5DUMP-tlarge_objname - H5DUMP-tall-2A - H5DUMP-tall-2B - H5DUMP-tall-4s - H5DUMP-tall-5s - H5DUMP-tdset-3s - H5DUMP-tchar1 - H5DUMP-tboot1 - H5DUMP-tboot2 - H5DUMP-tperror - H5DUMP-tcontents - H5DUMP-tcompact - H5DUMP-tcontiguos - H5DUMP-tchunked - H5DUMP-texternal - H5DUMP-tfill - H5DUMP-treference - H5DUMP-tstringe - H5DUMP-tstring - H5DUMP-tstring2 - H5DUMP-tindicesyes - H5DUMP-tindicesno - H5DUMP-tindicessub1 - H5DUMP-tindicessub2 - H5DUMP-tindicessub3 - H5DUMP-tindicessub4 - H5DUMP-tszip - H5DUMP-tdeflate - H5DUMP-tshuffle - H5DUMP-tfletcher32 - H5DUMP-tnbit - H5DUMP-tscaleoffset - H5DUMP-tallfilters - H5DUMP-tuserfilter - H5DUMP-tlonglinks - H5DUMP-tbigdims - H5DUMP-thyperslab - H5DUMP-tnullspace - H5DUMP-tvms - H5DUMP-tbin1LE - H5DUMP-tbin1 - #H5DUMP-h5import-out1 - H5DUMP-tbin2 - H5DUMP-tbin3 - H5DUMP-h5import-out3 - H5DUMP-tbin4 - H5DUMP-tdatareg - H5DUMP-tdataregR - H5DUMP-tattrreg - H5DUMP-tattrregR - #H5DUMP-output-tbinregR - #H5DUMP-output-cmp-tbinregR - H5DUMP-tordergr1 - H5DUMP-tordergr2 - H5DUMP-tordergr3 - H5DUMP-tordergr4 - H5DUMP-tordergr5 - H5DUMP-torderattr1 - H5DUMP-torderattr2 - H5DUMP-torderattr3 - H5DUMP-torderattr4 - H5DUMP-tfpformat - H5DUMP-textlinksrc - H5DUMP-textlinkfar - H5DUMP-tnofilename-with-packed-bits - H5DUMP-tpbitsSigned - H5DUMP-tpbitsUnsigned - H5DUMP-tpbitsOverlapped - H5DUMP-tpbitsMax - H5DUMP-tpbitsCompound - H5DUMP-tpbitsArray - H5DUMP-tpbitsMaxExceeded - H5DUMP-tpbitsOffsetExceeded - H5DUMP-tpbitsOffsetNegative - H5DUMP-tpbitsLengthPositive - H5DUMP-tpbitsLengthExceeded - H5DUMP-tpbitsIncomplete - H5DUMP-XML-tall.h5 - H5DUMP-XML-tattr.h5 - H5DUMP-XML-tbitfields.h5 - H5DUMP-XML-tcompound.h5 - H5DUMP-XML-tcompound2.h5 - H5DUMP-XML-tdatareg.h5 - H5DUMP-XML-tdset.h5 - H5DUMP-XML-tdset2.h5 - H5DUMP-XML-tenum.h5 - H5DUMP-XML-tgroup.h5 - H5DUMP-XML-thlink.h5 - H5DUMP-XML-tloop.h5 - H5DUMP-XML-tloop2.h5 - H5DUMP-XML-tmany.h5 - H5DUMP-XML-tnestedcomp.h5 - H5DUMP-XML-tcompound_complex.h5 - H5DUMP-XML-tobjref.h5 - H5DUMP-XML-topaque.h5 - H5DUMP-XML-tslink.h5 - H5DUMP-XML-tudlink.h5 - H5DUMP-XML-textlink.h5 - H5DUMP-XML-tstr.h5 - H5DUMP-XML-tstr2.h5 - H5DUMP-XML-tref.h5 - H5DUMP-XML-tname-amp.h5 - H5DUMP-XML-tname-apos.h5 - H5DUMP-XML-tname-gt.h5 - H5DUMP-XML-tname-lt.h5 - H5DUMP-XML-tname-quot.h5 - H5DUMP-XML-tname-sp.h5 - H5DUMP-XML-tstring.h5 - H5DUMP-XML-tstring-at.h5 - H5DUMP-XML-tref-escapes.h5 - H5DUMP-XML-tref-escapes-at.h5 - H5DUMP-XML-tnodata.h5 - H5DUMP-XML-tarray1.h5 - H5DUMP-XML-tarray2.h5 - H5DUMP-XML-tarray3.h5 - H5DUMP-XML-tarray6.h5 - H5DUMP-XML-tarray7.h5 - H5DUMP-XML-tvldtypes1.h5 - H5DUMP-XML-tvldtypes2.h5 - H5DUMP-XML-tvldtypes3.h5 - H5DUMP-XML-tvldtypes4.h5 - H5DUMP-XML-tvldtypes5.h5 - H5DUMP-XML-tvlstr.h5 - H5DUMP-XML-tsaf.h5 - H5DUMP-XML-tempty.h5 - H5DUMP-XML-tnamed_dtype_attr.h5 - H5DUMP-XML-tempty-dtd.h5 - H5DUMP-XML-tempty-dtd-2.h5 - H5DUMP-XML-tempty-nons.h5 - H5DUMP-XML-tempty-nons-2.h5 - H5DUMP-XML-tempty-ns.h5 - H5DUMP-XML-tempty-ns-2.h5 - H5DUMP-XML-tempty-nons-uri.h5 - H5DUMP-XML-tempty-dtd-uri.h5 - H5DUMP-XML-tall-2A.h5 - H5DUMP-XML-torderattr1.h5 - H5DUMP-XML-torderattr2.h5 - H5DUMP-XML-torderattr3.h5 - H5DUMP-XML-torderattr4.h5 - H5DUMP-XML-tfpformat.h5 + H5MKGRP-h5mkgrp_nested_mult_latest-lp #uses runTest.cmake + H5MKGRP-H5LS-h5mkgrp_nested_mult_latest-lp #uses runTest.cmake ) diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake index fc479d7..cea7bf9 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -282,22 +282,21 @@ ENDIF (H5_HAVE_STDINT_H AND CMAKE_CXX_COMPILER_LOADED) # Check for large file support #----------------------------------------------------------------------------- +# The linux-lfs option is deprecated. SET (LINUX_LFS 0) + SET (HDF5_EXTRA_FLAGS) IF (CMAKE_SYSTEM MATCHES "Linux-([3-9]\\.[0-9]|2\\.[4-9])\\.") # Linux Specific flags - ADD_DEFINITIONS (-D_POSIX_SOURCE -D_BSD_SOURCE) + SET (HDF5_EXTRA_FLAGS -D_POSIX_SOURCE -D_BSD_SOURCE) OPTION (HDF5_ENABLE_LARGE_FILE "Enable support for large (64-bit) files on Linux." ON) IF (HDF5_ENABLE_LARGE_FILE) SET (LARGEFILE 1) - SET (HDF5_EXTRA_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE) - SET (CMAKE_REQUIRED_DEFINITIONS ${HDF5_EXTRA_FLAGS}) + SET (HDF5_EXTRA_FLAGS ${HDF5_EXTRA_FLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE) ENDIF (HDF5_ENABLE_LARGE_FILE) + SET (CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} ${HDF5_EXTRA_FLAGS}) ENDIF (CMAKE_SYSTEM MATCHES "Linux-([3-9]\\.[0-9]|2\\.[4-9])\\.") -IF (LINUX_LFS) - SET (HDF5_EXTRA_FLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE) - SET (CMAKE_REQUIRED_DEFINITIONS ${HDF5_EXTRA_FLAGS}) -ENDIF (LINUX_LFS) + ADD_DEFINITIONS (${HDF5_EXTRA_FLAGS}) #----------------------------------------------------------------------------- @@ -419,6 +418,15 @@ CHECK_FUNCTION_EXISTS (fstat64 H5_HAVE_FSTAT64) CHECK_FUNCTION_EXISTS (stat64 H5_HAVE_STAT64) #----------------------------------------------------------------------------- +# sigsetjmp is special; may actually be a macro +IF (NOT H5_HAVE_SIGSETJMP) + IF (H5_HAVE_SETJMP_H) + CHECK_SYMBOL_EXISTS (sigsetjmp "setjmp.h" H5_HAVE_MACRO_SIGSETJMP) + IF (H5_HAVE_MACRO_SIGSETJMP) + SET (H5_HAVE_SIGSETJMP 1) + ENDIF (H5_HAVE_MACRO_SIGSETJMP) + ENDIF (H5_HAVE_SETJMP_H) +ENDIF (NOT H5_HAVE_SIGSETJMP) #----------------------------------------------------------------------------- # Since gettimeofday is not defined any where standard, lets look in all the @@ -434,6 +442,7 @@ IF (NOT MSVC) ) IF (HAVE_TIME_GETTIMEOFDAY STREQUAL "TRUE") SET (H5_HAVE_TIME_GETTIMEOFDAY "1" CACHE INTERNAL "H5_HAVE_TIME_GETTIMEOFDAY") + SET (H5_HAVE_GETTIMEOFDAY "1" CACHE INTERNAL "H5_HAVE_GETTIMEOFDAY") ENDIF (HAVE_TIME_GETTIMEOFDAY STREQUAL "TRUE") ENDIF ("H5_HAVE_TIME_GETTIMEOFDAY" MATCHES "^H5_HAVE_TIME_GETTIMEOFDAY$") @@ -446,19 +455,19 @@ IF (NOT MSVC) ) IF (HAVE_SYS_TIME_GETTIMEOFDAY STREQUAL "TRUE") SET (H5_HAVE_SYS_TIME_GETTIMEOFDAY "1" CACHE INTERNAL "H5_HAVE_SYS_TIME_GETTIMEOFDAY") + SET (H5_HAVE_GETTIMEOFDAY "1" CACHE INTERNAL "H5_HAVE_GETTIMEOFDAY") ENDIF (HAVE_SYS_TIME_GETTIMEOFDAY STREQUAL "TRUE") ENDIF ("H5_HAVE_SYS_TIME_GETTIMEOFDAY" MATCHES "^H5_HAVE_SYS_TIME_GETTIMEOFDAY$") -ENDIF (NOT MSVC) - -IF (NOT HAVE_SYS_TIME_GETTIMEOFDAY AND NOT H5_HAVE_GETTIMEOFDAY AND NOT MSVC) - MESSAGE (STATUS "---------------------------------------------------------------") - MESSAGE (STATUS "Function 'gettimeofday()' was not found. HDF5 will use its") - MESSAGE (STATUS " own implementation.. This can happen on older versions of") - MESSAGE (STATUS " MinGW on Windows. Consider upgrading your MinGW installation") - MESSAGE (STATUS " to a newer version such as MinGW 3.12") - MESSAGE (STATUS "---------------------------------------------------------------") -ENDIF (NOT HAVE_SYS_TIME_GETTIMEOFDAY AND NOT H5_HAVE_GETTIMEOFDAY AND NOT MSVC) + IF (NOT HAVE_SYS_TIME_GETTIMEOFDAY AND NOT H5_HAVE_GETTIMEOFDAY) + MESSAGE (STATUS "---------------------------------------------------------------") + MESSAGE (STATUS "Function 'gettimeofday()' was not found. HDF5 will use its") + MESSAGE (STATUS " own implementation.. This can happen on older versions of") + MESSAGE (STATUS " MinGW on Windows. Consider upgrading your MinGW installation") + MESSAGE (STATUS " to a newer version such as MinGW 3.12") + MESSAGE (STATUS "---------------------------------------------------------------") + ENDIF (NOT HAVE_SYS_TIME_GETTIMEOFDAY AND NOT H5_HAVE_GETTIMEOFDAY) +ENDIF (NOT MSVC) # Check for Symbols CHECK_SYMBOL_EXISTS (tzname "time.h" H5_HAVE_DECL_TZNAME) @@ -506,11 +515,11 @@ MACRO (HDF5_FUNCTION_TEST OTHER_TEST) ENDIF ("${def}") ENDFOREACH (def) - IF (LINUX_LFS) + IF (LARGEFILE) SET (MACRO_CHECK_FUNCTION_DEFINITIONS "${MACRO_CHECK_FUNCTION_DEFINITIONS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE" ) - ENDIF (LINUX_LFS) + ENDIF (LARGEFILE) # (STATUS "Performing ${OTHER_TEST}") TRY_COMPILE (${OTHER_TEST} diff --git a/config/cmake/FindHDF5.cmake b/config/cmake/FindHDF5.cmake index 4e448ca..a705d5b 100644 --- a/config/cmake/FindHDF5.cmake +++ b/config/cmake/FindHDF5.cmake @@ -15,11 +15,12 @@ # HDF5_VERSION_MINOR - minor part (e.g. 5)
#
# The following boolean vars will be defined
-# HDF5_ENABLE_PARALLEL - 1 if HDF5 parallel supported
-# HDF5_BUILD_FORTRAN - 1 if HDF5 was compiled with fortran on
-# HDF5_BUILD_CPP_LIB - 1 if HDF5 was compiled with cpp on
-# HDF5_BUILD_TOOLS - 1 if HDF5 was compiled with tools on
-# HDF5_BUILD_HL_LIB - 1 if HDF5 was compiled with parallel on
+# HDF5_ENABLE_PARALLEL - 1 if HDF5 parallel supported
+# HDF5_BUILD_FORTRAN - 1 if HDF5 was compiled with fortran on
+# HDF5_BUILD_CPP_LIB - 1 if HDF5 was compiled with cpp on
+# HDF5_BUILD_TOOLS - 1 if HDF5 was compiled with tools on
+# HDF5_BUILD_HL_LIB - 1 if HDF5 was compiled with high level on
+# HDF5_BUILD_HL_CPP_LIB - 1 if HDF5 was compiled with high level and cpp on
#
# Target names that are valid (depending on enabled options)
# will be the following
@@ -35,22 +36,50 @@ # hdf5_hl_cpp : High Level cpp interface library
#
# To aid in finding HDF5 as part of a subproject set
-# HDF5_ROOT_DIR_HINT to the location where HDF5-config.cmake lies
+# HDF5_ROOT_DIR_HINT to the location where hdf5-config.cmake lies
-FIND_PATH (HDF5_ROOT_DIR "HDF5-config.cmake"
- ${HDF5_ROOT_DIR_HINT}
- /usr/local/lib
- /usr/local/lib64
- /usr/lib
- /usr/lib64
- "C:/Program Files/HDF5/lib"
+INCLUDE (SelectLibraryConfigurations)
+INCLUDE (FindPackageHandleStandardArgs)
+
+# The HINTS option should only be used for values computed from the system.
+SET (_HDF5_HINTS
+ $ENV{HOME}/.local
+ $ENV{HDF5_ROOT}
+ $ENV{HDF5_ROOT_DIR_HINT}
+)
+# Hard-coded guesses should still go in PATHS. This ensures that the user
+# environment can always override hard guesses.
+SET (_HDF5_PATHS
+ $ENV{HOME}/.local
+ $ENV{HDF5_ROOT}
+ $ENV{HDF5_ROOT_DIR_HINT}
+ /usr/lib/hdf5
+ /usr/share/hdf5
+ /usr/local/hdf5
+ /usr/local/hdf5/share
)
-FIND_PATH (HDF5_INCLUDE_DIR "H5public.h"
- ${HDF5_ROOT_DIR}/../include
+FIND_PATH (HDF5_ROOT_DIR "hdf5-config.cmake"
+ HINTS ${_HDF5_HINTS}
+ PATHS ${_HDF5_PATHS}
+ PATH_SUFFIXES
+ lib/cmake/hdf5-1.9
+ share/cmake/hdf5-1.9
)
+FIND_PATH (HDF5_INCLUDE_DIRS "H5public.h"
+ HINTS ${_HDF5_HINTS}
+ PATHS ${_HDF5_PATHS}
+ PATH_SUFFIXES
+ include
+ Include
+)
+
+# For backwards compatibility we set HDF5_INCLUDE_DIR to the value of
+# HDF5_INCLUDE_DIRS
+SET ( HDF5_INCLUDE_DIR "${HDF5_INCLUDE_DIRS}" )
+
IF (HDF5_INCLUDE_DIR)
SET (HDF5_FOUND "YES")
- INCLUDE (${HDF5_ROOT_DIR}/HDF5-config.cmake)
+ INCLUDE (${HDF5_ROOT_DIR}/hdf5-config.cmake)
ENDIF (HDF5_INCLUDE_DIR)
diff --git a/config/cmake/H5pubconf.h.in b/config/cmake/H5pubconf.h.in index 0c2b084..0dbd1ec 100644 --- a/config/cmake/H5pubconf.h.in +++ b/config/cmake/H5pubconf.h.in @@ -16,12 +16,21 @@ /* Defined if HDF5 was built with CMake AND build as a shared library */ #cmakedefine H5_BUILT_AS_DYNAMIC_LIB @H5_BUILT_AS_DYNAMIC_LIB@ +/* Defined if HDF5 was built with CMake AND build as a static library */ +#cmakedefine H5_BUILT_AS_STATIC_LIB @H5_BUILT_AS_STATIC_LIB@ + /* Defined if HDF5 CPP was built with CMake AND build as a shared library */ #cmakedefine H5_CPP_BUILT_AS_DYNAMIC_LIB @H5_CPP_BUILT_AS_DYNAMIC_LIB@ +/* Defined if HDF5 CPP was built with CMake AND build as a static library */ +#cmakedefine H5_CPP_BUILT_AS_STATIC_LIB @H5_CPP_BUILT_AS_STATIC_LIB@ + /* Defined if HDF5 HL was built with CMake AND build as a shared library */ #cmakedefine H5_HL_BUILT_AS_DYNAMIC_LIB @H5_HL_BUILT_AS_DYNAMIC_LIB@ +/* Defined if HDF5 HL was built with CMake AND build as a static library */ +#cmakedefine H5_HL_BUILT_AS_STATIC_LIB @H5_HL_BUILT_AS_STATIC_LIB@ + /* Define if building universal (internal helper macro) */ #cmakedefine H5_AC_APPLE_UNIVERSAL_BUILD @H5_AC_APPLE_UNIVERSAL_BUILD@ @@ -188,7 +197,7 @@ /* Define to 1 if you have the `gettimeofday' function declared in time.h . */ #cmakedefine H5_HAVE_TIME_GETTIMEOFDAY @H5_HAVE_TIME_GETTIMEOFDAY@ -/* Define to 1 if you have the `gettimeofday' function declared in time.h . */ +/* Define to 1 if you have the `gettimeofday' function declared in sys/time.h . */ #cmakedefine H5_HAVE_SYS_TIME_GETTIMEOFDAY @H5_HAVE_SYS_TIME_GETTIMEOFDAY@ /* Define to 1 if you have the `get_fpc_csr' function. */ @@ -291,6 +300,9 @@ /* Define to 1 if you have the `rand_r' function. */ #cmakedefine H5_HAVE_RAND_R @H5_HAVE_RAND_R@ +/* Define to 1 if you have the `sigsetjmp' function. */ +#cmakedefine H5_HAVE_SETJMP @H5_HAVE_SETJMP@ + /* Define to 1 if you have the <setjmp.h> header file. */ #cmakedefine H5_HAVE_SETJMP_H @H5_HAVE_SETJMP_H@ @@ -306,6 +318,12 @@ /* Define to 1 if you have the `signal' function. */ #cmakedefine H5_HAVE_SIGNAL @H5_HAVE_SIGNAL@ +/* Define to 1 if you have the `sigprocmask' function. */ +#cmakedefine H5_HAVE_SIGPROCMASK @H5_HAVE_SIGPROCMASK@ + +/* Define to 1 if you have the `sigsetjmp' function. */ +#cmakedefine H5_HAVE_SIGSETJMP @H5_HAVE_SIGSETJMP@ + /* Define to 1 if you have the `snprintf' function. */ #cmakedefine H5_HAVE_SNPRINTF @H5_HAVE_SNPRINTF@ @@ -345,7 +363,7 @@ /* Define if `struct timezone' is defined */ #cmakedefine H5_HAVE_STRUCT_TIMEZONE @H5_HAVE_STRUCT_TIMEZONE@ -/* Define to 1 if `struct tm' is a member of `tm_zone'. */ +/* Define to 1 if `tm_zone' is a member of `struct tm'. */ #cmakedefine H5_HAVE_STRUCT_TM_TM_ZONE @H5_HAVE_STRUCT_TM_TM_ZONE@ /* Define if `struct videoconfig' is defined */ @@ -470,6 +488,10 @@ values correctly. */ #cmakedefine H5_LDOUBLE_TO_LLONG_ACCURATE @H5_LDOUBLE_TO_LLONG_ACCURATE@ +/* Define if your system converts long double to (unsigned) long values with + special algorithm. */ +#cmakedefine H5_LDOUBLE_TO_LONG_SPECIAL @H5_LDOUBLE_TO_LONG_SPECIAL@ + /* Define if your system can convert long double to unsigned int values correctly. */ #cmakedefine H5_LDOUBLE_TO_UINT_ACCURATE @H5_LDOUBLE_TO_UINT_ACCURATE@ @@ -481,6 +503,10 @@ values correctly. */ #cmakedefine H5_LLONG_TO_LDOUBLE_CORRECT @H5_LLONG_TO_LDOUBLE_CORRECT@ +/* Define if your system can convert (unsigned) long to long double values + with special algorithm. */ +#cmakedefine H5_LONG_TO_LDOUBLE_SPECIAL @H5_LONG_TO_LDOUBLE_SPECIAL@ + /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #cmakedefine H5_LT_OBJDIR @H5_LT_OBJDIR@ @@ -620,6 +646,9 @@ /* The size of `off_t', as computed by sizeof. */ #define H5_SIZEOF_OFF_T @H5_SIZEOF_OFF_T@ +/* The size of `ptrdiff_t', as computed by sizeof. */ +/* #define H5_SIZEOF_PTRDIFF_T @H5_SIZEOF_PTRDIFF_T@ */ + /* The size of `short', as computed by sizeof. */ #define H5_SIZEOF_SHORT @H5_SIZEOF_SHORT@ @@ -730,6 +759,12 @@ # endif #endif +/* Number of bits in a file offset, on hosts where this is settable. */ +#cmakedefine _FILE_OFFSET_BITS + +/* Define for large files, on AIX-style hosts. */ +#cmakedefine _LARGE_FILES + /* Define to empty if `const' does not conform to ANSI C. */ #cmakedefine H5_const @@ -742,6 +777,9 @@ /* Define to `long int' if <sys/types.h> does not define. */ #cmakedefine H5_off_t +/* Define to `long' if <sys/types.h> does not define. */ +#cmakedefine H5_ptrdiff_t + /* Define to `unsigned long' if <sys/types.h> does not define. */ #cmakedefine H5_size_t diff --git a/config/cmake/HDF5Macros.cmake b/config/cmake/HDF5Macros.cmake index a20e3b5..3edb3a2 100644 --- a/config/cmake/HDF5Macros.cmake +++ b/config/cmake/HDF5Macros.cmake @@ -34,16 +34,16 @@ MACRO (IDE_SOURCE_PROPERTIES SOURCE_PATH HEADERS SOURCES) ENDMACRO (IDE_SOURCE_PROPERTIES) #------------------------------------------------------------------------------- -MACRO (H5_NAMING target) +MACRO (H5_NAMING target libtype) IF (WIN32 AND NOT MINGW) - IF (BUILD_SHARED_LIBS) + IF (${libtype} MATCHES "SHARED") IF (H5_LEGACY_NAMING) SET_TARGET_PROPERTIES (${target} PROPERTIES OUTPUT_NAME "dll") SET_TARGET_PROPERTIES (${target} PROPERTIES PREFIX "${target}") ELSE (H5_LEGACY_NAMING) SET_TARGET_PROPERTIES (${target} PROPERTIES OUTPUT_NAME "${target}dll") ENDIF (H5_LEGACY_NAMING) - ENDIF (BUILD_SHARED_LIBS) + ENDIF (${libtype} MATCHES "SHARED") ENDIF (WIN32 AND NOT MINGW) ENDMACRO (H5_NAMING) @@ -73,8 +73,14 @@ MACRO (H5_SET_LIB_OPTIONS libtarget libname libtype) SET (LIB_DEBUG_NAME "lib${libname}_D") ENDIF (H5_LEGACY_NAMING) ELSE (WIN32 AND NOT MINGW) - SET (LIB_RELEASE_NAME "lib${libname}") - SET (LIB_DEBUG_NAME "lib${libname}_debug") + # if the generator supports configuration types or if the CMAKE_BUILD_TYPE has a value + IF (CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE) + SET (LIB_RELEASE_NAME "${libname}") + SET (LIB_DEBUG_NAME "${libname}_debug") + ELSE (CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE) + SET (LIB_RELEASE_NAME "lib${libname}") + SET (LIB_DEBUG_NAME "lib${libname}_debug") + ENDIF (CMAKE_CONFIGURATION_TYPES OR CMAKE_BUILD_TYPE) ENDIF (WIN32 AND NOT MINGW) ENDIF (${libtype} MATCHES "SHARED") @@ -87,16 +93,16 @@ MACRO (H5_SET_LIB_OPTIONS libtarget libname libtype) ) #----- Use MSVC Naming conventions for Shared Libraries - IF (MINGW AND BUILD_SHARED_LIBS) + IF (MINGW AND ${libtype} MATCHES "SHARED") SET_TARGET_PROPERTIES (${libtarget} PROPERTIES IMPORT_SUFFIX ".lib" IMPORT_PREFIX "" PREFIX "" ) - ENDIF (MINGW AND BUILD_SHARED_LIBS) + ENDIF (MINGW AND ${libtype} MATCHES "SHARED") - IF (BUILD_SHARED_LIBS) + IF (${libtype} MATCHES "SHARED") IF (WIN32) SET (LIBHDF_VERSION ${HDF5_PACKAGE_VERSION_MAJOR}) ELSE (WIN32) @@ -104,7 +110,7 @@ MACRO (H5_SET_LIB_OPTIONS libtarget libname libtype) ENDIF (WIN32) SET_TARGET_PROPERTIES (${libtarget} PROPERTIES VERSION ${LIBHDF_VERSION}) SET_TARGET_PROPERTIES (${libtarget} PROPERTIES SOVERSION ${LIBHDF_VERSION}) - ENDIF (BUILD_SHARED_LIBS) + ENDIF (${libtype} MATCHES "SHARED") #-- Apple Specific install_name for libraries IF (APPLE) @@ -121,40 +127,15 @@ MACRO (H5_SET_LIB_OPTIONS libtarget libname libtype) ENDMACRO (H5_SET_LIB_OPTIONS) #------------------------------------------------------------------------------- -MACRO (TARGET_WIN_PROPERTIES target) +MACRO (TARGET_FORTRAN_WIN_PROPERTIES target addlinkflags) IF (WIN32) IF (MSVC) - IF (NOT BUILD_SHARED_LIBS) - SET_TARGET_PROPERTIES (${target} - PROPERTIES - LINK_FLAGS "/NODEFAULTLIB:MSVCRT" - LINK_FLAGS_DEBUG "/NODEFAULTLIB:MSVCRTD" - ) - ENDIF (NOT BUILD_SHARED_LIBS) + SET_TARGET_PROPERTIES (${target} + PROPERTIES + COMPILE_FLAGS "/dll" + LINK_FLAGS "/SUBSYSTEM:CONSOLE ${addlinkflags}" + ) ENDIF (MSVC) ENDIF (WIN32) -ENDMACRO (TARGET_WIN_PROPERTIES) - -#------------------------------------------------------------------------------- -MACRO (TARGET_FORTRAN_WIN_PROPERTIES target) - IF (WIN32) - IF (BUILD_SHARED_LIBS) - IF (MSVC) - SET_TARGET_PROPERTIES (${target} - PROPERTIES - COMPILE_FLAGS "/dll" - LINK_FLAGS "/SUBSYSTEM:CONSOLE" - ) - ENDIF (MSVC) - ELSE (BUILD_SHARED_LIBS) - IF (MSVC) - SET_TARGET_PROPERTIES (${target} - PROPERTIES - LINK_FLAGS "/NODEFAULTLIB:MSVCRT" - LINK_FLAGS_DEBUG "/NODEFAULTLIB:MSVCRTD" - ) - ENDIF (MSVC) - ENDIF (BUILD_SHARED_LIBS) - ENDIF (WIN32) ENDMACRO (TARGET_FORTRAN_WIN_PROPERTIES) diff --git a/config/cmake/HDF5UseFortran.cmake b/config/cmake/HDF5UseFortran.cmake new file mode 100644 index 0000000..1f429f5 --- /dev/null +++ b/config/cmake/HDF5UseFortran.cmake @@ -0,0 +1,121 @@ +# +# This file provides functions for Fortran support. +# +#------------------------------------------------------------------------------- +ENABLE_LANGUAGE (Fortran) + +#----------------------------------------------------------------------------- +# Detect name mangling convention used between Fortran and C +#----------------------------------------------------------------------------- +INCLUDE (FortranCInterface) +FortranCInterface_HEADER ( + ${CMAKE_BINARY_DIR}/FCMangle.h + MACRO_NAMESPACE "H5_FC_" + SYMBOL_NAMESPACE "H5_FC_" + SYMBOLS mysub mymod:my_sub +) + +FILE (STRINGS ${CMAKE_BINARY_DIR}/FCMangle.h CONTENTS REGEX "H5_FC_GLOBAL\\(.*,.*\\) +(.*)") +STRING (REGEX MATCH "H5_FC_GLOBAL\\(.*,.*\\) +(.*)" RESULT ${CONTENTS}) +SET (H5_FC_FUNC "H5_FC_FUNC(name,NAME) ${CMAKE_MATCH_1}") + +FILE (STRINGS ${CMAKE_BINARY_DIR}/FCMangle.h CONTENTS REGEX "H5_FC_GLOBAL_\\(.*,.*\\) +(.*)") +STRING (REGEX MATCH "H5_FC_GLOBAL_\\(.*,.*\\) +(.*)" RESULT ${CONTENTS}) +SET (H5_FC_FUNC_ "H5_FC_FUNC_(name,NAME) ${CMAKE_MATCH_1}") + +#----------------------------------------------------------------------------- +# The provided CMake Fortran macros don't provide a general check function +# so this one is used for a sizeof test. +#----------------------------------------------------------------------------- +MACRO (CHECK_FORTRAN_FEATURE FUNCTION CODE VARIABLE) + IF (NOT DEFINED ${VARIABLE}) + MESSAGE (STATUS "Testing Fortran ${FUNCTION}") + IF (CMAKE_REQUIRED_LIBRARIES) + SET (CHECK_FUNCTION_EXISTS_ADD_LIBRARIES + "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}") + ELSE (CMAKE_REQUIRED_LIBRARIES) + SET (CHECK_FUNCTION_EXISTS_ADD_LIBRARIES) + ENDIF (CMAKE_REQUIRED_LIBRARIES) + FILE (WRITE + ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompiler.f + "${CODE}" + ) + TRY_COMPILE (${VARIABLE} + ${CMAKE_BINARY_DIR} + ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testFortranCompiler.f + CMAKE_FLAGS "${CHECK_FUNCTION_EXISTS_ADD_LIBRARIES}" + OUTPUT_VARIABLE OUTPUT + ) + +# MESSAGE ( "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ") +# MESSAGE ( "Test result ${OUTPUT}") +# MESSAGE ( "* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ") + + IF (${VARIABLE}) + SET (${VARIABLE} 1 CACHE INTERNAL "Have Fortran function ${FUNCTION}") + MESSAGE (STATUS "Testing Fortran ${FUNCTION} - OK") + FILE (APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log + "Determining if the Fortran ${FUNCTION} exists passed with the following output:\n" + "${OUTPUT}\n\n" + ) + ELSE (${VARIABLE}) + MESSAGE (STATUS "Testing Fortran ${FUNCTION} - Fail") + SET (${VARIABLE} "" CACHE INTERNAL "Have Fortran function ${FUNCTION}") + FILE (APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log + "Determining if the Fortran ${FUNCTION} exists failed with the following output:\n" + "${OUTPUT}\n\n") + ENDIF (${VARIABLE}) + ENDIF (NOT DEFINED ${VARIABLE}) +ENDMACRO (CHECK_FORTRAN_FEATURE) + +#----------------------------------------------------------------------------- +# Configure Checks which require Fortran compilation must go in here +# not in the main ConfigureChecks.cmake files, because if the user has +# no Fortran compiler, problems arise. +# +# Be careful with leading spaces here, do not remove them. +#----------------------------------------------------------------------------- +CHECK_FORTRAN_FEATURE(sizeof + " + PROGRAM main + i = sizeof(x) + END PROGRAM + " + FORTRAN_HAVE_SIZEOF +) + +CHECK_FORTRAN_FEATURE(RealIsNotDouble + " + MODULE type_mod + INTERFACE h5t + MODULE PROCEDURE h5t_real + MODULE PROCEDURE h5t_dble + END INTERFACE + CONTAINS + SUBROUTINE h5t_real(r) + REAL :: r + END SUBROUTINE h5t_real + SUBROUTINE h5t_dble(d) + DOUBLE PRECISION :: d + END SUBROUTINE h5t_dble + END MODULE type_mod + PROGRAM main + USE type_mod + REAL :: r + DOUBLE PRECISION :: d + CALL h5t(r) + CALL h5t(d) + END PROGRAM main + " + FORTRAN_DEFAULT_REAL_NOT_DOUBLE +) + +#----------------------------------------------------------------------------- +# Add debug information (intel Fortran : JB) +#----------------------------------------------------------------------------- +IF (CMAKE_Fortran_COMPILER MATCHES ifort) + IF (WIN32) + SET (CMAKE_Fortran_FLAGS_DEBUG "/debug:full /dbglibs " CACHE "flags" STRING FORCE) + SET (CMAKE_EXE_LINKER_FLAGS_DEBUG "/DEBUG" CACHE "flags" STRING FORCE) + ENDIF (WIN32) +ENDIF (CMAKE_Fortran_COMPILER MATCHES ifort) diff --git a/config/cmake/cacheinit.cmake b/config/cmake/cacheinit.cmake index 7ca38e1..3375c2b 100755 --- a/config/cmake/cacheinit.cmake +++ b/config/cmake/cacheinit.cmake @@ -18,18 +18,38 @@ SET (HDF5_BUILD_HL_LIB ON CACHE BOOL "Build HIGH Level HDF5 Library" FORCE) SET (HDF5_BUILD_TOOLS ON CACHE BOOL "Build HDF5 Tools" FORCE)
-SET (HDF5_DISABLE_COMPILER_WARNINGS OFF CACHE BOOL "Disable compiler warnings" FORCE)
+SET (HDF5_ENABLE_Z_LIB_SUPPORT ON CACHE BOOL "Enable Zlib Filters" FORCE)
+
+SET (HDF5_ENABLE_SZIP_SUPPORT ON CACHE BOOL "Use SZip Filter" FORCE)
+
+SET (HDF5_ENABLE_SZIP_ENCODING ON CACHE BOOL "Use SZip Encoding" FORCE)
+
+SET (HDF5_USE_H5DUMP_PACKED_BITS OFF CACHE BOOL "Use the PACKED BITS feature in h5dump" FORCE)
SET (HDF5_ENABLE_HSIZET ON CACHE BOOL "Enable datasets larger than memory" FORCE)
+SET (HDF5_ENABLE_DEPRECATED_SYMBOLS ON CACHE BOOL "Enable deprecated public API symbols" FORCE)
+
SET (HDF5_ENABLE_PARALLEL OFF CACHE BOOL "Enable parallel build (requires MPI)" FORCE)
-SET (HDF5_ENABLE_SZIP_ENCODING ON CACHE BOOL "Use SZip Encoding" FORCE)
+SET (HDF5_ENABLE_COVERAGE OFF CACHE BOOL "Enable code coverage for Libraries and Programs" FORCE)
-SET (HDF5_ENABLE_SZIP_SUPPORT ON CACHE BOOL "Use SZip Filter" FORCE)
+SET (HDF5_ENABLE_USING_MEMCHECKER OFF CACHE BOOL "Indicate that a memory checker is used" FORCE)
-SET (HDF5_ENABLE_Z_LIB_SUPPORT ON CACHE BOOL "Enable Zlib Filters" FORCE)
+SET (HDF5_DISABLE_COMPILER_WARNINGS OFF CACHE BOOL "Disable compiler warnings" FORCE)
-SET (HDF5_USE_H5DUMP_PACKED_BITS OFF CACHE BOOL "Use the PACKED BITS feature in h5dump" FORCE)
+SET (HDF5_USE_16_API_DEFAULT OFF CACHE BOOL "Use the HDF5 1.6.x API by default" FORCE)
-SET (HDF5_ENABLE_COVERAGE OFF CACHE BOOL "Enable code coverage for Libraries and Programs" FORCE)
+SET (HDF5_ENABLE_THREADSAFE OFF CACHE BOOL "(WINDOWS)Enable Threadsafety" FORCE)
+
+SET (HDF5_PACKAGE_EXTLIBS OFF CACHE BOOL "(WINDOWS)CPACK - include external libraries" FORCE)
+
+SET (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building" FORCE)
+
+SET (ZLIB_SVN_URL "http://svn.hdfgroup.uiuc.edu/zlib/trunk" CACHE STRING "Use ZLib from HDF repository" FORCE)
+
+SET (SZIP_SVN_URL "http://svn.hdfgroup.uiuc.edu/szip/trunk" CACHE STRING "Use SZip from HDF repository" FORCE)
+
+SET (ZLIB_TGZ_NAME "ZLib.tar.gz" CACHE STRING "Use ZLib from compressed file" FORCE)
+
+SET (SZIP_TGZ_NAME "SZip.tar.gz" CACHE STRING "Use SZip from compressed file" FORCE)
diff --git a/config/cmake/grepTest.cmake b/config/cmake/grepTest.cmake index cc3a9b4..9b5148c 100644 --- a/config/cmake/grepTest.cmake +++ b/config/cmake/grepTest.cmake @@ -1,4 +1,4 @@ -# runTest.cmake executes a command and captures the output in a file. File is then compared +# grepTest.cmake executes a command and captures the output in a file. File is then compared # against a reference file. Exit status of command can also be compared. # arguments checking diff --git a/config/cmake/hdf5-config.cmake.build.in b/config/cmake/hdf5-config.cmake.build.in index 32bab7c..47a119a 100644 --- a/config/cmake/hdf5-config.cmake.build.in +++ b/config/cmake/hdf5-config.cmake.build.in @@ -11,6 +11,10 @@ SET (HDF5_BUILD_FORTRAN @HDF5_BUILD_FORTRAN@) SET (HDF5_BUILD_CPP_LIB @HDF5_BUILD_CPP_LIB@)
SET (HDF5_BUILD_TOOLS @HDF5_BUILD_TOOLS@)
SET (HDF5_BUILD_HL_LIB @HDF5_BUILD_HL_LIB@)
+SET (HDF5_ENABLE_Z_LIB_SUPPORT @HDF5_ENABLE_Z_LIB_SUPPORT@)
+SET (HDF5_ENABLE_SZIP_SUPPORT @HDF5_ENABLE_SZIP_SUPPORT@)
+SET (HDF5_ENABLE_SZIP_ENCODING @HDF5_ENABLE_SZIP_ENCODING@)
+SET (BUILD_SHARED_LIBS @BUILD_SHARED_LIBS@)
#-----------------------------------------------------------------------------
# Directories
@@ -29,6 +33,10 @@ IF (HDF5_BUILD_HL_LIB) SET (HDF5_INCLUDE_DIR_HL ${HDF5_INCLUDE_DIR} )
ENDIF (HDF5_BUILD_HL_LIB)
+IF (HDF5_BUILD_HL_LIB AND HDF5_BUILD_CPP_LIB)
+ SET (HDF5_INCLUDE_DIR_HL_CPP ${HDF5_INCLUDE_DIR} )
+ENDIF (HDF5_BUILD_HL_LIB AND HDF5_BUILD_CPP_LIB)
+
IF (HDF5_BUILD_TOOLS)
SET (HDF5_INCLUDE_DIR_TOOLS ${HDF5_INCLUDE_DIR} )
ENDIF (HDF5_BUILD_TOOLS)
diff --git a/config/cmake/hdf5-config.cmake.install.in b/config/cmake/hdf5-config.cmake.install.in index ba5ba9a..dadbeb6 100644 --- a/config/cmake/hdf5-config.cmake.install.in +++ b/config/cmake/hdf5-config.cmake.install.in @@ -11,6 +11,10 @@ SET (HDF5_BUILD_FORTRAN @HDF5_BUILD_FORTRAN@) SET (HDF5_BUILD_CPP_LIB @HDF5_BUILD_CPP_LIB@)
SET (HDF5_BUILD_TOOLS @HDF5_BUILD_TOOLS@)
SET (HDF5_BUILD_HL_LIB @HDF5_BUILD_HL_LIB@)
+SET (HDF5_ENABLE_Z_LIB_SUPPORT @HDF5_ENABLE_Z_LIB_SUPPORT@)
+SET (HDF5_ENABLE_SZIP_SUPPORT @HDF5_ENABLE_SZIP_SUPPORT@)
+SET (HDF5_ENABLE_SZIP_ENCODING @HDF5_ENABLE_SZIP_ENCODING@)
+SET (BUILD_SHARED_LIBS @BUILD_SHARED_LIBS@)
#-----------------------------------------------------------------------------
# Directories
@@ -29,6 +33,10 @@ IF (HDF5_BUILD_HL_LIB) SET (HDF5_INCLUDE_DIR_HL "@CMAKE_INSTALL_PREFIX@/include/hl" )
ENDIF (HDF5_BUILD_HL_LIB)
+IF (HDF5_BUILD_HL_LIB AND HDF5_BUILD_CPP_LIB)
+ SET (HDF5_INCLUDE_DIR_HL_CPP "@CMAKE_INSTALL_PREFIX@/include/hl/cpp" )
+ENDIF (HDF5_BUILD_HL_LIB AND HDF5_BUILD_CPP_LIB)
+
IF (HDF5_BUILD_TOOLS)
SET (HDF5_INCLUDE_DIR_TOOLS "@CMAKE_INSTALL_PREFIX@/include/tools" )
ENDIF (HDF5_BUILD_TOOLS)
diff --git a/config/cmake/libhdf5.settings.cmake.in b/config/cmake/libhdf5.settings.cmake.in index a3032e5..ba233e8 100644 --- a/config/cmake/libhdf5.settings.cmake.in +++ b/config/cmake/libhdf5.settings.cmake.in @@ -65,4 +65,4 @@ Clear file buffers before write: @CLEARFILEBUF@ GPFS: @GPFS@ Strict File Format Checks: @STRICT_FORMAT_CHECKS@ Optimization Instrumentation: @INSTRUMENT@ - Linux Large File Support (LFS): @LINUX_LFS@ + Large File Support (LFS): @LARGEFILE@ diff --git a/config/cmake/mccacheinit.cmake b/config/cmake/mccacheinit.cmake new file mode 100755 index 0000000..2086991 --- /dev/null +++ b/config/cmake/mccacheinit.cmake @@ -0,0 +1,58 @@ +# This is the CMakeCache file.
+
+########################
+# EXTERNAL cache entries
+########################
+
+SET (BUILD_SHARED_LIBS OFF CACHE BOOL "Build Shared Libraries" FORCE)
+
+SET (BUILD_TESTING ON CACHE BOOL "Build HDF5 Unit Testing" FORCE)
+
+SET (HDF5_BUILD_CPP_LIB ON CACHE BOOL "Build HDF5 C++ Library" FORCE)
+
+SET (HDF5_BUILD_EXAMPLES ON CACHE BOOL "Build HDF5 Library Examples" FORCE)
+
+SET (HDF5_BUILD_FORTRAN ON CACHE BOOL "Build FORTRAN support" FORCE)
+
+SET (HDF5_BUILD_HL_LIB ON CACHE BOOL "Build HIGH Level HDF5 Library" FORCE)
+
+SET (HDF5_BUILD_TOOLS ON CACHE BOOL "Build HDF5 Tools" FORCE)
+
+SET (HDF5_ENABLE_Z_LIB_SUPPORT ON CACHE BOOL "Enable Zlib Filters" FORCE)
+
+SET (HDF5_ENABLE_SZIP_SUPPORT ON CACHE BOOL "Use SZip Filter" FORCE)
+
+SET (HDF5_ENABLE_SZIP_ENCODING ON CACHE BOOL "Use SZip Encoding" FORCE)
+
+SET (HDF5_USE_H5DUMP_PACKED_BITS OFF CACHE BOOL "Use the PACKED BITS feature in h5dump" FORCE)
+
+SET (HDF5_ENABLE_HSIZET ON CACHE BOOL "Enable datasets larger than memory" FORCE)
+
+SET (HDF5_ENABLE_DEPRECATED_SYMBOLS ON CACHE BOOL "Enable deprecated public API symbols" FORCE)
+
+SET (HDF5_ENABLE_PARALLEL OFF CACHE BOOL "Enable parallel build (requires MPI)" FORCE)
+
+SET (HDF5_ENABLE_COVERAGE OFF CACHE BOOL "Enable code coverage for Libraries and Programs" FORCE)
+
+SET (HDF5_ENABLE_USING_MEMCHECKER ON CACHE BOOL "Indicate that a memory checker is used" FORCE)
+
+SET (HDF5_DISABLE_COMPILER_WARNINGS OFF CACHE BOOL "Disable compiler warnings" FORCE)
+
+SET (HDF5_USE_16_API_DEFAULT OFF CACHE BOOL "Use the HDF5 1.6.x API by default" FORCE)
+
+SET (HDF5_ENABLE_THREADSAFE OFF CACHE BOOL "(WINDOWS)Enable Threadsafety" FORCE)
+
+SET (HDF5_PACKAGE_EXTLIBS OFF CACHE BOOL "(WINDOWS)CPACK - include external libraries" FORCE)
+
+SET (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building" FORCE)
+
+SET (ZLIB_SVN_URL "http://svn.hdfgroup.uiuc.edu/zlib/trunk" CACHE STRING "Use ZLib from HDF repository" FORCE)
+
+SET (SZIP_SVN_URL "http://svn.hdfgroup.uiuc.edu/szip/trunk" CACHE STRING "Use SZip from HDF repository" FORCE)
+
+SET (ZLIB_TGZ_NAME "ZLib.tar.gz" CACHE STRING "Use ZLib from compressed file" FORCE)
+
+SET (SZIP_TGZ_NAME "SZip.tar.gz" CACHE STRING "Use SZip from compressed file" FORCE)
+
+SET (CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build Debug" FORCE)
+
diff --git a/config/cmake/runTest.cmake b/config/cmake/runTest.cmake index c9334c1..26acc39 100644 --- a/config/cmake/runTest.cmake +++ b/config/cmake/runTest.cmake @@ -28,6 +28,10 @@ SET (ERROR_APPEND 1) MESSAGE (STATUS "COMMAND: ${TEST_PROGRAM} ${TEST_ARGS}") +IF (TEST_ENV_VAR) + SET (ENV{${TEST_ENV_VAR}} "${TEST_ENV_VALUE}") +ENDIF (TEST_ENV_VAR) + # run the test program, capture the stdout/stderr and the result var EXECUTE_PROCESS ( COMMAND ${TEST_PROGRAM} ${TEST_ARGS} @@ -69,6 +73,18 @@ IF (TEST_MASK_MOD) FILE (WRITE ${TEST_FOLDER}/${TEST_OUTPUT} "${TEST_STREAM}") ENDIF (TEST_MASK_MOD) +IF (TEST_MASK_ERROR) + FILE (READ ${TEST_FOLDER}/${TEST_OUTPUT} TEST_STREAM) + STRING(REGEX REPLACE "thread [0-9]*:" "thread (IDs):" TEST_STREAM "${TEST_STREAM}") + STRING(REGEX REPLACE ": ([^\n]*)[.]c " ": (file name) " TEST_STREAM "${TEST_STREAM}") + STRING(REGEX REPLACE "line [0-9]*" "line (number)" TEST_STREAM "${TEST_STREAM}") + STRING(REGEX REPLACE "v[1-9]*[.][0-9]*[.]" "version (number)." TEST_STREAM "${TEST_STREAM}") + STRING(REGEX REPLACE "[1-9]*[.][0-9]*[.][0-9]*[^)]*" "version (number)" TEST_STREAM "${TEST_STREAM}") + STRING(REGEX REPLACE "H5Eget_auto[1-2]*" "H5Eget_auto(1 or 2)" TEST_STREAM "${TEST_STREAM}") + STRING(REGEX REPLACE "H5Eset_auto[1-2]*" "H5Eset_auto(1 or 2)" TEST_STREAM "${TEST_STREAM}") + FILE (WRITE ${TEST_FOLDER}/${TEST_OUTPUT} "${TEST_STREAM}") +ENDIF (TEST_MASK_ERROR) + IF (TEST_FILTER) FILE (READ ${TEST_FOLDER}/${TEST_OUTPUT} TEST_STREAM) STRING(REGEX REPLACE "${TEST_FILTER}" "" TEST_STREAM "${TEST_STREAM}") @@ -86,10 +102,12 @@ EXECUTE_PROCESS ( RESULT_VARIABLE TEST_RESULT ) +MESSAGE (STATUS "COMPARE Result: ${TEST_RESULT}") + # again, if return value is !=0 scream and shout -IF (TEST_RESULT) +IF (NOT ${TEST_RESULT} STREQUAL 0) MESSAGE (FATAL_ERROR "Failed: The output of ${TEST_PROGRAM} did not match ${TEST_REFERENCE}") -ENDIF (TEST_RESULT) +ENDIF (NOT ${TEST_RESULT} STREQUAL 0) # everything went fine... MESSAGE ("Passed: The output of ${TEST_PROGRAM} matches ${TEST_REFERENCE}") |