DEB_DEPENDS += nasm
DEB_DEPENDS += iperf ethtool # for 'make test TEST=vm_vpp_interfaces'
DEB_DEPENDS += libpcap-dev
+DEB_DEPENDS += tshark
LIBFFI=libffi6 # works on all but 20.04 and debian-testing
DEB_DEPENDS += virtualenv
DEB_DEPENDS += clang clang-format-11
LIBFFI=libffi7
+else ifeq ($(OS_ID)-$(OS_VERSION_ID),debian-12)
+ DEB_DEPENDS += virtualenv
+ DEB_DEPENDS += clang-14 clang-format-14
+ # for extras/scripts/checkstyle.sh
+ export CLANG_FORMAT_VER=14
+ LIBFFI=libffi8
else
DEB_DEPENDS += clang-11 clang-format-11
LIBFFI=libffi7
endif
ifeq ($(findstring y,$(UNATTENDED)),y)
+DEBIAN_FRONTEND=noninteractive
CONFIRM=-y
FORCE=--allow-downgrades --allow-remove-essential --allow-change-held-packages
endif
.PHONY: test
test:
+ifeq ($(CC),cc)
+ $(eval CC=clang)
+endif
$(call test,vpp,test)
.PHONY: test-debug
test-debug:
+ifeq ($(CC),cc)
+ $(eval CC=clang)
+endif
$(call test,vpp_debug,test)
.PHONY: test-cov