X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=scripts%2Ftest-build.sh;h=e8971fef3fb6d4d59d7e49a2750abc639f162a3b;hb=50a3345fa9ea6482f197567497b0b8d201173a59;hp=52c89cf701b81064ca9c2262c810ed6a1b042d2a;hpb=72551a5feea56a8bb08bda53137a9026c0f39c4e;p=dpdk.git diff --git a/scripts/test-build.sh b/scripts/test-build.sh index 52c89cf701..e8971fef3f 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]) @@ -47,7 +48,7 @@ default_path=$PATH # - DPDK_NOTIFY (notify-send) # - LIBSSO_SNOW3G_PATH # - LIBSSO_KASUMI_PATH -. $(dirname $(readlink -e $0))/load-devel-config.sh +. $(dirname $(readlink -e $0))/load-devel-config print_usage () { echo "usage: $(basename $0) [-h] [-jX] [-s] [config1 [config2] ...]]" @@ -119,6 +120,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 @@ -155,9 +157,8 @@ 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 sed -ri 's,(BYPASS=)n,\1y,' $1/.config test "$DPDK_DEP_ARCHIVE" != y || \ @@ -210,7 +211,7 @@ for conf in $configs ; do # reload config with DPDK_TARGET set DPDK_TARGET=$target reset_env - . $(dirname $(readlink -e $0))/load-devel-config.sh + . $(dirname $(readlink -e $0))/load-devel-config options=$(echo $conf | sed 's,[^~+]*,,') dir=$conf