This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 5865787680be13b47b777e8b0b64646755be41e0 (commit)
from c90cbf70a08d8d7124af226086e0525bcf4a9e50 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5865787680be13b47b777e8b0b64646755be41e0
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Wed Jan 31 06:25:07 2018 +0300
travis: build DPDK with clang if it was selected
gcc-built DPDK is not fully compatible with clang (see
https://travis-ci.org/lumag/odp/jobs/335324053 for example). Use clang
to compile DPDK if selected compiler is clang.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/.travis.yml b/.travis.yml
index 09bb16f0..e36c7bcb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -102,6 +102,7 @@ before_install:
DPDK_CFLAGS="-m32" ;
else
DPDK_CROSS="$CROSS_GNU_TYPE-" ;
+ DPDK_CFLAGS="--target=$CROSS_GNU_TYPE" ;
fi
fi ;
export CXX="${CC/clang/clang++}";
@@ -162,30 +163,36 @@ install:
- |
case "$CROSS_ARCH" in
"arm64")
- DPDK_TARGET="arm64-armv8a-linuxapp-gcc"
+ DPDK_TARGET="arm64-armv8a-linuxapp-"
;;
"armhf")
- DPDK_TARGET="arm-armv7a-linuxapp-gcc"
+ DPDK_TARGET="arm-armv7a-linuxapp-"
;;
"i386")
- DPDK_TARGET="i686-native-linuxapp-gcc"
+ DPDK_TARGET="i686-native-linuxapp-"
;;
"")
- DPDK_TARGET="x86_64-native-linuxapp-gcc"
+ DPDK_TARGET="x86_64-native-linuxapp-"
DPDK_MACHINE=snb
;;
esac
- |
if [ -n "$DPDK_TARGET" ] ; then
+ if [ "${CC#clang}" != "${CC}" ] ; then
+ DPDKCC=clang ;
+ else
+ DPDKCC=gcc ;
+ fi
if [ -n "$DPDK_SHARED" ] ; then
- TARGET="$DPDK_TARGET"-shared
+ TARGET="${DPDK_TARGET}$DPDKCC"-shared
LIBDPDKEXT=so
export LD_LIBRARY_PATH="`pwd`/${TARGET}:$LD_LIBRARY_PATH"
echo $LD_LIBRARY_PATH
else
- TARGET="$DPDK_TARGET"
+ TARGET="${DPDK_TARGET}$DPDKCC"
LIBDPDKEXT=a
fi
+ DPDK_TARGET="${DPDK_TARGET}gcc"
if [ ! -f "dpdk/${TARGET}/lib/libdpdk.$LIBDPDKEXT" ]; then
git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v${DPDK_VERS} http://dpdk.org/git/dpdk dpdk
pushd dpdk
@@ -194,6 +201,7 @@ install:
sed -i -e 's/40900/40800/g' lib/librte_eal/common/include/arch/arm/rte_vect.h
sed -i -e 's/!(/!(defined(__arm__) \&\& defined(__clang__) || /g' lib/librte_eal/common/include/arch/arm/rte_byteorder.h
sed -i -e 's/__GNUC__/defined(__arm__) \&\& defined(__clang__) || __GNUC__/' lib/librte_eal/common/include/generic/rte_byteorder.h
+ sed -i -e 's,\$(CC),\0 $(EXTRA_CFLAGS),g' lib/librte_acl/Makefile
make config T=${DPDK_TARGET} O=${TARGET}
pushd ${TARGET}
sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config
@@ -207,8 +215,11 @@ install:
sed -ri -e 's,(CONFIG_RTE_EAL_IGB_UIO=).*,\1n,' .config
sed -ri -e 's,(CONFIG_RTE_KNI_KMOD=).*,\1n,' .config
fi
+ sed -ri -e 's,(CONFIG_RTE_TOOLCHAIN=).*,\1"'${DPDKCC}'",' .config
+ sed -ri -e '/CONFIG_RTE_TOOLCHAIN_.*/d' .config
+ echo CONFIG_RTE_TOOLCHAIN_${DPDKCC^^}=y >> .config
popd
- make build T=${DPDK_TARGET} O=${TARGET} EXTRA_CFLAGS="-fPIC $DPDK_CFLAGS" CROSS="$DPDK_CROSS" -j $(nproc)
+ make build O=${TARGET} EXTRA_CFLAGS="-fPIC $DPDK_CFLAGS" CROSS="$DPDK_CROSS" CC="$CC" HOSTCC=gcc -j $(nproc)
rm -r ./doc ./${TARGET}/app ./${TARGET}/build
popd
fi
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via c90cbf70a08d8d7124af226086e0525bcf4a9e50 (commit)
from 70f5c00a0713856daae879ebe3652d44c5d783f2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c90cbf70a08d8d7124af226086e0525bcf4a9e50
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Fri Feb 2 04:04:41 2018 +0300
travis: install codespell
Install codespell to let checkpatch find typical typos.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/.travis.yml b/.travis.yml
index 0f246198..09bb16f0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,7 @@ addons:
- gcc
- clang-3.8
- automake autoconf libtool libssl-dev graphviz mscgen
+ - codespell
- libpcap-dev
- libnuma-dev
# coverity_scan:
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 84c37a0fa947f1a81eef5aff225ecdf73ad3387c (commit)
from b95ccd3db6eeb7358a877541747e06354429acdd (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 84c37a0fa947f1a81eef5aff225ecdf73ad3387c
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Fri Feb 2 00:18:08 2018 +0300
travis: allow to fail checkpatch.pl
if checkpatch job is failed than it will be marked as failed.
But hole test suite will be passed.
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
diff --git a/.travis.yml b/.travis.yml
index b7d6cd41..0f246198 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -404,6 +404,7 @@ jobs:
compiler: clang-3.8
env: CROSS_ARCH="i386" CONF="--disable-abi-compat"
- stage: test
+ canfail: yes
env: TEST=checkpatch
compiler: gcc
install:
@@ -412,6 +413,8 @@ jobs:
- echo ${TRAVIS_COMMIT_RANGE};
- ODP_PATCHES=`echo ${TRAVIS_COMMIT_RANGE} | sed 's/\.//'`;
- ./scripts/ci-checkpatches.sh ${ODP_PATCHES};
+ allow_failures:
+ - canfail: yes
after_failure:
- cat config.log
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, caterpillar has been updated
via 30009156994928b0ad9f6c8932c20abef269c098 (commit)
from 079b524277414f57411d3223563353bbdbc1a536 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 30009156994928b0ad9f6c8932c20abef269c098
Author: Mykyta Iziumtsev <mykyta.iziumtsev(a)linaro.org>
Date: Thu Jan 25 16:53:57 2018 +0100
linux-gen: fix shippable 'make check' CI failures
Signed-off-by: Mykyta Iziumtsev <mykyta.iziumtsev(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Yi He <yi.he(a)linaro.org>
diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am
index dc3284b6..b3da45e2 100644
--- a/platform/linux-generic/Makefile.am
+++ b/platform/linux-generic/Makefile.am
@@ -248,6 +248,7 @@ __LIB__libodp_linux_la_SOURCES = \
pktio/common.c \
pktio/dpdk.c \
pktio/ethtool.c \
+ pktio/subsystem.c \
pktio/ipc.c \
pktio/loopback.c \
pktio/mdev.c \
@@ -258,7 +259,6 @@ __LIB__libodp_linux_la_SOURCES = \
pktio/ring.c \
pktio/socket.c \
pktio/socket_mmap.c \
- pktio/subsystem.c \
pktio/sysfs.c \
pktio/tap.c \
pool/generic.c \
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--