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 257b08b35ceea41bad5a7f1c626496cf111e657a (commit)
from 27a7923236030fed0272cc9072f0cde62496e91d (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 257b08b35ceea41bad5a7f1c626496cf111e657a
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Fri Feb 2 05:04:42 2018 +0300
build: limit symbol visibility for libodp-linux
If libodp-linux is linked with static DPDK libraries, it will re-export
all DPDK symbols. Use libtool's -export-symbols-regex to limit symbol
visibility.
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/platform/Makefile.inc b/platform/Makefile.inc
index 410204bf..a39cf69b 100644
--- a/platform/Makefile.inc
+++ b/platform/Makefile.inc
@@ -8,6 +8,12 @@ lib_LTLIBRARIES = $(LIB)/libodp-linux.la
AM_LDFLAGS = -version-number '$(ODP_LIBSO_VERSION)'
+if ODP_ABI_COMPAT
+AM_LDFLAGS += -export-symbols-regex '^(_deprecated)?odp_'
+else
+AM_LDFLAGS += -export-symbols-regex '^(_deprecated)?_?odp_'
+endif
+
AM_CFLAGS = "-DGIT_HASH=$(VERSION)"
AM_CFLAGS += $(VISIBILITY_CFLAGS)
-----------------------------------------------------------------------
Summary of changes:
platform/Makefile.inc | 6 ++++++
1 file changed, 6 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, api-next has been updated
via fa6d104f6031b9687ae5f60f87f5c2338ad9a83e (commit)
via 5865787680be13b47b777e8b0b64646755be41e0 (commit)
via c90cbf70a08d8d7124af226086e0525bcf4a9e50 (commit)
via 70f5c00a0713856daae879ebe3652d44c5d783f2 (commit)
via b72a57524cd02abc873c15a451c40e9cb2dd6ee5 (commit)
via c0bf89cf3c36c7f0504e78fe6b337e50e7dc17d4 (commit)
via 9c0c41b80fa0f7f7316115fd2228eec57dde5814 (commit)
via 2596adf51485f1d996e1e084e6f63dbe68b582a3 (commit)
via 545a65fc7064c13deda58fb86b1863365c318500 (commit)
via 84c37a0fa947f1a81eef5aff225ecdf73ad3387c (commit)
via b95ccd3db6eeb7358a877541747e06354429acdd (commit)
via 9a46e749c6da2d4a4aef7337ab8247b0cd0c2be9 (commit)
via 8e826373dcbe52eca0036deab60b4fb83917e237 (commit)
via ae02d6ca65ef5f484258c8ce4d477a06151713b6 (commit)
via 716b3335f9e3003dcb2d79404c91b21551c2077b (commit)
via 01ec93bbfffe740b1a12213ac201c89dd9f2ef71 (commit)
via 7c458a44a785ab664f2f92ed14845fa8ece6e0ec (commit)
via bbdc120cdca0ceb37cb20baa6e85796733083221 (commit)
from 7cc568a011f1623a343399f5cff6688baf834639 (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 fa6d104f6031b9687ae5f60f87f5c2338ad9a83e
Merge: 7cc568a0 58657876
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Mon Feb 5 10:16:16 2018 +0300
Merge branch 'master' into api-next
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 29 ++++--
configure.ac | 113 ++++++++++-----------
doc/platform-api-guide/Makefile.am | 3 +-
m4/odp_check_flag.m4 | 26 +++++
m4/odp_pthread.m4 | 7 ++
platform/Makefile.inc | 2 +
.../linux-generic/include/odp_ipsec_internal.h | 2 +-
platform/linux-generic/m4/configure.m4 | 2 +-
platform/linux-generic/m4/odp_pthread.m4 | 8 --
platform/linux-generic/odp_classification.c | 13 ++-
platform/linux-generic/odp_ipsec_sad.c | 45 ++++----
11 files changed, 149 insertions(+), 101 deletions(-)
create mode 100644 m4/odp_check_flag.m4
create mode 100644 m4/odp_pthread.m4
delete mode 100644 platform/linux-generic/m4/odp_pthread.m4
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 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
--