build: archive make install-ext-deps build logs in ci 74/41574/2
authorDave Wallace <[email protected]>
Fri, 13 Sep 2024 18:29:24 +0000 (14:29 -0400)
committerFlorin Coras <[email protected]>
Fri, 20 Sep 2024 20:37:23 +0000 (20:37 +0000)
- also add build/external artifacts to .gitignore file

Type: make

Change-Id: I9c8f4a312bbfddfa8024531e7246518c8c3589a4
Signed-off-by: Dave Wallace <[email protected]>
.gitignore
build/external/Makefile
build/external/packages.mk

index 563a115..ea3ab8d 100644 (file)
 /build/external/vpp-*
 /build/external/dpdk_mlx_default.sh
 /build/external/downloads/
+/build/external/deb/_build/
+/build/external/deb/debian/changelog
+/build/external/deb/debian/debhelper-build-stamp
+/build/external/deb/debian/tmp/
+/build/external/deb/debian/files/
+/build/external/deb/debian/.debhelper/
+/build/external/deb/debian/vpp-ext-deps*
 /path_setup
 /tools/
 # start autotools ignore
@@ -139,3 +146,5 @@ compile_commands.json
 /cmake_install.cmake
 /startup.conf
 /startup.vpp
+# log file archives
+/archives
index 6b5f905..ce57c79 100644 (file)
@@ -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
index eba7022..e8cbe27 100644 (file)
@@ -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