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

github.com/marian-nmt/marian-regression-tests.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f3f72f9..25831f6 100644
--- a/Makefile
+++ b/Makefile
@@ -4,27 +4,31 @@ GIT_MARIAN_DEV=http://github.com/marian-nmt/marian-dev.git
GIT_MARIAN=http://github.com/marian-nmt/marian.git
GIT_MOSES_SCRIPTS=http://github.com/marian-nmt/moses-scripts.git
GIT_SUBWORD_NMT=http://github.com/rsennrich/subword-nmt.git
+GIT_NEMATUS=http://github.com/EdinburghNLP/nematus.git
BRANCH=master
+USE_CUDNN=ON
-.PHONY: tools/marian-dev tools/marian install tools models data run
+.PHONY: tools/marian install tools models data run
.SECONDARY:
+
#####################################################################
-install: tools models data
+install: tools tools/marian models data
run: install
bash ./run_mrt.sh
-tools: tools/marian
+tools:
git -C $@/moses-scripts pull || git clone $(GIT_MOSES_SCRIPTS) $@/moses-scripts
git -C $@/subword-nmt pull || git clone $(GIT_SUBWORD_NMT) $@/subword-nmt
+ git -C $@/nematus pull || git clone $(GIT_NEMATUS) $@/nematus
tools/marian:
git -C $@ pull || git clone $(GIT_MARIAN_DEV) -b $(BRANCH) $@
- mkdir -p $@/build && cd $@/build && cmake .. -DCOMPILE_EXAMPLES=ON -DUSE_CUDNN=ON && make -j$(THREADS)
+ mkdir -p $@/build && cd $@/build && cmake .. -DCOMPILE_EXAMPLES=ON -DUSE_CUDNN=$(USE_CUDNN) && make -j$(THREADS)
models:
mkdir -p $@