MAKEFILE: Update files for compression support in XML+binary format.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
parent
38a205e1c7
commit
65f882fe99
@ -134,5 +134,29 @@ LIBS += -L$(HDF5DIR)/lib
|
||||
endif
|
||||
LIBS += -lhdf5_fortran -lhdf5
|
||||
endif
|
||||
|
||||
# compression for binary files of the XML+binary format
|
||||
#
|
||||
ifeq ($(ZSTD),Y)
|
||||
FFLAGS += -DZSTD
|
||||
ifneq ($(ZSTDDIR),)
|
||||
LIBS += -L$(ZSTDDIR)/lib
|
||||
endif
|
||||
LIBS += -lzstd
|
||||
endif
|
||||
ifeq ($(LZ4),Y)
|
||||
FFLAGS += -DLZ4
|
||||
ifneq ($(LZ4DIR),)
|
||||
LIBS += -L$(LZ4DIR)/lib
|
||||
endif
|
||||
LIBS += -llz4
|
||||
endif
|
||||
ifeq ($(LZMA),Y)
|
||||
FFLAGS += -DLZMA
|
||||
ifneq ($(LZMADIR),)
|
||||
LIBS += -L$(LZMADIR)/lib
|
||||
endif
|
||||
LIBS += -llzma
|
||||
endif
|
||||
#
|
||||
#-------------------------------------------------------------------------------
|
||||
|
@ -20,11 +20,24 @@ SIGNALS = N
|
||||
#
|
||||
MPI = N
|
||||
|
||||
# output data format:
|
||||
#
|
||||
# OUTPUT - the format of the alternative data output;
|
||||
# supported alternative formats: HDF5
|
||||
# default format XML+binary does not require setting this flag;
|
||||
# alternative supported formats: HDF5
|
||||
#
|
||||
OUTPUT =
|
||||
|
||||
# compression support for XML+binary format:
|
||||
#
|
||||
# ZSTD - enable support for Zstandard compression;
|
||||
# LZ4 - enable support for LZ4 compression;
|
||||
# LZMA - enable support for LZMA compression;
|
||||
#
|
||||
ZSTD = N
|
||||
LZ4 = N
|
||||
LZMA = N
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
#
|
||||
# geometry:
|
||||
|
Loading…
x
Reference in New Issue
Block a user