Bring h5format_convert tool from revise_chunks branch to trunk.
Tested on:
MacoSX/64 10.11.4 (amazon) w/serial, parallel & production
(h5committest forthcoming)
--disable-symbols is specified and to ensure that production
mode (where symbol stripping is usually a part of the FLAGS)
doesn't conflict with --enable-symbols. This will allow better
(though still limited) debugging of production/optimized code.
The PGI, XLC, Intel, and Solaris files were not modified and
do not generate the symbol removal flag at this time. They'll
be updated in future check-ins. In the meantime, production
mode on those platforms still usually strips symbols.
This check-in also updates the Cygwin-specific files to use
the new autotools FLAGS and option scheme when uncommon
(non-gnu, etc.) Fortran compilers are used.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
autotools serial (prod/debug w/ and w/o symbols)
symbol presence/absence checked with objdump
platform-specific build information so the debug and production
flags are not clobbered.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
autotools serial (production & debug)
can be configured to generate extra debugging output in both
the autotools and CMake.
This can still be set by defining H5B_DEBUG manually or by
using a custom string in configure.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
autotools serial
CMake serial
* We assume that fseeko and ftello exist.
* The *64 IO functions and types are no longer explicitly used.
We now rely on a mapping provided by _FILE_OFFSET_BITS (or its
equivalent).
* _LARGEFILE(64)_SOURCE is no longer exposed via AM_CPPFLAGS.
The CMake files have not yet been updated but CMake is still
functional. The CMake configure files will just run a few
unecessary tests and create unneeded #defines until they are
updated in a few days.
Tested on: Linux, OS X, Solaris, z/OS
symbols, asserts, profiling, and optimization.
Also much refactoring, improved help, and --enable-<foo> options will
now emit errors on nonsense (e.g.: --enable-foo="asdfasdf").
The libhdf5.settings.in file was also reformatted.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
serial and parallel autotools w/ various options
Buffers that will be written to disk will now always be cleared since
not doing this has huge security implications.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0, x86_64) gcc 5.2.1
serial autotools
parallel autotools (MPICH 3.1.4)
serial CMake
Add --enable-memory-alloc-sanity-check option to configure, to track and
sanity check memory allocations within the library. This is orthogonal to the
--enable-using-memchecker option and can be used with/without it.
Tested on:
MacOSX/64 10.11.2 (amazon) w/serial & parallel
(h5committest forthcoming)
Fix tests accordingly and fix misuse of hbool_t in various places
Fix initialization of H5Pgcpl/ocpl structs in property decoding routines
Tested on:
Linux/32 (jam)
Linux/64 (platypus)
Linux/PPC64 (ostrich)
MacOSX/64 10.11
This removes all of the TRY_* macros and replaces them with *_IFELSE
macros, which are better for cross-compiling.
Tested on: h5committest (cmake fails due to --enable-fortran2003)
NOTES:
- Developers will have to run autogen.sh before building with the autotools.
- autogen.sh takes the -p option to mimic the old bin/reconfigure behavior.
- The generated error, overflow and version headers have been left in place.
- The generated H5LT parser code has also been left in place.
- There are no changes for CMake users at this time.
Tested on: h5committest
when building the thread-safe library.
Configure will quit with an error when --disable-hl or
--enable-unsupported is not used with --enable-threadsafe.
Fixes HDFFV-8719
Tested on: h5committest
configure w/ various combinations of --enable-threadsafe,
--disable-hl, and --enable-unsupported
Removed _BSD_SOURCE and _DEFAULT_SOURCE from the autotools
C flags. They are no longer needed by the library. Fixes HDFFV-9079.
Tested on: h5committest
Removed library checks for nsl and socket from the autotools configure on
Solaris.
The nsl and socket libraries are no longer used by the library. Fixes
HDFFV-9118.
Tested on: jam w/ autotools and CMake
emu w/ autotools
Solaris.
The nsl and socket libraries are no longer used by the library. Fixes
HDFFV-9118.
Tested on: h5committest (CMake fortran fails due to an unrelated error)
jam w/ CMake
Updates to older special config files in configure.ac:
- solaris2.x renamed to solaris. There are recent changes to this file
but the "2.x" is misleading since the changes are applied to all
versions.
- Removed support for OSF 4.x/5.x (Digital and Tru64 Unix). We no
longer have the config files for these.
Tested on: h5committest
- solaris2.x renamed to solaris. There are recent changes to this file
but the "2.x" is misleading since the changes are applied to all
versions.
- Removed support for OSF 4.x/5.x (Digital and Tru64 Unix). We no
longer have the config files for these.
Tested on: jam (autogen.sh only)
emu (Solaris 11)
Replaced AC_CONFIG_HEADER (obsolete macro) with AC_CONFIG_HEADERS
followed by bin/reconfigure (which changed nothing at this time).
Fixes HDFFV-9284
Tested on: jam