From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH] scripts: fix libnuma dependency in build test Date: Tue, 12 Jul 2016 17:55:12 +0200 Message-ID: <1468338912-4726-1-git-send-email-thomas.monjalon@6wind.com> To: dev@dpdk.org Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 72D4B3238 for ; Tue, 12 Jul 2016 17:55:47 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id p190so4464805wmp.1 for ; Tue, 12 Jul 2016 08:55:47 -0700 (PDT) Received: from XPS13.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id 12sm7174262wmj.19.2016.07.12.08.55.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Jul 2016 08:55:46 -0700 (PDT) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The option CONFIG_RTE_LIBRTE_VHOST_NUMA depends on availability of libnuma in the system. The configuration option DPDK_DEP_NUMA can be set if available for the DPDK_TARGET being built. Fixes: cd31ca579c0d ("scripts: add build tests") Signed-off-by: Thomas Monjalon --- scripts/test-build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/test-build.sh b/scripts/test-build.sh index 5bcecfc..0c7a56b 100755 --- a/scripts/test-build.sh +++ b/scripts/test-build.sh @@ -39,6 +39,7 @@ default_path=$PATH # - DPDK_DEP_CFLAGS # - DPDK_DEP_LDFLAGS # - DPDK_DEP_MOFED (y/[n]) +# - DPDK_DEP_NUMA (y/[n]) # - DPDK_DEP_PCAP (y/[n]) # - DPDK_DEP_SSL (y/[n]) # - DPDK_DEP_SZE (y/[n]) @@ -118,6 +119,7 @@ reset_env () unset DPDK_DEP_CFLAGS unset DPDK_DEP_LDFLAGS unset DPDK_DEP_MOFED + unset DPDK_DEP_NUMA unset DPDK_DEP_PCAP unset DPDK_DEP_SSL unset DPDK_DEP_SZE @@ -154,7 +156,7 @@ config () # sed -ri 's,(TEST_PMD_RECORD_.*=)n,\1y,' $1/.config ) # Automatic configuration - ! echo $2 | grep -q '^x86_64' || \ + test "$DPDK_DEP_NUMA" != y || \ sed -ri 's,(NUMA=)n,\1y,' $1/.config sed -ri 's,(PCI_CONFIG=)n,\1y,' $1/.config sed -ri 's,(LIBRTE_IEEE1588=)n,\1y,' $1/.config -- 2.7.0