Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile - github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bbd423e177336ee5afd24fb7bbd3cf5149ccdbeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

THREADS=16

GIT_MARIAN=http://github.com/marian-nmt/marian-dev.git
GIT_MOSES_SCRIPTS=http://github.com/marian-nmt/moses-scripts.git
GIT_SUBWORD_NMT=http://github.com/rsennrich/subword-nmt.git

URL_MODELS=

.PHONY: marian install
.SECONDARY:


install: marian/build/marian tools

tools:
	mkdir -p $@
	cd $@ && git clone $(GIT_MOSES_SCRIPTS)
	cd $@ && git clone $(GIT_SUBWORD_NMT)

models:
	mkdir -p $@
	cd $@ && bash download_wmt16.sh

#####################################################################

marian/build/marian: marian
	mkdir -p $</build && cd $</build && cmake .. -DCOMPILE_EXAMPLES=ON -DUSE_CUDNN=ON && make -j$(THREADS)

marian:
	git -C $@ pull || git clone $(GIT_MARIAN) $@