<commit_before>CXX = mpic++
QSIM_ROOT = ${QSIM_PREFIX}
MODELS_DIR = ../../../models
CPPFLAGS += -Wall -g -DUSE_QSIM -DSTATS -I$(QSIM_ROOT)/include -I ../../.. -I$(MODELS_DIR)/processor -I$(MODELS_DIR)/qsim -I$(MODELS_DIR)/cache -I$(MODELS_DIR)/network -I$(MODELS_DIR)/memory -I$(MODELS_DIR)/cross -std=c++11
LDFLAGS = -lqsim -lmcp-iris -L$(QSIM_ROOT)/lib -L$(MODELS_DIR)/cross/mcp_cache-iris -liris -L$(MODELS_DIR)/network/iris -lmcp-cache -L$(MODELS_DIR)/cache/mcp-cache -lspx -L$(MODELS_DIR)/processor/spx -lqsim_proxy -L$(MODELS_DIR)/qsim/proxy -lqsim_interrupt_handler -L$(MODELS_DIR)/qsim/interrupt_handler -lcaffdram -L$(MODELS_DIR)/memory/CaffDRAM -lDRAMSim2 -L$(MODELS_DIR)/memory/DRAMSim2 -lDRAMSim2proper -L$(MODELS_DIR)/memory/DRAMSim2/DRAMSim2-2.2.2 -L../../../kernel -lmanifold -ldl -lrt

VPATH = ../common

EXECS = smp_llp smp_l1l2


ALL: $(EXECS)


smp_llp: smp_llp.o sysBuilder_llp.o sysBuilder_l1l2.o proc_builder.o cache_builder.o mc_builder.o network_builder.o qsim_builder.o
	$(CXX) $^ -o$@  $(LDFLAGS) -lconfig++

smp_l1l2: smp_l1l2.o sysBuilder_llp.o sysBuilder_l1l2.o proc_builder.o cache_builder.o mc_builder.o network_builder.o qsim_builder.o
	$(CXX) $^ -o$@  $(LDFLAGS) -lconfig++


%.o: %.cc
	@[ -d dep ] || mkdir -p dep
	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -MMD -MF dep/$*.d -c $< -o $*.o

-include $(wildcard dep/*.d)

.PHONY: clean
clean:
	rm -f $(EXECS) *.d *.o DBG* core*.out
	rm -rf dep<commit_msg>update proxy simulator Makefile<commit_after>CXX = mpic++
QSIM_ROOT = ${QSIM_PREFIX}
KITFOX_ROOT = ${KITFOX_PREFIX}
KITFOX_LIBS = -lmcpat -L${KITFOX_ROOT} -l3dice -L${KITFOX_ROOT}
MODELS_DIR = ../../../models
CPPFLAGS += -Wall -g -DUSE_QSIM -DSTATS -DLIBKITFOX=1 -I$(QSIM_ROOT)/include -I$(KITFOX_ROOT) -I ../../.. -I$(MODELS_DIR)/processor -I$(MODELS_DIR)/qsim -I$(MODELS_DIR)/cache -I$(MODELS_DIR)/network -I$(MODELS_DIR)/memory -I$(MODELS_DIR)/cross -I$(MODELS_DIR)/kitfox/proxy -std=c++11
LDFLAGS = -lqsim -L$(QSIM_ROOT)/lib -lKitFox -L$(KITFOX_ROOT) ${KITFOX_LIBS} -lmcp-iris -L$(MODELS_DIR)/cross/mcp_cache-iris -liris -L$(MODELS_DIR)/network/iris -lmcp-cache -L$(MODELS_DIR)/cache/mcp-cache -lspx -L$(MODELS_DIR)/processor/spx -lqsim_proxy -L$(MODELS_DIR)/qsim/proxy -lqsim_interrupt_handler -L$(MODELS_DIR)/qsim/interrupt_handler -lkitfox_proxy -L$(MODELS_DIR)/kitfox/proxy  -lcaffdram -L$(MODELS_DIR)/memory/CaffDRAM -lDRAMSim2 -L$(MODELS_DIR)/memory/DRAMSim2 -lDRAMSim2proper -L$(MODELS_DIR)/memory/DRAMSim2/DRAMSim2-2.2.2  -L../../../kernel -lmanifold -ldl -lrt

VPATH = ../common

EXECS = smp_llp smp_l1l2


ALL: $(EXECS)


smp_llp: smp_llp.o sysBuilder_llp.o sysBuilder_l1l2.o proc_builder.o cache_builder.o mc_builder.o network_builder.o qsim_builder.o kitfox_builder.o
	$(CXX) $^ -o$@  $(LDFLAGS) -lconfig++

smp_l1l2: smp_l1l2.o sysBuilder_llp.o sysBuilder_l1l2.o proc_builder.o cache_builder.o mc_builder.o network_builder.o qsim_builder.o kitfox_builder.o
	$(CXX) $^ -o$@  $(LDFLAGS) -lconfig++


%.o: %.cc
	@[ -d dep ] || mkdir -p dep
	$(CXX) $(CPPFLAGS) $(CXXFLAGS) -MMD -MF dep/$*.d -c $< -o $*.o

-include $(wildcard dep/*.d)

.PHONY: clean
clean:
	rm -f $(EXECS) *.d *.o DBG* core*.out
	rm -rf dep
{'fraction_non_alphanumeric': 0.189446916719644, 'fraction_numerical': 0.013350286077558804, 'mean_word_length': 4.193069306930693, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6697390', 'n_tokens_mistral': 1467, 'n_tokens_neox': 1406, 'n_words': 239}