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:
authorRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2017-11-02 13:36:29 +0300
committerRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2017-11-02 13:36:29 +0300
commited697134ca64f9a6606fbf8f7241857447a5b8e5 (patch)
tree7e79c052b02ac0c99a09c2868521a0c06a63293a /Makefile
parent57cf63d36918c5fafeeea684f0d7c4301bfd7d25 (diff)
Add BRANCH variable in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 45aec4f..8980396 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ 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
+BRANCH=master
+
.PHONY: tools/marian-dev tools/marian install tools models data run
.SECONDARY:
@@ -21,7 +23,7 @@ tools: tools/marian
git -C $@/subword-nmt pull || git clone $(GIT_SUBWORD_NMT) $@/subword-nmt
tools/marian:
- git -C $@ pull || git clone $(GIT_MARIAN_DEV) $@
+ 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)
models: