From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=h5vT1UF2KGAU4G+PdhxfKIj0BHr4/otHiXfmfoSbL+g=; b=OvOqUJRBPdGrWsFGTOlMhr4C19I1Hj0fq5AE9bOFlOLEXWg10P3ukUINuLH/7k6Wpk T4rrIX4ex6uvNpwCoX9wog29zkGdvbBaEA/mcsm4e6kSoh1FaQR1uTdKnNfsGoHahT2N q/1XEDK9eKTLiaVDzOHQjXae7LUdzRmtfl/MI78QGBS5M+jEZxLGJ3zH5wKsozvYQmNL ae/tFB2OgyVW6sj7fAQ9R7BfXIHa4t19NeHh6UVtMICW7dhVoR+DPGsEoLF9jcgYTFrp 06uGSqNfZxRdamdsa8DVMfokzEI3joyu3UUumrF/Ck514xmjcYCZM3QpOXY5Yw3jCGjQ n17A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=h5vT1UF2KGAU4G+PdhxfKIj0BHr4/otHiXfmfoSbL+g=; b=QpLaTnt1LviaEFf9zUq5rx6X0YHjtj7/F+zlcKlCDp7aP/3RMtR7bk6gSQ9HADXjPP pxMAph14jd6H3ezccERxiuLlnq4aKb19FSxq3BoSNVGGJtVmWueiERAFFQUnqvYfDOQc 4t5gf8qPPD1+m0txG+ooPkYslF9itGGF7sOZJYFQbbX+TYyMPLqSfxMX/G7LDHRS3j/W akG/mWoFiYobmEMx4EfqmvtKOGXWPB18q6iGbk6mCUx2UlwSAYj8pbFEhmwitBgMqnR4 XnDPTkm0+iXFTzSKz95TCgszzAwpNgTeOGMEQUdPB1iOZ6L7LWv525gaosm1qjOaEeG8 E42Q== X-Gm-Message-State: ALyK8tJshziLAB+BA0SxLAvl3BTG9fTZHBOmMuLiVte+9PeG9MOkkpaLVz1wSZmLVFWXWn8H X-Received: by 10.28.156.87 with SMTP id f84mr20317143wme.86.1468338946968; Tue, 12 Jul 2016 08:55:46 -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) From: Thomas Monjalon To: dev@dpdk.org Date: Tue, 12 Jul 2016 17:55:12 +0200 Message-Id: <1468338912-4726-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] scripts: fix libnuma dependency in build test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2016 15:55:47 -0000 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