aboutsummaryrefslogtreecommitdiffstats
path: root/build/build_common.mk
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2024-12-11 14:42:47 -0500
committerDamjan Marion <dmarion@0xa5.net>2024-12-18 10:48:24 +0000
commit4358a18dea319b590da5b64e263439136bd8f806 (patch)
tree72be476ab040874355b28f6ab1347f99cc5796cd /build/build_common.mk
parentbdb52dc044a9b034ce87233b7c6b0aa64daa350f (diff)
build: archive install-*-deps logs when run in ci
Type: make Change-Id: Id779d7c90a920926d40d241afb89bcb9312bcfc1 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'build/build_common.mk')
-rw-r--r--build/build_common.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/build_common.mk b/build/build_common.mk
index 5c4a1654919..88529a4537e 100644
--- a/build/build_common.mk
+++ b/build/build_common.mk
@@ -14,6 +14,9 @@
# Scripts require non-POSIX parts of bash
SHELL := $(shell which bash)
+ifneq ($(NOMAD_TASK_NAME),)
+WORKSPACE ?= $(shell dirname $(shell dirname $(CURDIR)))
+endif
DL_CACHE_DIR = $(HOME)/Downloads
MAKE_ARGS ?= -j
BUILD_DIR ?= $(CURDIR)/_build
@@ -34,7 +37,7 @@ D := $(DOWNLOAD_DIR)
ifeq ($(WORKSPACE),)
L := $(B)
else
-L := $(WORKSPACE)/archives/vpp-ext-deps
+L := $(WORKSPACE)/archives/install-deps-logs
$(shell rm -rf $(L) && mkdir -p $(L))
endif