Changeset 8ebc79b for GNUmakefile
- Timestamp:
- 08/26/16 19:58:52 (8 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GNUmakefile
r981e22c r8ebc79b 47 47 sql: fe-sqlite 48 48 49 BLOSC_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 62 BASE_CPPFLAGS := $(BLOSC_CPPFLAGS) -D__STDC_CONSTANT_MACROS 63 49 64 FEDIR = frontend 50 65 FE_CFLAGS := -g -fPIC -O3 -fopenmp 51 FE_CPPFLAGS := -Ithirdparty/blosc-Ithirdparty/sqlite -DGENERICIO_NO_MPI66 FE_CPPFLAGS := $(BASE_CPPFLAGS) -Ithirdparty/sqlite -DGENERICIO_NO_MPI 52 67 53 68 MPIDIR = mpi 54 69 MPI_CFLAGS := -g -O3 -fopenmp 55 MPI_CPPFLAGS := -Ithirdparty/blosc70 MPI_CPPFLAGS := $(BASE_CPPFLAGS) 56 71 57 72 $(FEDIR): 58 73 mkdir -p $(FEDIR) 59 74 60 $(FEDIR)/%.o: thirdparty/blosc/%.c | $(FEDIR) 75 $(FEDIR)/%.o: %.c | $(FEDIR) 76 mkdir -p $(dir $@) 61 77 $(CC) $(FE_CFLAGS) $(FE_CPPFLAGS) -c -o $@ $< 62 78 63 79 $(FEDIR)/%.o: %.cxx | $(FEDIR) 80 mkdir -p $(dir $@) 64 81 $(CXX) $(FE_CFLAGS) $(FE_CPPFLAGS) -c -o $@ $< 65 82 66 FE_BLOSC_O := $(FEDIR)/blosc.o $(FEDIR)/blosclz.o $(FEDIR)/shuffle.o $(FEDIR)/bitshuffle-generic.o $(FEDIR)/shuffle-generic.o 83 BLOSC_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 130 FE_BLOSC_O := $(addprefix $(FEDIR)/,$(BLOSC_O)) 67 131 68 132 $(FEDIR)/GenericIOPrint: $(FEDIR)/GenericIOPrint.o $(FEDIR)/GenericIO.o $(FE_BLOSC_O) … … 95 159 mkdir -p $(MPIDIR) 96 160 97 $(MPIDIR)/%.o: thirdparty/blosc/%.c | $(MPIDIR) 161 $(MPIDIR)/%.o: %.c | $(MPIDIR) 162 mkdir -p $(dir $@) 98 163 $(MPICC) $(MPI_CFLAGS) $(MPI_CPPFLAGS) -c -o $@ $< 99 164 100 165 $(MPIDIR)/%.o: %.cxx | $(MPIDIR) 166 mkdir -p $(dir $@) 101 167 $(MPICXX) $(MPI_CFLAGS) $(MPI_CPPFLAGS) -c -o $@ $< 102 168 103 MPI_BLOSC_O := $( MPIDIR)/blosc.o $(MPIDIR)/blosclz.o $(MPIDIR)/shuffle.o $(MPIDIR)/bitshuffle-generic.o $(MPIDIR)/shuffle-generic.o169 MPI_BLOSC_O := $(addprefix $(MPIDIR)/,$(BLOSC_O)) 104 170 105 171 $(MPIDIR)/GenericIOPrint: $(MPIDIR)/GenericIOPrint.o $(MPIDIR)/GenericIO.o $(MPI_BLOSC_O)
Note: See TracChangeset
for help on using the changeset viewer.