Skip to content
Snippets Groups Projects
repos.make 1.42 KiB
Newer Older
SOURCE=https://static.octobus.net/asv/

Boris Feld's avatar
Boris Feld committed
     repos/mercurial-2018-08-01-8ca6b045.benchrepo\
     repos/mercurial-2018-08-01-b793d407.benchrepo\
     repos/pypy-2018-08-01-ac75596e.benchrepo\
     repos/pypy-2018-08-01-08a61a72.benchrepo\
     repos/mozilla-central-2018-08-01-118d7d50.benchrepo\
     repos/mozilla-central-2018-08-01-453773b5.benchrepo\
     repos/netbeans-2018-08-01-6119fd1c.benchrepo\
     repos/netbeans-2018-08-01-85b533e8.benchrepo
.PHONY: all
.PRECIOUS:
.SECONDARY:

repos:
	mkdir repos
repos/.cache: | repos
	mkdir repos/.cache
repos/%.benchrepo:\
    repos/.cache/%-partial-same/.hg/requires\
    repos/.cache/%-partial-last-ten/.hg/requires\
    repos/.cache/%-partial-last-hundred/.hg/requires\
    repos/.cache/%-partial-last-thousand/.hg/requires\
    | repos
	(cd repos/; curl $(SOURCE)/$*-reference.tar | tar x --touch; hg -R $*-reference update tip)

repos/.cache/%-partial-same/.hg/requires: | repos/.cache
	(cd repos/.cache/; curl $(SOURCE)/$*-partial-same.tar | tar x --touch)

repos/.cache/%-partial-last-ten/.hg/requires: | repos/.cache
	(cd repos/.cache/; curl $(SOURCE)/$*-partial-last-ten.tar | tar x --touch)

repos/.cache/%-partial-last-hundred/.hg/requires: | repos/.cache
	(cd repos/.cache/; curl $(SOURCE)/$*-partial-last-hundred.tar | tar x --touch)

repos/.cache/%-partial-last-thousand/.hg/requires: | repos/.cache
	(cd repos/.cache/; curl $(SOURCE)/$*-partial-last-thousand.tar | tar x --touch)