Added NO_PARALLEL_MAKE flag to disable parallel make.

This commit is contained in:
Zhang Xianyi
2013-04-15 21:37:30 +08:00
parent 3ad29452d1
commit 48bdc1ad3b
3 changed files with 11 additions and 0 deletions

View File

@@ -65,6 +65,10 @@ ifeq ($(DEBUG), 1)
GETARCH_FLAGS += -g
endif
ifndef NO_PARALLEL_MAKE
NO_PARALLEL_MAKE=0
endif
GETARCH_FLAGS += -DNO_PARALLEL_MAKE=$(NO_PARALLEL_MAKE)
# This operation is expensive, so execution should be once.
ifndef GOTOBLAS_MAKEFILE
export GOTOBLAS_MAKEFILE = 1