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-09-26 17:07:32 +0300
committerRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2017-09-26 17:07:32 +0300
commit69b77511d758c6cd94e7d600f3b079417b30f313 (patch)
tree069256d51d2f14e02c8a186eb23aa6a5269c7fe7 /Makefile
Add first piece of tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4352405
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,24 @@
+
+THREADS=16
+
+GIT_MARIAN=http://github.com/marian-nmt/marian-dev.git
+GIT_MOSES_SCRIPTS=http://github.com/marian-nmt/moses-scripts.git
+
+URL_MODELS=
+
+.PHONY: marian install
+.SECONDARY:
+
+
+install: marian/build/marian
+
+download:
+ test $(URL_MODELS) && wget -q --show-progress $(URL_MODELS)
+
+#####################################################################
+
+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) $@