From: Dave Wallace Date: Wed, 11 Dec 2024 19:42:47 +0000 (-0500) Subject: build: archive install-*-deps logs when run in ci X-Git-Tag: v25.06-rc0~72 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=4358a18dea319b590da5b64e263439136bd8f806;p=vpp.git build: archive install-*-deps logs when run in ci Type: make Change-Id: Id779d7c90a920926d40d241afb89bcb9312bcfc1 Signed-off-by: Dave Wallace --- 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