Changeset 8ebc79b for GNUmakefile


Ignore:
Timestamp:
08/26/16 19:58:52 (8 years ago)
Author:
Hal Finkel <hfinkel@…>
Branches:
master, pympi
Children:
fc4fc2f
Parents:
981e22c
git-author:
Hal Finkel <hfinkel@…> (08/26/16 19:58:52)
git-committer:
Hal Finkel <hfinkel@…> (08/26/16 19:58:52)
Message:

Add the other internal compression libraries from blocs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GNUmakefile

    r981e22c r8ebc79b  
    4747sql: fe-sqlite 
    4848 
     49BLOSC_CPPFLAGS := \ 
     50        -Ithirdparty/blosc \ 
     51        -DHAVE_LZ4 -DHAVE_SNAPPY -DHAVE_ZLIB -DHAVE_ZSTD \ 
     52        -Ithirdparty/blosc/internal-complibs/zlib-1.2.8 \ 
     53        -Ithirdparty/blosc/internal-complibs/lz4-1.7.2 \ 
     54        -Ithirdparty/blosc/internal-complibs/snappy-1.1.1 \ 
     55        -Ithirdparty/blosc/internal-complibs/zstd-0.7.4 \ 
     56        -Ithirdparty/blosc/internal-complibs/zstd-0.7.4/legacy \ 
     57        -Ithirdparty/blosc/internal-complibs/zstd-0.7.4/compress \ 
     58        -Ithirdparty/blosc/internal-complibs/zstd-0.7.4/common \ 
     59        -Ithirdparty/blosc/internal-complibs/zstd-0.7.4/dictBuilder \ 
     60        -Ithirdparty/blosc/internal-complibs/zstd-0.7.4/decompress 
     61 
     62BASE_CPPFLAGS := $(BLOSC_CPPFLAGS) -D__STDC_CONSTANT_MACROS 
     63 
    4964FEDIR = frontend 
    5065FE_CFLAGS := -g -fPIC -O3 -fopenmp 
    51 FE_CPPFLAGS := -Ithirdparty/blosc -Ithirdparty/sqlite -DGENERICIO_NO_MPI 
     66FE_CPPFLAGS := $(BASE_CPPFLAGS) -Ithirdparty/sqlite -DGENERICIO_NO_MPI 
    5267 
    5368MPIDIR = mpi 
    5469MPI_CFLAGS := -g -O3 -fopenmp 
    55 MPI_CPPFLAGS := -Ithirdparty/blosc  
     70MPI_CPPFLAGS := $(BASE_CPPFLAGS) 
    5671 
    5772$(FEDIR): 
    5873        mkdir -p $(FEDIR) 
    5974 
    60 $(FEDIR)/%.o: thirdparty/blosc/%.c | $(FEDIR) 
     75$(FEDIR)/%.o: %.c | $(FEDIR) 
     76        mkdir -p $(dir $@) 
    6177        $(CC) $(FE_CFLAGS) $(FE_CPPFLAGS) -c -o $@ $< 
    6278 
    6379$(FEDIR)/%.o: %.cxx | $(FEDIR) 
     80        mkdir -p $(dir $@) 
    6481        $(CXX) $(FE_CFLAGS) $(FE_CPPFLAGS) -c -o $@ $< 
    6582 
    66 FE_BLOSC_O := $(FEDIR)/blosc.o $(FEDIR)/blosclz.o $(FEDIR)/shuffle.o $(FEDIR)/bitshuffle-generic.o $(FEDIR)/shuffle-generic.o 
     83BLOSC_O := \ 
     84        thirdparty/blosc/blosc.o \ 
     85        thirdparty/blosc/blosclz.o \ 
     86        thirdparty/blosc/shuffle.o \ 
     87        thirdparty/blosc/bitshuffle-generic.o \ 
     88        thirdparty/blosc/shuffle-generic.o \ 
     89        thirdparty/blosc/internal-complibs/zlib-1.2.8/gzwrite.o \ 
     90        thirdparty/blosc/internal-complibs/zlib-1.2.8/crc32.o \ 
     91        thirdparty/blosc/internal-complibs/zlib-1.2.8/inffast.o \ 
     92        thirdparty/blosc/internal-complibs/zlib-1.2.8/zutil.o \ 
     93        thirdparty/blosc/internal-complibs/zlib-1.2.8/infback.o \ 
     94        thirdparty/blosc/internal-complibs/zlib-1.2.8/deflate.o \ 
     95        thirdparty/blosc/internal-complibs/zlib-1.2.8/inflate.o \ 
     96        thirdparty/blosc/internal-complibs/zlib-1.2.8/gzread.o \ 
     97        thirdparty/blosc/internal-complibs/zlib-1.2.8/gzlib.o \ 
     98        thirdparty/blosc/internal-complibs/zlib-1.2.8/gzclose.o \ 
     99        thirdparty/blosc/internal-complibs/zlib-1.2.8/uncompr.o \ 
     100        thirdparty/blosc/internal-complibs/zlib-1.2.8/compress.o \ 
     101        thirdparty/blosc/internal-complibs/zlib-1.2.8/inftrees.o \ 
     102        thirdparty/blosc/internal-complibs/zlib-1.2.8/trees.o \ 
     103        thirdparty/blosc/internal-complibs/zlib-1.2.8/adler32.o \ 
     104        thirdparty/blosc/internal-complibs/lz4-1.7.2/lz4.o \ 
     105        thirdparty/blosc/internal-complibs/lz4-1.7.2/lz4hc.o \ 
     106        thirdparty/blosc/internal-complibs/zstd-0.7.4/legacy/zstd_v01.o \ 
     107        thirdparty/blosc/internal-complibs/zstd-0.7.4/legacy/zstd_v02.o \ 
     108        thirdparty/blosc/internal-complibs/zstd-0.7.4/legacy/zstd_v03.o \ 
     109        thirdparty/blosc/internal-complibs/zstd-0.7.4/legacy/zstd_v06.o \ 
     110        thirdparty/blosc/internal-complibs/zstd-0.7.4/legacy/zstd_v04.o \ 
     111        thirdparty/blosc/internal-complibs/zstd-0.7.4/legacy/zstd_v05.o \ 
     112        thirdparty/blosc/internal-complibs/zstd-0.7.4/compress/fse_compress.o \ 
     113        thirdparty/blosc/internal-complibs/zstd-0.7.4/compress/zstd_compress.o \ 
     114        thirdparty/blosc/internal-complibs/zstd-0.7.4/compress/huf_compress.o \ 
     115        thirdparty/blosc/internal-complibs/zstd-0.7.4/compress/zbuff_compress.o \ 
     116        thirdparty/blosc/internal-complibs/zstd-0.7.4/common/entropy_common.o \ 
     117        thirdparty/blosc/internal-complibs/zstd-0.7.4/common/xxhash.o \ 
     118        thirdparty/blosc/internal-complibs/zstd-0.7.4/common/zstd_common.o \ 
     119        thirdparty/blosc/internal-complibs/zstd-0.7.4/common/fse_decompress.o \ 
     120        thirdparty/blosc/internal-complibs/zstd-0.7.4/dictBuilder/zdict.o \ 
     121        thirdparty/blosc/internal-complibs/zstd-0.7.4/dictBuilder/divsufsort.o \ 
     122        thirdparty/blosc/internal-complibs/zstd-0.7.4/decompress/zstd_decompress.o \ 
     123        thirdparty/blosc/internal-complibs/zstd-0.7.4/decompress/huf_decompress.o \ 
     124        thirdparty/blosc/internal-complibs/zstd-0.7.4/decompress/zbuff_decompress.o \ 
     125        thirdparty/blosc/internal-complibs/snappy-1.1.1/snappy-c.o \ 
     126        thirdparty/blosc/internal-complibs/snappy-1.1.1/snappy.o \ 
     127        thirdparty/blosc/internal-complibs/snappy-1.1.1/snappy-sinksource.o \ 
     128        thirdparty/blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.o 
     129 
     130FE_BLOSC_O := $(addprefix $(FEDIR)/,$(BLOSC_O)) 
    67131 
    68132$(FEDIR)/GenericIOPrint: $(FEDIR)/GenericIOPrint.o $(FEDIR)/GenericIO.o $(FE_BLOSC_O) 
     
    95159        mkdir -p $(MPIDIR) 
    96160 
    97 $(MPIDIR)/%.o: thirdparty/blosc/%.c | $(MPIDIR) 
     161$(MPIDIR)/%.o: %.c | $(MPIDIR) 
     162        mkdir -p $(dir $@) 
    98163        $(MPICC) $(MPI_CFLAGS) $(MPI_CPPFLAGS) -c -o $@ $< 
    99164 
    100165$(MPIDIR)/%.o: %.cxx | $(MPIDIR) 
     166        mkdir -p $(dir $@) 
    101167        $(MPICXX) $(MPI_CFLAGS) $(MPI_CPPFLAGS) -c -o $@ $< 
    102168 
    103 MPI_BLOSC_O := $(MPIDIR)/blosc.o $(MPIDIR)/blosclz.o $(MPIDIR)/shuffle.o $(MPIDIR)/bitshuffle-generic.o $(MPIDIR)/shuffle-generic.o 
     169MPI_BLOSC_O := $(addprefix $(MPIDIR)/,$(BLOSC_O)) 
    104170 
    105171$(MPIDIR)/GenericIOPrint: $(MPIDIR)/GenericIOPrint.o $(MPIDIR)/GenericIO.o $(MPI_BLOSC_O) 
Note: See TracChangeset for help on using the changeset viewer.