mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
---------------------- ./tools/h5ls.c Added a `--address' (`-a') switch which causes h5ls to display file addresses for raw data. For contiguous datasets it's just a nice simple number, but for chunked datasets it's a list of logical dataset coordinates, file addresses, filter masks, and storage sizes. Changed `--dump' switch to `--data'. ./src/H5D.c ./src/H5F.c ./src/H5Fprivate.h Enhanced the indexed-storage B-tree iterator so it can dump raw data addresses (and other info) to the standard error stream. Added H5Ddebug() so h5ls has a way to dump addresses for datasets. I'm not sure what else this API function should do, so I think we should discuss it before we document it. So far, h5ls is the only thing that uses it, and we can easily change that. ./src/H5Tconv.c ./test/dtypes.c Finally had a chance to verify Paul's H5T_conv_s_s (general string to string conversions) bug fixes and incorporate them into H5T_conv_f_f (general floating-point to floating-point conversions) and H5T_conv_i_i (general integer to integer conversons). Thanks Paul. ./src/H5D.c ./src/H5S.c ./src/H5Sprivate.h Added performance timers around data space read and write callbacks. They were already there for the gather/scatter callbacks. The timings for read/write callbacks are displayed along with gather/scatter when data space debugging is turned on. ./bin/iostats Updated to print totals. Added a `--fast' option that doesn't do any output except the totals and is much faster. ./bin/trace Changed __unused__ to UNUSED to match source code. ./config/gnu-flags Updated error message for pgcc. I've sent bug reports to the pgcc people but the new version still has the same bug. ./configure.in ./config/conclude.in ./config/depend.in Fixed dependencies for non-GNU makes when run in a directory other than the hdf5 source tree. Updated GNU `make dep' rules to copy the distributed dependencies for non-GNU makes into the source tree when run in some other directory.
45 lines
1.8 KiB
Makefile
45 lines
1.8 KiB
Makefile
# -*- makefile -*-
|
|
|
|
# We keep a list of dependencies in `.depend' for each of the source
|
|
# files on which it depends. When one of the source files is modified
|
|
# we remove its record from .depend and regenerate its dependencies,
|
|
# tacking them onto the end of .depend. By including the .depend file
|
|
# into the makefile, we're telling make that the makefile depends on
|
|
# the dependency list in the .depend file.
|
|
#
|
|
# This is as fast as the `.d' method described in the GNU make manual
|
|
# for automatic dependencies, but has the added advantage that all
|
|
# dependencies are stored in one place. The advantage over the
|
|
# `makedepend' program is that only those files that are out of date
|
|
# have dependency information rebuilt, and the Makefile is not
|
|
# modified.
|
|
#
|
|
# This is also where tracing information is updated. The $(TRACE)
|
|
# program is run on each source file to make sure that the H5TRACE()
|
|
# macros are up to date. If they are then the file is not modified,
|
|
# otherwise the file is changed and a backup is saved by appending a
|
|
# tilde to the file name.
|
|
#
|
|
.PRECIOUS: .depend .distdep
|
|
dep depend: .distdep
|
|
|
|
.distdep: .depend
|
|
touch .distdep
|
|
-srcdir=$(srcdir) perl -p $(top_srcdir)/bin/distdep .depend >.distdep
|
|
|
|
.depend: $(LIB_SRC) $(TEST_SRC) $(PROG_SRC)
|
|
@touch .depend
|
|
@for dep in $? dummy; do \
|
|
if [ $$dep != "dummy" ]; then \
|
|
echo Building dependencies for $$dep; \
|
|
obj=`echo $$dep | sed 's/\.c/\\\\.lo/'`; \
|
|
sed '\%$$obj%,\%[^\\]$$%d' <$@ >$@- && mv $@- $@; \
|
|
$(TRACE) $$dep; \
|
|
$(CC) -M -MG $(CPPFLAGS) $$dep |sed 's/\.o/.lo/' >>$@; \
|
|
fi; \
|
|
done;
|
|
-perl -p $(top_srcdir)/bin/distdep .depend >$(srcdir)/.distdep
|
|
|
|
-include .depend
|
|
|