Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 019e5584 authored by aumgn's avatar aumgn
Browse files

Add Makefile inputs rules for mosbench

parent 5394087c
......@@ -19,12 +19,17 @@ HISTOGRAM_INPUT=tmp/histogram_input.bmp
LIN_REG_INPUTS_URL=http://csl.stanford.edu/~christos/data/linear_regression.tar.gz
LIN_REG_INPUTS_ARCHIVE=tmp/lin_reg_input.tar.gz
MOSBENCH_INPUTS_URL=https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.9.9.tar.gz
MOSBENCH_INPUTS_ARCHIVE=tmp/linux-4.9.9.tar.gz
MOSBENCH_INPUTS=tmp/linux-4.9.9
.PHONY: install
install: submodules \
$(PARSEC_INPUTS) \
$(WORD_COUNT_INPUTS_ARCHIVE) \
$(HISTOGRAM_INPUT) \
$(LIN_REG_INPUTS_ARCHIVE)
$(LIN_REG_INPUTS_ARCHIVE) \
$(MOSBENCH_INPUTS) \
.PHONY: submodules
submodules:
......@@ -64,9 +69,17 @@ $(HISTOGRAM_INPUT):
$(LIN_REG_INPUTS_ARCHIVE):
mkdir -p tmp/
@echo "### Downloading input for word_count (can take a while)"
@echo "### Downloading input for lin_reg (can take a while)"
wget $(LIN_REG_INPUTS_URL) -O $(LIN_REG_INPUTS_ARCHIVE)
$(MOSBENCH_INPUTS_ARCHIVE):
mkdir -p tmp/
@echo "### Downloading input for mosbench (can take a while)"
wget $(MOSBENCH_INPUTS_URL) -O $(MOSBENCH_INPUTS_ARCHIVE)
$(MOSBENCH_INPUTS): $(MOSBENCH_INPUTS_ARCHIVE)
tar -xzf $(MOSBENCH_INPUTS_ARCHIVE) -C tmp
CLEAN_PARSEC_TARGETS=$(patsubst %,clean-%,$(PARSEC_PROGRAMS))
.PHONY: clean-parsec
clean-parsec: $(CLEAN_PARSEC_TARGETS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment