change makefile for Linux work with multiverso

This commit is contained in:
Qiwei Ye 2016-01-29 14:20:21 +08:00
Родитель 14ef928c3f
Коммит 7b495bdf9c
1 изменённых файлов: 10 добавлений и 6 удалений

Просмотреть файл

@ -80,12 +80,6 @@ all : buildall
# Set up basic nvcc options and add CUDA targets from above
CUFLAGS = -std=c++11 -D_POSIX_SOURCE -D_XOPEN_SOURCE=600 -D__USE_XOPEN2K -m 64
ifndef NO_USE_MULTIVERSO
INCLUDEPATH += Multiverso/include
LIBPATH += Multiverso/x64/$(BUILDTYPE)
LIBS += -lmultiverso -lzmq -lyaml-cpp
endif
ifdef CUDA_PATH
ifndef GDK_PATH
$(info defaulting GDK_PATH to /usr)
@ -446,6 +440,16 @@ ifeq ("$(CNTK_ENABLE_1BitSGD)","true")
CPPFLAGS += -DQUANTIZED_GRADIENT_AGGREGATION
endif
########################################
# ASGD(multiverso) setup
########################################
ifeq ("$(CNTK_ENABLE_ASGD)","true")
INCLUDEPATH += $(SOURCEDIR)/Multiverso/include
LIBPATH += $(SOURCEDIR)/Multiverso/x64/$(BUILDTYPE)
LIBS += -lmultiverso -lzmq -lyaml-cpp
endif
########################################
# cntk
########################################