Changeset cdbca0d in git
- Timestamp:
- Aug 10, 2018, 9:31:31 AM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 01f9722
- Parents:
- c473838
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
rc473838 rcdbca0d 32 32 endif 33 33 34 35 34 # check consistency 36 35 ifneq ($(PROMC),) 37 ifneq ($(PROIO),) 38 $(error Attention: PROMC and PROIO env. variables are set simultaneously. You cannot compile ProMC and ProIO readers in one compilation process due to an inconsistency in protocol buffers libraries. The suggestion is to compile these two readers in two steps. First unset PROIO variable and then \"configure; make\". After this, unset PROMC, set PROIO, and run \"configure; make\". During runs, make sure shared libraries are set correctly. ) 39 endif 40 endif 41 36 ifneq ($(PROIO),) 37 $(error Attention: PROMC and PROIO env. variables are set simultaneously. You cannot compile ProMC and ProIO readers in one compilation process due to an inconsistency in protocol buffers libraries. The suggestion is to compile these two readers in two steps. First unset PROIO variable and then \"configure; make\". After this, unset PROMC, set PROIO, and run \"configure; make\". During runs, make sure shared libraries are set correctly.) 38 endif 39 endif 42 40 43 41 ifneq ($(PROMC),) … … 51 49 HAS_PROIO = true 52 50 $(info ProIO reader is requested) 53 ifeq ($(PROTOBUF),) 54 $(error but PROTOBUF variable is not set.) 55 endif 56 57 PROTOBUF_FILE=$(PROTOBUF)/lib/libprotobuf.a 58 ifeq ("$(wildcard $(PROTOBUF_FILE))","") 59 $(error PROTOBUF variable is set, but it does not point to valid $(PROTOBUF_FILE)) 60 endif 61 62 ifeq ($(LZ4),) 63 $(error but LZ4 variable is not set.) 64 endif 65 LZ4_FILE=$(LZ4)/lib/liblz4.so 66 ifeq ("$(wildcard $(LZ4_FILE))","") 67 $(error LZ4 variable is set, but it does not point to valid $(LZ4_FILE)) 68 endif 69 70 51 ifeq ($(PROTOBUF),) 52 $(error but PROTOBUF variable is not set.) 53 endif 54 PROTOBUF_FILE=$(PROTOBUF)/lib/libprotobuf.a 55 ifeq ("$(wildcard $(PROTOBUF_FILE))","") 56 $(error PROTOBUF variable is set, but it does not point to valid $(PROTOBUF_FILE)) 57 endif 58 ifeq ($(LZ4),) 59 $(error but LZ4 variable is not set.) 60 endif 61 LZ4_FILE=$(LZ4)/lib/liblz4.so 62 ifeq ("$(wildcard $(LZ4_FILE))","") 63 $(error LZ4 variable is set, but it does not point to valid $(LZ4_FILE)) 64 endif 71 65 CXXFLAGS += -I$(PROIO)/include -I$(PROTOBUF)/include -I$(LZ4)/include -I$(PROIO)/src 72 OPT_LIBS += -L$(PROTOBUF)/lib -lprotobuf -L$(PROIO)/lib -lproio -lproio.pb -lz -L$(LZ4)/lib -llz4 66 OPT_LIBS += -L$(PROTOBUF)/lib -lprotobuf -L$(PROIO)/lib -lproio -lproio.pb -lz -L$(LZ4)/lib -llz4 73 67 endif 74 68 -
doc/genMakefile.tcl
rc473838 rcdbca0d 225 225 endif 226 226 227 228 227 # check consistency 229 228 ifneq ($(PROMC),) 230 ifneq ($(PROIO),) 231 $(error Attention: PROMC and PROIO env. variables are set simultaneously. You cannot compile ProMC and ProIO readers in one compilation process due to an inconsistency in protocol buffers libraries. The suggestion is to compile these two readers in two steps. First unset PROIO variable and then \"configure; make\". After this, unset PROMC, set PROIO, and run \"configure; make\". During runs, make sure shared libraries are set correctly. ) 232 endif 233 endif 234 229 ifneq ($(PROIO),) 230 $(error Attention: PROMC and PROIO env. variables are set simultaneously. You cannot compile ProMC and ProIO readers in one compilation process due to an inconsistency in protocol buffers libraries. The suggestion is to compile these two readers in two steps. First unset PROIO variable and then \"configure; make\". After this, unset PROMC, set PROIO, and run \"configure; make\". During runs, make sure shared libraries are set correctly.) 231 endif 232 endif 235 233 236 234 ifneq ($(PROMC),) … … 244 242 HAS_PROIO = true 245 243 $(info ProIO reader is requested) 246 ifeq ($(PROTOBUF),) 247 $(error but PROTOBUF variable is not set.) 248 endif 249 250 PROTOBUF_FILE=$(PROTOBUF)/lib/libprotobuf.a 251 ifeq ("$(wildcard $(PROTOBUF_FILE))","") 252 $(error PROTOBUF variable is set, but it does not point to valid $(PROTOBUF_FILE)) 253 endif 254 255 ifeq ($(LZ4),) 256 $(error but LZ4 variable is not set.) 257 endif 258 LZ4_FILE=$(LZ4)/lib/liblz4.so 259 ifeq ("$(wildcard $(LZ4_FILE))","") 260 $(error LZ4 variable is set, but it does not point to valid $(LZ4_FILE)) 261 endif 262 263 244 ifeq ($(PROTOBUF),) 245 $(error but PROTOBUF variable is not set.) 246 endif 247 PROTOBUF_FILE=$(PROTOBUF)/lib/libprotobuf.a 248 ifeq ("$(wildcard $(PROTOBUF_FILE))","") 249 $(error PROTOBUF variable is set, but it does not point to valid $(PROTOBUF_FILE)) 250 endif 251 ifeq ($(LZ4),) 252 $(error but LZ4 variable is not set.) 253 endif 254 LZ4_FILE=$(LZ4)/lib/liblz4.so 255 ifeq ("$(wildcard $(LZ4_FILE))","") 256 $(error LZ4 variable is set, but it does not point to valid $(LZ4_FILE)) 257 endif 264 258 CXXFLAGS += -I$(PROIO)/include -I$(PROTOBUF)/include -I$(LZ4)/include -I$(PROIO)/src 265 OPT_LIBS += -L$(PROTOBUF)/lib -lprotobuf -L$(PROIO)/lib -lproio -lproio.pb -lz -L$(LZ4)/lib -llz4 259 OPT_LIBS += -L$(PROTOBUF)/lib -lprotobuf -L$(PROIO)/lib -lproio -lproio.pb -lz -L$(LZ4)/lib -llz4 266 260 endif 267 261 … … 329 323 sourceDeps {DELPHES} {classes/*.cc} {modules/*.cc} {external/ExRootAnalysis/*.cc} {external/Hector/*.cc} 330 324 331 sourceDeps {FASTJET} {modules/FastJet*.cc} {modules/RunPUPPI.cc} {external/PUPPI/*.cc} {external/fastjet/*.cc} {external/fastjet/tools/*.cc} {external/fastjet/plugins/*/*.cc} {external/fastjet/contribs/*/*.cc} 325 sourceDeps {FASTJET} {modules/FastJet*.cc} {modules/RunPUPPI.cc} {external/PUPPI/*.cc} {external/fastjet/*.cc} {external/fastjet/tools/*.cc} {external/fastjet/plugins/*/*.cc} {external/fastjet/contribs/*/*.cc} 332 326 333 327 sourceDeps {DISPLAY} {display/*.cc}
Note:
See TracChangeset
for help on using the changeset viewer.