mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
---------------------- ./RELEASE Updated with important changes I made since the second beta. ./src/H5A.c ./src/H5D.c ./src/H5Dprivate.h ./src/H5G.c ./src/H5Gprivate.h ./src/H5R.c ./src/H5Rprivate.h ./src/H5T.c ./src/H5Tprivate.h Any API function that used to take an `hid_t loc_id' followed by a `const char *name' can now take any type of object for the loc_id as long as the object is somehow associated with a file. Internally, H5G_loc() was modified to return an H5G_entry_t* instead of an H5G_t* so it's more general. Among other things, this allows one to retrieve information about an object like a named type or dataset without knowing the name of the type or dataset: int get_nlinks (hid_t obj) { H5G_stat_t sb; if (H5Gstat(obj, ".", TRUE, &sb)<0) return -1; return sb.nlink; } ./test/gheap.c ./test/istore.c These files needed a couple of changes because they call some of the internal functions whose H5G_t arguments changed to H5G_entry_t. ./src/H5A.c Got rid of all the switch statements for getting symbol table entries for varous objects and replaced them with a call to H5G_loc() allowing attributes to automatically apply to any type of object that belongs to a file. ./test/Makefile.in Moved the ragged array tests from the normal list of tests to the `make timings' target. ./test/ragged.c Added rewrite tests -- rewrite the rows of a dataset changing the number of rows and the length of each row. ./test/mtime.c Added a test that checks that H5Gstat() can be called with a dataset as the first argument. ./src/H5S.c Added #ifdef HAVE_PARALLEL around code to check for the HDF5_MPI_OPT_TYPES environment variable because the global variable that gets set is #ifdef'd. ./bin/release bzip2 uses .bz2 as the file extension.
109 lines
3.8 KiB
Makefile
109 lines
3.8 KiB
Makefile
# HDF5 Library Test Makefile(.in) -*- makefile -*-
|
|
#
|
|
# Copyright (C) 1997 National Center for Supercomputing Applications.
|
|
# All rights reserved.
|
|
#
|
|
#
|
|
@COMMENCE@
|
|
|
|
# Add include directory to the C preprocessor flags.
|
|
CPPFLAGS=-I. -I../src @CPPFLAGS@
|
|
|
|
# These are our main targets. They should be listed in the order to be
|
|
# executed, generally most specific tests to least specific tests.
|
|
TESTS=testhdf5 gheap hyperslab istore bittests dtypes dsets cmpd_dset extend \
|
|
external shtype links big mtime
|
|
TIMINGS=iopipe chunk ragged
|
|
|
|
# Temporary files
|
|
MOSTLYCLEAN=cmpd_dset.h5 dataset.h5 extend.h5 istore.h5 tfile1.h5 tfile2.h5 \
|
|
tfile3.h5 th5s1.h5 theap.h5 tohdr.h5 tstab1.h5 tstab2.h5 \
|
|
extern_1.h5 extern_2.h5 extern_3.h5 extern_1.raw extern_1b.raw \
|
|
extern_2.raw extern_2b.raw extern_3.raw extern_3b.raw \
|
|
extern_4.raw extern_4b.raw iopipe.raw iopipe.h5 gheap0.h5 \
|
|
gheap1.h5 gheap2.h5 gheap3.h5 gheap4.h5 shtype0.h5 shtype1.h5 \
|
|
shtype2a.h5 shtype2b.h5 shtype3.h5 links.h5 chunk.h5 big.data \
|
|
big[0-9][0-9][0-9][0-9][0-9].h5 dtypes1.h5 dtypes2.h5 tattr.h5 \
|
|
tselect.h5 mtime.h5 ragged.h5
|
|
|
|
# Source and object files for programs... The TEST_SRC list contains all the
|
|
# source files and is used for things like dependencies, archiving, etc. The
|
|
# other source lists are for the individual tests, the files of which may
|
|
# overlap with other tests.
|
|
TEST_SRC=testhdf5.c tattr.c tfile.c theap.c tmeta.c tohdr.c tselect.c tstab.c \
|
|
th5s.c dtypes.c hyperslab.c istore.c dsets.c cmpd_dset.c extend.c \
|
|
external.c iopipe.c gheap.c shtype.c big.c links.c chunk.c bittests.c \
|
|
mtime.c ragged.c
|
|
TEST_OBJ=$(PROG_SRC:.c=.o)
|
|
|
|
# Private header files (not to be installed)...
|
|
PRIVATE_HDR=testhdf5.h
|
|
|
|
# Additional targets
|
|
.PHONY: timings _timings
|
|
timings _timings: $(TIMINGS)
|
|
@for timing in $(TIMINGS) dummy; do \
|
|
if test $$timing != dummy; then \
|
|
echo "Running $$timing $(TEST_FLAGS)"; \
|
|
$(RUNTEST) ./$$timing $(TEST_FLAGS) || exit 1; \
|
|
fi; \
|
|
done;
|
|
|
|
# How to build the programs...
|
|
TESTHDF5_OBJ=testhdf5.o tattr.o tfile.o theap.o tmeta.o tohdr.o tselect.o tstab.o th5s.o
|
|
testhdf5: $(TESTHDF5_OBJ) ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ $(TESTHDF5_OBJ) ../src/libhdf5.a $(LIBS)
|
|
|
|
gheap: gheap.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ gheap.o ../src/libhdf5.a $(LIBS)
|
|
|
|
dsets: dsets.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ dsets.o ../src/libhdf5.a $(LIBS)
|
|
|
|
bittests: bittests.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ bittests.o ../src/libhdf5.a $(LIBS)
|
|
|
|
dtypes: dtypes.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ dtypes.o ../src/libhdf5.a $(LIBS)
|
|
|
|
hyperslab: hyperslab.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ hyperslab.o ../src/libhdf5.a $(LIBS)
|
|
|
|
istore: istore.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ istore.o ../src/libhdf5.a $(LIBS)
|
|
|
|
cmpd_dset: cmpd_dset.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ cmpd_dset.o ../src/libhdf5.a $(LIBS)
|
|
|
|
extend: extend.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ extend.o ../src/libhdf5.a $(LIBS)
|
|
|
|
external: external.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ external.o ../src/libhdf5.a $(LIBS)
|
|
|
|
shtype: shtype.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ shtype.o ../src/libhdf5.a $(LIBS)
|
|
|
|
iopipe: iopipe.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ iopipe.o ../src/libhdf5.a $(LIBS)
|
|
|
|
grptime: grptime.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ grptime.o ../src/libhdf5.a $(LIBS)
|
|
|
|
big: big.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ big.o ../src/libhdf5.a $(LIBS)
|
|
|
|
links: links.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ links.o ../src/libhdf5.a $(LIBS)
|
|
|
|
chunk: chunk.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ chunk.o ../src/libhdf5.a $(LIBS)
|
|
|
|
mtime: mtime.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ mtime.o ../src/libhdf5.a $(LIBS)
|
|
|
|
ragged: ragged.o ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ ragged.o ../src/libhdf5.a $(LIBS)
|
|
|
|
@CONCLUDE@
|