From 983f82bdfcb3e78f04468fcfd02d6a6ee5869b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 3 Dec 2018 19:22:12 +0100 Subject: Don't rebuild dependencies by default Unless it's a symbolic link, it's built directly, FULL=1 is set or the file ebin/dep_built in the dependency is removed. See the documentation changes for more details. This provides immense build speed gains, for example on a RabbitMQ project it went from 10s to 1s for the 2nd+ builds. --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index 2f9e875..a66e9db 100644 --- a/test/Makefile +++ b/test/Makefile @@ -190,7 +190,7 @@ pkg-$1: build clean fi $i "Recompile package $1" - $t if ! ( cd packages/$1_pkg/ && $(MAKE) $(PATCHES) $v ); then \ + $t if ! ( cd packages/$1_pkg/ && $(MAKE) $(PATCHES) FULL=1 $v ); then \ echo "$(1): recompile error" >> packages/errors.log; \ false; \ fi -- cgit v1.2.3