summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2024-09-13 14:29:24 -0400
committerFlorin Coras <florin.coras@gmail.com>2024-09-20 20:37:23 +0000
commit0ef24297ec37803e9909b082683725259b2f33a6 (patch)
tree33e2751775c335ec435e220d965dbb948eee1892 /build
parent6126ec9c5327c41d6bbf60b352c7b9a6699d9ade (diff)
build: archive make install-ext-deps build logs in ci
- also add build/external artifacts to .gitignore file Type: make Change-Id: I9c8f4a312bbfddfa8024531e7246518c8c3589a4 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'build')
-rw-r--r--build/external/Makefile6
-rw-r--r--build/external/packages.mk6
2 files changed, 9 insertions, 3 deletions
diff --git a/build/external/Makefile b/build/external/Makefile
index 6b5f9058dda..ce57c79eec2 100644
--- a/build/external/Makefile
+++ b/build/external/Makefile
@@ -30,6 +30,12 @@ endif # FreeBSD
B := $(BUILD_DIR)
I := $(INSTALL_DIR)
+ifeq ($(WORKSPACE),)
+L := $(B)
+else
+L := $(WORKSPACE)/archives/vpp-ext-deps
+$(shell rm -rf $(L) && mkdir -p $(L))
+endif
ifneq ($(shell which cmake3),)
CMAKE?=cmake3
diff --git a/build/external/packages.mk b/build/external/packages.mk
index eba702222de..e8cbe271d9b 100644
--- a/build/external/packages.mk
+++ b/build/external/packages.mk
@@ -21,9 +21,9 @@ $1_src_dir ?= $(B)/src-$1
$1_patch_dir ?= $(CURDIR)/patches/$1_$($1_version)
$1_build_dir ?= $(B)/build-$1
$1_install_dir ?= $(I)
-$1_config_log ?= $(B)/$1.config.log
-$1_build_log ?= $(B)/$1.build.log
-$1_install_log ?= $(B)/$1.install.log
+$1_config_log ?= $(L)/$1.config.log
+$1_build_log ?= $(L)/$1.build.log
+$1_install_log ?= $(L)/$1.install.log
##############################################################################
# Download