mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
6ee36e2b3a
---------------------- ./MANIFEST Added new files. ./src/H5D.c Added support for partial datatype I/O which is needed when merging struct members between file and disk. This isn't the efficient version because the merge requires an extra gather (step 1b in my pipeline diagram) that isn't turned off when it isn't needed. ./src/H5T.c ./src/H5Tpkg.h ./src/H5Tprivate.h ./src/H5Tpublic.h Conversion functions take an extra argument which is a pointer to a blob of private data that can be used by the conversion function to save anything that's expensive to compute and is constant for a particular conversion path. ./src/H5Tconv.c Compound data type conversion is beginning to work! We can handle conversions between compound types that have members which are not arrays. It also supports partial conversion so we can omit certain members of the source and not clobber extra members in the destination. ./test/Makefile.in ./test/cmpd_dset.c [NEW] Added a test case that demonstrates how to use compound data types in a dataset. The output doesn't match the output of the other test cases yet, the the entire example is more readable and written entirely with the API.
66 lines
2.0 KiB
Makefile
66 lines
2.0 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.
|
|
PROGS=testhdf5 hyperslab istore dtypes dsets cmpd_dset
|
|
TESTS=$(PROGS)
|
|
|
|
# Source and object files for programs... The PROG_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.
|
|
PROG_SRC=testhdf5.c tfile.c theap.c tmeta.c tohdr.c tstab.c th5p.c dtypes.c \
|
|
hyperslab.c istore.c dsets.c cmpd_dset.c
|
|
PROG_OBJ=$(PROG_SRC:.c=.o)
|
|
|
|
TESTHDF5_SRC=testhdf5.c tfile.c theap.c tmeta.c tohdr.c tstab.c th5p.c
|
|
TESTHDF5_OBJ=$(TESTHDF5_SRC:.c=.o)
|
|
|
|
DSETS_SRC=dsets.c
|
|
DSETS_OBJ=$(DSETS_SRC:.c=.o)
|
|
|
|
DTYPES_SRC=dtypes.c
|
|
DTYPES_OBJ=$(DTYPES_SRC:.c=.o)
|
|
|
|
HYPERSLAB_SRC=hyperslab.c
|
|
HYPERSLAB_OBJ=$(HYPERSLAB_SRC:.c=.o)
|
|
|
|
ISTORE_SRC=istore.c
|
|
ISTORE_OBJ=$(ISTORE_SRC:.c=.o)
|
|
|
|
CMPD_DSET_SRC=cmpd_dset.c
|
|
CMPD_DSET_OBJ=$(CMPD_DSET_SRC:.c=.o)
|
|
|
|
# Private header files (not to be installed)...
|
|
PRIVATE_HDR=testhdf5.h
|
|
|
|
# How to build the programs...
|
|
testhdf5: $(TESTHDF5_OBJ) ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ $(TESTHDF5_OBJ) ../src/libhdf5.a $(LIBS)
|
|
|
|
dsets: $(DSETS_OBJ) ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ $(DSETS_OBJ) ../src/libhdf5.a $(LIBS)
|
|
|
|
dtypes: $(DTYPES_OBJ) ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ $(DTYPES_OBJ) ../src/libhdf5.a $(LIBS)
|
|
|
|
hyperslab: $(HYPERSLAB_OBJ) ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ $(HYPERSLAB_OBJ) ../src/libhdf5.a $(LIBS)
|
|
|
|
istore: $(ISTORE_OBJ) ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ $(ISTORE_OBJ) ../src/libhdf5.a $(LIBS)
|
|
|
|
cmpd_dset: $(CMPD_DSET_OBJ) ../src/libhdf5.a
|
|
$(CC) $(CFLAGS) -o $@ $(CMPD_DSET_OBJ) ../src/libhdf5.a $(LIBS)
|
|
|
|
@CONCLUDE@
|