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>2018-07-31 15:55:29 +0300
committerRoman Grundkiewicz <rgrundki@exseed.ed.ac.uk>2018-07-31 16:09:56 +0300
commit657bd9e3a10ba77b714a4bced8aee6ba7db4bf1c (patch)
tree9fb31270e5c3f4619df804738c9651f0487ad297 /Makefile
parente5db8258e97ccf7b487f09add3d64398cbdf22ad (diff)
Update Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index cd90b33..775c107 100644
--- a/Makefile
+++ b/Makefile
@@ -6,10 +6,9 @@ GIT_MOSES_SCRIPTS=http://github.com/marian-nmt/moses-scripts.git
GIT_SUBWORD_NMT=http://github.com/rsennrich/subword-nmt.git
BRANCH=master
-CUDA=/usr/local/cuda
-CUDNN=off
-CMAKE_FLAGS=-DCUDA_TOOLKIT_ROOT_DIR=$(CUDA) -DUSE_CUDNN=$(CUDNN) -DCMAKE_BUILD_TYPE=Release
+EXTRA_FLAGS=
+CMAKE_FLAGS=-DUSE_CUDNN=off -DCOMPILE_EXAMPLES=on -DCMAKE_BUILD_TYPE=Release $(EXTRA_FLAGS)
PIP_PACKAGES=websocket-client pyyaml
@@ -44,5 +43,5 @@ marian: tools/marian
tools/marian:
git -C $@ pull || git clone $(GIT_MARIAN_DEV) -b $(BRANCH) $@
rm -rf $@/build
- mkdir -p $@/build && cd $@/build && cmake .. -DCOMPILE_EXAMPLES=ON $(CMAKE_FLAGS) && make -j$(THREADS)
+ mkdir -p $@/build && cd $@/build && cmake .. $(CMAKE_FLAGS) && make -j$(THREADS)