X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=Makefile;h=ec3e92d8410038588ae692f1320cb7c1c159d579;hb=2aa22909c70ff5c5eed6a7f7a0f8a587c9260da8;hp=ee1b2757cab87bc04c09220cb7d57b69c4376efe;hpb=eb9e6b6f07499e095e7b6b6148be3d7ca27e180f;p=vpp.git diff --git a/Makefile b/Makefile index ee1b2757cab..ec3e92d8410 100644 --- a/Makefile +++ b/Makefile @@ -84,15 +84,14 @@ RPM_DEPENDS += apr-devel RPM_DEPENDS += numactl-devel RPM_DEPENDS += check check-devel RPM_DEPENDS += boost boost-devel +RPM_DEPENDS += subunit subunit-devel ifeq ($(OS_ID)-$(OS_VERSION_ID),fedora-25) - RPM_DEPENDS += subunit subunit-devel RPM_DEPENDS += openssl-devel RPM_DEPENDS += python-devel RPM_DEPENDS += python2-virtualenv RPM_DEPENDS_GROUPS = 'C Development Tools and Libraries' else ifeq ($(shell if [ "$(OS_ID)" = "fedora" ]; then test $(OS_VERSION_ID) -gt 25; echo $$?; fi),0) - RPM_DEPENDS += subunit subunit-devel RPM_DEPENDS += compat-openssl10-devel RPM_DEPENDS += python2-devel RPM_DEPENDS += python2-virtualenv @@ -109,17 +108,23 @@ endif RPM_DEPENDS += chrpath libffi-devel rpm-build SUSE_NAME= $(shell grep '^NAME=' /etc/os-release | cut -f2- -d= | sed -e 's/\"//g' | cut -d' ' -f2) -RPM_SUSE_BUILDTOOLS_DEPS = autoconf automake bison ccache check-devel chrpath clang indent libtool make -RPM_SUSE_DEVEL_DEPS = glibc-devel-static java-1_8_0-openjdk-devel libnuma-devel libopenssl-devel openssl-devel -RPM_SUSE_PYTHON_DEPS = python-devel python3-devel python-pip python3-pip python-rpm-macros python3-rpm-macros +RPM_SUSE_BUILDTOOLS_DEPS = autoconf automake bison ccache check-devel chrpath +RPM_SUSE_BUILDTOOLS_DEPS += clang indent libtool make + +RPM_SUSE_DEVEL_DEPS = glibc-devel-static java-1_8_0-openjdk-devel libnuma-devel +RPM_SUSE_DEVEL_DEPS += libopenssl-devel openssl-devel + +RPM_SUSE_PYTHON_DEPS = python-devel python3-devel python-pip python3-pip +RPM_SUSE_PYTHON_DEPS += python-rpm-macros python3-rpm-macros + RPM_SUSE_PLATFORM_DEPS = distribution-release shadow rpm-build ifeq ($(OS_ID),opensuse) ifneq ($(SUSE_NAME),Tumbleweed) - RPM_SUSE_DEVEL_DEPS += boost_1_61-devel gcc6 + RPM_SUSE_DEVEL_DEPS += boost_1_61-devel gcc6 RPM_SUSE_PYTHON_DEPS += python-virtualenv else - RPM_SUSE_DEVEL_DEPS += boost_1_65-devel gcc + RPM_SUSE_DEVEL_DEPS = libboost_headers-devel libboost_thread-devel gcc RPM_SUSE_PYTHON_DEPS += python2-virtualenv endif endif @@ -325,7 +330,7 @@ build: $(BR)/.bootstrap.ok wipedist: @$(RM) $(BR)/*.tar.xz -wipe: wipedist $(BR)/.bootstrap.ok +wipe: wipedist test-wipe $(BR)/.bootstrap.ok $(call make,$(PLATFORM)_debug,$(addsuffix -wipe,$(TARGETS))) rebuild: wipe build @@ -333,7 +338,7 @@ rebuild: wipe build build-release: $(BR)/.bootstrap.ok $(call make,$(PLATFORM),$(addsuffix -install,$(TARGETS))) -wipe-release: $(BR)/.bootstrap.ok +wipe-release: test-wipe $(BR)/.bootstrap.ok $(call make,$(PLATFORM),$(addsuffix -wipe,$(TARGETS))) rebuild-release: wipe-release build-release