summaryrefslogtreecommitdiffstats
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Detect correct long double size with universal binaires (#335)Sean2021-02-151-4/+19
| | | | | | | On macOS on x86_64, long double is 16 bytes; on macOS on arm64, it's 8 bytes. Use the same existing technique used to properly detect other sizes to now also properly detect the size of long double. For bug #311.
* Add option to control gcc 10 warnings diagnostics (#321)Allen Byrne2021-02-086-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction * Update supported platforms * Revert whitespace changes * Correct whitespace * Changes from PR#3 * HDFFV-11213 added option to control gcc10 warnings diagnostics
* Remove prohibition against building Universal Binaries on macOS (#318)Sean2021-02-082-18/+0
| | | Fixes github issue #311.
* Reclassify CMake messages - HDFFV-11144 (#253)Allen Byrne2021-01-1314-78/+168
| | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages
* Remove duplicate setting (#236)Allen Byrne2021-01-051-1/+0
| | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Remove duplicate setting
* Add compiler flags for GCC 10, along with updating warnhist script to ↵Quincey Koziol2020-12-216-4/+48
| | | | accommodate them. (#217)
* close #195. (#196)H. Joe Lee2020-12-171-2/+2
| | | | | * Update HDF5PluginMacros.cmake * Update HDF5PluginMacros.cmake
* OESS-98 fix hdf5 link target (#188)Allen Byrne2020-12-161-2/+1
| | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * OESS-98 fix hdf5 link target
* OESS-98 convert plugin option to FetchContent, add tests (#155)Allen Byrne2020-12-163-102/+104
| | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * Update other test machines * OESS-98 fix tools test for plugins * HDFFV-10865 performance improvement for java array
* Moves the lists of VOL connectors and VFDs in Autotools builds (#162)Dana Robinson2020-12-121-0/+13
| | | | | The VOL_LIST variable used in the Autotools was duplicated in many subdirectories. It's been moved to config/conclude.am to avoid duplication. VFD_LIST was also moved to conclude.am.
* Fix autotools clang debug optimization level w/ older clang and Xcode ↵Dana Robinson2020-12-021-2/+12
| | | | | | | | | | | | | | versions (#146) * Fixes clang debug optimization level w/ Autotools NOTE: This was only released in HDF5 1.10.7, so only the 1.10 branch needs a note in RELEASE.txt. * Updates the clang -Og setting with a version check w/ autotools * Sets -Og when clang >= 4.0 or Xcode >= 9.0 * Older versions get -O1 * Autotools only
* FreeBSD autotools changes (#142)Dana Robinson2020-11-301-4/+24
| | | | | | | | | | | | | | | | * Updates to allow autotools builds on recent FreeBSD * Switches the default C compiler to cc from gcc (this may need a version string check if we want to support FreeBSD 9 and earlier. FreeBSD 10 was released in 2014) * Makes the default C++ compiler c++ (no previous setting) * Both of these resolve to Clang on FreeBSD 10+ * Added a note about flang being unsuitable on FreeBSD (the port uses an ancient build of flang that lacks Fortran 2003 support) * Autotools only - CMake appears to use different CPP flags which cause compilation errors * Adds a RELEASE.txt note for new FreeBSD autotools changes
* Fixes clang debug optimization level w/ Autotools (#141)Dana Robinson2020-11-301-1/+1
| | | | NOTE: This was only released in HDF5 1.10.7, so only the 1.10 branch needs a note in RELEASE.txt.
* Add else choice to error flags option (#128)Allen Byrne2020-11-2512-0/+271
|
* Minor/solaris gcc fix (#126)Dana Robinson2020-11-251-4/+8
| | | | | | | * Adds gnu99 as the standard when building with gcc on Solaris * Adds a note to RELEASE.txt and improves comments For Solaris + gcc fix (HDFFV-11191)
* Adds a configure/CMake option to control -Werror behavior (#119)Dana Robinson2020-11-253-10/+35
| | | | | * Works in both Autotools and CMake * OFF by default * Reverts "always on" -Werror behavior released in 1.10.7
* Correct TARGET variable and CMake config file locationAllen Byrne2020-11-113-5/+6
|
* Update to latest doxygen.m4Allen Byrne2020-11-091-156/+0
|
* doxygen restore tabsAllen Byrne2020-11-031-4/+4
|
* Doxygen correct PHONY targetAllen Byrne2020-11-031-2/+2
|
* Doxygen add new files and update docsAllen Byrne2020-11-031-52/+0
|
* Add doxygen auotoconf and cmake supportAllen Byrne2020-11-031-0/+156
|
* Merge pull request #69 from xantares/mingw3Larry Knox2020-11-021-0/+2
|\ | | | | CMake: Add an option to opt-out static libgcc
| * CMake: Add an option to opt-out static libgccMichel Zou2020-10-311-0/+2
| | | | | | | | | | With sjlj exception model, statically link to libgcc/libstdc++ prevents exceptions to be caught from other dynamic libraries.
* | Merge pull request #67 from xantares/mingw1Larry Knox2020-10-311-1/+1
|\ \ | | | | | | CMake: Set specific INSTALL_DATA_DIR only on MSVC
| * | CMake: Set specific INSTALL_DATA_DIR only on MSVCMichel Zou2020-10-301-1/+1
| | | | | | | | | | | | | | | For MinGW we want INSTALL_DATA_DIR to be set to share instead of . to properly install files in a standard package layout.
* | | Merge pull request #70 from xantares/mingw4Larry Knox2020-10-314-11/+11
|\ \ \ | |_|/ |/| | CMake: MINGW implies WIN32
| * | CMake: MINGW implies WIN32Michel Zou2020-10-304-11/+11
| |/
* | CMake: Add an option to opt-out MSVC naming conventionMichel Zou2020-10-301-2/+2
|/ | | | | We might want to keep the default mingw import name, see: https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-hdf5/hdf5-default-import-suffix.patch
* Merge pull request #56 from derobins/minor/implicit_fallthroughLarry Knox2020-10-231-1/+0
|\ | | | | Removes -Wimplicit-fallthrough=5 from the gcc warnings
| * Removes -Wimplicit-fallthrough=5 from the gcc warningsDana Robinson2020-10-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | -Wimplicit-fallthrough=3 is added by -Wextra, which we already set. Bumping the warning level only changes how fall-through comments are parsed, with level 5 turning off fall-through comments entirely. This is unnecessary and results in having to do extra work to squash warnings when included external code uses fall-through. This change also adds /* FALLTHROUGH */ comments where H5_ATTR_FALLTHROUGH is used so compilers that don't use attributes but do respect fall-through comments don't raise spurious warnings.
* | Correct SZ options for building pluginsAllen Byrne2020-10-212-9/+9
|/
* URL and options correctionsAllen Byrne2020-10-191-0/+2
|
* Whitespace and url correctionAllen Byrne2020-10-191-1/+1
|
* Remove obsolete fileAllen Byrne2020-10-071-111/+0
|
* Refactor parser GCC diagnostic statementsAllen Byrne2020-10-061-4/+20
|
* Add mingw defineAllen Byrne2020-10-021-0/+1
|
* Merge pull request #2650 in HDFFV/hdf5 from ↵David Young2020-09-282-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~DYOUNG/werror:rebased-fprintf-experiment to develop * commit 'c0fbc5c086566d5d3c1d1ef26baa81a53d59fc08': (24 commits) Use the right format string, "%zu", for size_t. Repair more format strings. Fix a bunch of format string errors reported by Larry. Fix some HDfprintf compilation errors: use the right format strings ("zu", PRIuHSIZE), avoid casting some printf arguments, pass the right number of arguments. Test the format string "ll" before "l", "L", and "q", like the ./configure script does. This ought to fix the compilation failure in test/dt_arith.c that Allen told me about: Cast a non-void pointer to void pointer for "%p". Use PRIu32 and "zu" formats. Delete some casts from `size_t`. I'm taking a guess that this code intended to point the 2-digit wide hexadecimal octet values, not 2 character-wide pointers to the bytes. The %02p format, which is a GNU-ism, disagreed with GCC 8.3.0 and the option flags we use. %08p is not portable, it's a GNU-ism. Use %8p, instead. Squashes a GCC error. Add format string macros PRI[doxX]HID for hid_t and use PRIdHID. Use HDva_copy() and introduce a bunch of compatbility format-string constants for uppercase hexadecimal strings, `PRIX...`. Should fix the VS2010 errors that Allen mentioned: Always #define HDfprintf as fprintf in this header. I believe this will fix the Windows build error that Allen reported. Provide an HDvasprintf implementation only if it isn't #defined. This should fix the mingw compilation issue that Allen reported. Fix va_list usage in the vasprintf(3) implementation. Promote format-string warnings to errors. Use the portable `-eq` operator instead of the bash-ism `==`. Fixes the tests on NetBSD, where /bin/sh != bash. Restore a literal percent sign ("%%") that I accidentally deleted. Fix code that made GCC complain about a NULL or `unsigned char *` arguments for "%s". Take pains to provide UINT64_MAX in all conditions. Correct a couple of format strings. ...
| * Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-09-272-4/+151
| |\
| * \ Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-09-252-1/+13
| |\ \
| * | | Test the format string "ll" before "l", "L", and "q", like theDavid Young2020-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ./configure script does. This ought to fix the compilation failure in test/dt_arith.c that Allen told me about: /home/buildbot/bb-workers/centos8-vm01/hdf5trunk-StdShar-code-centos8/build/hdfsrc/test/dt_arith.c: In function ‘test_conv_int_1’: /home/buildbot/bb-workers/centos8-vm01/hdf5trunk-StdShar-code-centos8/build/hdfsrc/test/dt_arith.c:2500:34: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Werror=format=] HDfprintf(stdout," %29"H5_PRINTF_LL_WIDTH"d\n", *((long long*)aligned));
| * | | Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-09-037-3/+41
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-07-303-2/+4
| |\ \ \ \
| * \ \ \ \ Merge branch 'rebased-fprintf-experiment' into fprintf-developDavid Young2020-07-091-1/+1
| |\ \ \ \ \
| | * | | | | Promote format-string warnings to errors.David Young2020-07-071-1/+1
| | | | | | |
* | | | | | | Remove setting from cacheinit fileAllen Byrne2020-09-281-2/+0
| | | | | | |
* | | | | | | OESS-98 merge with clang-format changesAllen Byrne2020-09-256-2/+305
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge pull request #2882 in HDFFV/hdf5 from ↵Allen Byrne2020-09-252-4/+151
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~BYRN/hdf5_adb:feature/cmakeV2-clang-format to develop * commit '571a5e9250ca69adb54ef956361a5cf77059f67c': Add h5ls test plugin format target Fix manifest Add code owners file Update actions - split push/pull-request commits Change to executable Change to based on LLVM format Fix comment formatting due to tabs conversion Disable formatting for file File changes to affect formatting CMake and script changes for clang-format
| * | | | | CMake and script changes for clang-formatAllen Byrne2020-09-042-4/+151
| | | | | |
* | | | | | Fix memory sanity check option in CMakeJordan Henderson2020-09-231-1/+1
|/ / / / /