mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
98362b664c
General shared library improvements for CYGWIN / AIX Description: Shared libraries are disabled on both CYGWIN and AIX due to inability to build them correctly. Part of the problem in both of these situations is the lack of the libtool flag -no-undefined, which tells libtool that all needed symbols are defined at link time (a requirement on these systems) and that it's okay to build shared libraries. Another problem are lack of dependencies between wrapper libraries and core C HDF5 library. This patch addresses both of these by fixing configure to add in -no-undefined flag for libtool during linking and adds automake dependencies in the Makefile.am files. After testing, both CYGWIN and AIX now generate shared libraries, but there are still some test failures in each. (cache_api, dt_arith, and testerror.sh on CYGWIN, and fortran tests on AIX). Even though the shared libraries are not quite perfect, this is a general improvement to what we had before, so I'm applying the patch anyways. Note that default behavior of shared libraries on these systems being disabled has NOT been changed and requires the use of the --enable-unsupported to attempt to build them. We will need to address the test failures in each architecture prior to formally supporting shared libraries on each. Tested: h5committested & CYGWIN tested (on bangan) (AIX tested by Albert on bp-login2) |
||
---|---|---|
.. | ||
benchpar.c | ||
build_h5perf_alone.sh | ||
build_h5perf_serial_alone.sh | ||
chunk.c | ||
CMakeLists.txt | ||
COPYING | ||
gen_report.pl | ||
iopipe.c | ||
Makefile.am | ||
Makefile.in | ||
mpi-perf.c | ||
overhead.c | ||
perf_meta.c | ||
perf.c | ||
pio_engine.c | ||
pio_perf.c | ||
pio_perf.h | ||
pio_standalone.c | ||
pio_standalone.h | ||
pio_timer.c | ||
pio_timer.h | ||
sio_engine.c | ||
sio_perf.c | ||
sio_perf.h | ||
sio_standalone.c | ||
sio_standalone.h | ||
sio_timer.c | ||
sio_timer.h | ||
zip_perf.c |