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 10ef82e6d4db8c02dd5caa2e97172688e829b90c (commit)
from 79336f5eaee25168a5e4ad7fc0aee07395d4ca1f (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 10ef82e6d4db8c02dd5caa2e97172688e829b90c
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Mon Jul 31 18:53:22 2017 +0300
test: fix cunit include path
If CUnit is placed in non standard directory and path
to it specified with configure option following error
occurs:
fatal error: CUnit/Basic.h: No such file or directory
Patch corrects CFLAGS to make compilation pass.
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
diff --git a/test/Makefile.inc b/test/Makefile.inc
index bf31b374..0fbc3c42 100644
--- a/test/Makefile.inc
+++ b/test/Makefile.inc
@@ -16,6 +16,7 @@ INCFLAGS = \
-I$(top_builddir)/include
AM_CFLAGS += $(INCFLAGS)
+AM_CPPFLAGS += $(CUNIT_CPPFLAGS)
AM_CXXFLAGS = $(INCFLAGS)
AM_LDFLAGS += -L$(LIB)
-----------------------------------------------------------------------
Summary of changes:
test/Makefile.inc | 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 79336f5eaee25168a5e4ad7fc0aee07395d4ca1f (commit)
via ed136f929f0edf2edd4bb8cf2243b678b5f5971e (commit)
via c84d3a864bf6471b2a1d433ad378c3b609460e5d (commit)
from b6308d6f7cf7bf42b5ff6807ae659db83a66ce78 (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 79336f5eaee25168a5e4ad7fc0aee07395d4ca1f
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Tue Jul 25 21:13:22 2017 +0300
m4: update valgrind check macro
Update valgrind check file from aclocal-archive. Current one contains
several non-POSIX-compliant constructs.
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/m4/ax_valgrind_check.m4 b/m4/ax_valgrind_check.m4
index ccee86b2..b18babe6 100644
--- a/m4/ax_valgrind_check.m4
+++ b/m4/ax_valgrind_check.m4
@@ -4,19 +4,24 @@
#
# SYNOPSIS
#
+# AX_VALGRIND_DFLT(memcheck|helgrind|drd|sgcheck, on|off)
# AX_VALGRIND_CHECK()
#
# DESCRIPTION
#
-# Checks whether Valgrind is present and, if so, allows running `make
-# check` under a variety of Valgrind tools to check for memory and
-# threading errors.
+# AX_VALGRIND_CHECK checks whether Valgrind is present and, if so, allows
+# running `make check` under a variety of Valgrind tools to check for
+# memory and threading errors.
#
# Defines VALGRIND_CHECK_RULES which should be substituted in your
# Makefile; and $enable_valgrind which can be used in subsequent configure
# output. VALGRIND_ENABLED is defined and substituted, and corresponds to
# the value of the --enable-valgrind option, which defaults to being
-# enabled if Valgrind is installed and disabled otherwise.
+# enabled if Valgrind is installed and disabled otherwise. Individual
+# Valgrind tools can be disabled via --disable-valgrind-<tool>, the
+# default is configurable via the AX_VALGRIND_DFLT command or is to use
+# all commands not disabled via AX_VALGRIND_DFLT. All AX_VALGRIND_DFLT
+# calls must be made before the call to AX_VALGRIND_CHECK.
#
# If unit tests are written using a shell script and automake's
# LOG_COMPILER system, the $(VALGRIND) variable can be used within the
@@ -28,6 +33,7 @@
#
# configure.ac:
#
+# AX_VALGRIND_DFLT([sgcheck], [off])
# AX_VALGRIND_CHECK
#
# Makefile.am:
@@ -40,22 +46,38 @@
# which includes "@VALGRIND_CHECK_RULES@" (assuming the module has been
# configured with --enable-valgrind). Running `make check-valgrind` in
# that directory will run the module's test suite (`make check`) once for
-# each of the available Valgrind tools (out of memcheck, helgrind, drd and
-# sgcheck), and will output results to test-suite-$toolname.log for each.
-# The target will succeed if there are zero errors and fail otherwise.
+# each of the available Valgrind tools (out of memcheck, helgrind and drd)
+# while the sgcheck will be skipped unless enabled again on the
+# commandline with --enable-valgrind-sgcheck. The results for each check
+# will be output to test-suite-$toolname.log. The target will succeed if
+# there are zero errors and fail otherwise.
+#
+# Alternatively, a "check-valgrind-$TOOL" rule will be added, for $TOOL in
+# memcheck, helgrind, drd and sgcheck. These are useful because often only
+# some of those tools can be ran cleanly on a codebase.
#
# The macro supports running with and without libtool.
#
# LICENSE
#
-# Copyright (c) 2014, 2015 Philip Withnall <philip.withnall(a)collabora.co.uk>
+# Copyright (c) 2014, 2015, 2016 Philip Withnall <philip.withnall(a)collabora.co.uk>
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 3
+#serial 13
+
+dnl Configured tools
+m4_define([valgrind_tool_list], [[memcheck], [helgrind], [drd], [sgcheck]])
+m4_set_add_all([valgrind_exp_tool_set], [sgcheck])
+m4_foreach([vgtool], [valgrind_tool_list],
+ [m4_define([en_dflt_valgrind_]vgtool, [on])])
+
+AC_DEFUN([AX_VALGRIND_DFLT],[
+ m4_define([en_dflt_valgrind_$1], [$2])
+])dnl
AC_DEFUN([AX_VALGRIND_CHECK],[
dnl Check for --enable-valgrind
@@ -63,36 +85,65 @@ AC_DEFUN([AX_VALGRIND_CHECK],[
[AS_HELP_STRING([--enable-valgrind], [Whether to enable Valgrind on the unit tests])],
[enable_valgrind=$enableval],[enable_valgrind=])
- # Check for Valgrind.
- AC_CHECK_PROG([VALGRIND],[valgrind],[valgrind])
-
- AS_IF([test "$enable_valgrind" = "yes" -a "$VALGRIND" = ""],[
- AC_MSG_ERROR([Could not find valgrind; either install it or reconfigure with --disable-valgrind])
+ AS_IF([test "$enable_valgrind" != "no"],[
+ # Check for Valgrind.
+ AC_CHECK_PROG([VALGRIND],[valgrind],[valgrind])
+ AS_IF([test "$VALGRIND" = ""],[
+ AS_IF([test "$enable_valgrind" = "yes"],[
+ AC_MSG_ERROR([Could not find valgrind; either install it or reconfigure with --disable-valgrind])
+ ],[
+ enable_valgrind=no
+ ])
+ ],[
+ enable_valgrind=yes
+ ])
])
- AS_IF([test "$enable_valgrind" != "no"],[enable_valgrind=yes])
AM_CONDITIONAL([VALGRIND_ENABLED],[test "$enable_valgrind" = "yes"])
AC_SUBST([VALGRIND_ENABLED],[$enable_valgrind])
# Check for Valgrind tools we care about.
- m4_define([valgrind_tool_list],[[memcheck], [helgrind], [drd], [exp-sgcheck]])
-
- AS_IF([test "$VALGRIND" != ""],[
- m4_foreach([vgtool],[valgrind_tool_list],[
- m4_define([vgtooln],AS_TR_SH(vgtool))
- m4_define([ax_cv_var],[ax_cv_valgrind_tool_]vgtooln)
- AC_CACHE_CHECK([for Valgrind tool ]vgtool,ax_cv_var,[
- ax_cv_var=
- AS_IF([`$VALGRIND --tool=vgtool --help 2&>/dev/null`],[
- ax_cv_var="vgtool"
+ [valgrind_enabled_tools=]
+ m4_foreach([vgtool],[valgrind_tool_list],[
+ AC_ARG_ENABLE([valgrind-]vgtool,
+ m4_if(m4_defn([en_dflt_valgrind_]vgtool),[off],dnl
+[AS_HELP_STRING([--enable-valgrind-]vgtool, [Whether to use ]vgtool[ during the Valgrind tests])],dnl
+[AS_HELP_STRING([--disable-valgrind-]vgtool, [Whether to skip ]vgtool[ during the Valgrind tests])]),
+ [enable_valgrind_]vgtool[=$enableval],
+ [enable_valgrind_]vgtool[=])
+ AS_IF([test "$enable_valgrind" = "no"],[
+ enable_valgrind_]vgtool[=no],
+ [test "$enable_valgrind_]vgtool[" ]dnl
+m4_if(m4_defn([en_dflt_valgrind_]vgtool), [off], [= "yes"], [!= "no"]),[
+ AC_CACHE_CHECK([for Valgrind tool ]vgtool,
+ [ax_cv_valgrind_tool_]vgtool,[
+ ax_cv_valgrind_tool_]vgtool[=no
+ m4_set_contains([valgrind_exp_tool_set],vgtool,
+ [m4_define([vgtoolx],[exp-]vgtool)],
+ [m4_define([vgtoolx],vgtool)])
+ AS_IF([`$VALGRIND --tool=]vgtoolx[ --help >/dev/null 2>&1`],[
+ ax_cv_valgrind_tool_]vgtool[=yes
])
])
-
- AC_SUBST([VALGRIND_HAVE_TOOL_]vgtooln,[$ax_cv_var])
+ AS_IF([test "$ax_cv_valgrind_tool_]vgtool[" = "no"],[
+ AS_IF([test "$enable_valgrind_]vgtool[" = "yes"],[
+ AC_MSG_ERROR([Valgrind does not support ]vgtool[; reconfigure with --disable-valgrind-]vgtool)
+ ],[
+ enable_valgrind_]vgtool[=no
+ ])
+ ],[
+ enable_valgrind_]vgtool[=yes
+ ])
])
+ AS_IF([test "$enable_valgrind_]vgtool[" = "yes"],[
+ valgrind_enabled_tools="$valgrind_enabled_tools ]m4_bpatsubst(vgtool,[^exp-])["
+ ])
+ AC_SUBST([ENABLE_VALGRIND_]vgtool,[$enable_valgrind_]vgtool)
])
+ AC_SUBST([valgrind_tools],["]m4_join([ ], valgrind_tool_list)["])
+ AC_SUBST([valgrind_enabled_tools],[$valgrind_enabled_tools])
-VALGRIND_CHECK_RULES='
+[VALGRIND_CHECK_RULES='
# Valgrind check
#
# Optional:
@@ -112,7 +163,6 @@ VALGRIND_drd_FLAGS ?=
VALGRIND_sgcheck_FLAGS ?=
# Internal use
-valgrind_tools ?= memcheck helgrind drd sgcheck
valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools)))
valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS)
@@ -123,6 +173,9 @@ valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS)
valgrind_quiet = $(valgrind_quiet_$(V))
valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY))
valgrind_quiet_0 = --quiet
+valgrind_v_use = $(valgrind_v_use_$(V))
+valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY))
+valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%,%,$''@):;
# Support running with and without libtool.
ifneq ($(LIBTOOL),)
@@ -134,10 +187,8 @@ endif
# Use recursive makes in order to ignore errors during check
check-valgrind:
ifeq ($(VALGRIND_ENABLED),yes)
- -$(foreach tool,$(valgrind_tools), \
- $(if $(VALGRIND_HAVE_TOOL_$(tool))$(VALGRIND_HAVE_TOOL_exp_$(tool)), \
- $(MAKE) $(AM_MAKEFLAGS) -k check-valgrind-tool VALGRIND_TOOL=$(tool); \
- ) \
+ -$(A''M_V_at)$(foreach tool,$(valgrind_enabled_tools), \
+ $(MAKE) $(AM_MAKEFLAGS) -k check-valgrind-$(tool); \
)
else
@echo "Need to reconfigure with --enable-valgrind"
@@ -154,25 +205,31 @@ VALGRIND_LOG_COMPILER = \
$(valgrind_lt) \
$(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)
-check-valgrind-tool:
-ifeq ($(VALGRIND_ENABLED),yes)
- $(MAKE) check-TESTS \
- TESTS_ENVIRONMENT="$(VALGRIND_TESTS_ENVIRONMENT)" \
- LOG_COMPILER="$(VALGRIND_LOG_COMPILER)" \
- LOG_FLAGS="$(valgrind_$(VALGRIND_TOOL)_flags)" \
- TEST_SUITE_LOG=test-suite-$(VALGRIND_TOOL).log
+define valgrind_tool_rule =
+check-valgrind-$(1):
+ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes)
+ $$(valgrind_v_use)$$(MAKE) check-TESTS \
+ TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \
+ LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \
+ LOG_FLAGS="$$(valgrind_$(1)_flags)" \
+ TEST_SUITE_LOG=test-suite-$(1).log
+else ifeq ($$(VALGRIND_ENABLED),yes)
+ @echo "Need to reconfigure with --enable-valgrind-$(1)"
else
@echo "Need to reconfigure with --enable-valgrind"
endif
+endef
+
+$(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool))))
-DISTCHECK_CONFIGURE_FLAGS ?=
-DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
+A''M_DISTCHECK_CONFIGURE_FLAGS ?=
+A''M_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
MOSTLYCLEANFILES ?=
MOSTLYCLEANFILES += $(valgrind_log_files)
-.PHONY: check-valgrind check-valgrind-tool
-'
+.PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools))
+']
AC_SUBST([VALGRIND_CHECK_RULES])
m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([VALGRIND_CHECK_RULES])])
commit ed136f929f0edf2edd4bb8cf2243b678b5f5971e
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Tue Jul 25 20:57:39 2017 +0300
configure: remove non-standard test usage
According to POSIX it is correct to check for string equality using one
equal sign, not two signs. POSIX-strict shells will return incorrect
result on such constructions.
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/configure.ac b/configure.ac
index e4903c7a..51dd9352 100644
--- a/configure.ac
+++ b/configure.ac
@@ -115,7 +115,7 @@ AC_SUBST([ARCH_DIR])
##########################################################################
# Warn on the defaults if arch is undefined
##########################################################################
-if test "${ARCH_DIR}" == "undefined";
+if test "${ARCH_DIR}" = "undefined";
then
echo "ARCH_DIR is undefined, please add your ARCH_DIR based on host=${host}"
exit 1
@@ -135,7 +135,7 @@ AS_CASE([$host],
)
AC_SUBST([ARCH_ABI])
-if test "${ARCH_ABI}" == "undefined";
+if test "${ARCH_ABI}" = "undefined";
then
echo "ARCH_ABI is undefined, please add your ARCH_ABI based on host=${host}"
exit 1
@@ -164,7 +164,7 @@ AC_SUBST([platform_with_platform], ["platform/${with_platform}"])
# Run platform specific checks and settings
##########################################################################
IMPLEMENTATION_NAME=""
-if test "${with_platform}" == "linux-generic";
+if test "${with_platform}" = "linux-generic";
then
m4_include([./platform/linux-generic/m4/configure.m4])
m4_include([./test/linux-generic/m4/configure.m4])
diff --git a/platform/linux-generic/m4/odp_pcap.m4 b/platform/linux-generic/m4/odp_pcap.m4
index ffdff17c..d7295f21 100644
--- a/platform/linux-generic/m4/odp_pcap.m4
+++ b/platform/linux-generic/m4/odp_pcap.m4
@@ -8,7 +8,7 @@ AC_CHECK_HEADER(pcap/pcap.h,
[])],
[])
-if test $have_pcap == yes; then
+if test "$have_pcap" = "yes"; then
ODP_CFLAGS="$AM_CFLAGS -DHAVE_PCAP"
PCAP_LIBS="-lpcap"
fi
commit c84d3a864bf6471b2a1d433ad378c3b609460e5d
Author: Balakrishna Garapati <balakrishna.garapati(a)linaro.org>
Date: Tue Jul 25 10:06:59 2017 +0200
example:use dpdk pktio with examples
flag was not added to example/ during the commit:
89b7caa
Signed-off-by: Balakrishna Garapati <balakrishna.garapati(a)linaro.org>
Reviewed-by: Yi He <yi.he(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/example/Makefile.inc b/example/Makefile.inc
index a4f1047b..c6d7ff5f 100644
--- a/example/Makefile.inc
+++ b/example/Makefile.inc
@@ -1,6 +1,6 @@
include $(top_srcdir)/platform/@with_platform@/Makefile.inc
LIB = $(top_builddir)/lib
-LDADD = $(LIB)/libodp-linux.la $(LIB)/libodphelper.la
+LDADD = $(LIB)/libodp-linux.la $(LIB)/libodphelper.la $(DPDK_PMDS)
AM_CFLAGS += \
-I$(srcdir) \
-I$(top_srcdir)/example \
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 6 +-
example/Makefile.inc | 2 +-
m4/ax_valgrind_check.m4 | 145 +++++++++++++++++++++++-----------
platform/linux-generic/m4/odp_pcap.m4 | 2 +-
4 files changed, 106 insertions(+), 49 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 b6308d6f7cf7bf42b5ff6807ae659db83a66ce78 (commit)
from 422ed4f2be27223b53c39a3d3f7b973781a6a420 (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 b6308d6f7cf7bf42b5ff6807ae659db83a66ce78
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Wed Jul 26 09:46:38 2017 +0300
travis: enable ccache and pip cache
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 b1f8e4ce..ed7eb2ba 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -58,6 +58,10 @@ compiler:
- gcc
- clang-3.8
+cache:
+ - ccache
+ - pip
+
env:
- CONF=""
- CONF="--disable-abi-compat"
@@ -82,6 +86,8 @@ before_install:
sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install build-essential gcc-"$CROSS_GNU_TYPE" pkg-config-"$CROSS_GNU_TYPE" ;
sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install libc6-dev:"$CROSS_ARCH" libssl-dev:"$CROSS_ARCH" zlib1g-dev:"$CROSS_ARCH" libconfig-dev:"$CROSS_ARCH" ;
fi
+ - if test ! -L /usr/lib/ccache/${CC%% *} ; then sudo ln -s -t /usr/lib/ccache/ `which ${CC%% *}` ; fi
+ - ccache -s
# Install cunit for the validation tests because distro version is too old and fails C99 compile
- sudo apt-get remove libcunit1-dev libcunit1
@@ -151,6 +157,7 @@ script:
- echo "Static link.."
- ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig pkg-config --cflags --libs libodp-linux --static` -static
- ./odp_hello_inst
+ - ccache -s
jobs:
include:
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 7 +++++++
1 file changed, 7 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, master has been updated
via 422ed4f2be27223b53c39a3d3f7b973781a6a420 (commit)
from d3cae7aa012174bac6eecdca4ee3189c62400c48 (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 422ed4f2be27223b53c39a3d3f7b973781a6a420
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Wed Jul 19 16:38:19 2017 +0300
travis: cache dpdk directory
Cache DPDK directory so each individual test doesn't have to download and
build the code. Speeds up each tests which require dpdk by ~3 minutes.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
diff --git a/.travis.yml b/.travis.yml
index 93567912..b1f8e4ce 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,6 +8,9 @@
# See https://scan.coverity.com/travis_ci
language: c
+cache:
+ directories:
+ - dpdk
sudo: required
dist: trusty
group: deprecated-2017Q2
@@ -108,17 +111,21 @@ install:
- gem install asciidoctor
- PATH=${PATH//:\.\/node_modules\/\.bin/}
-# DPDK pktio
+# DPDK pktio. Note that cache must be purged if dpdk version changes.
- TARGET=${TARGET:-"x86_64-native-linuxapp-gcc"}
- - git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v17.02 http://dpdk.org/git/dpdk dpdk
- - pushd dpdk
- - git log --oneline --decorate
- - make config T=${TARGET} O=${TARGET}
- - pushd ${TARGET}
- - sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config
- - popd
- - make install T=${TARGET} EXTRA_CFLAGS="-fPIC"
- - popd
+ - |
+ if [ ! -f "dpdk/${TARGET}/lib/libdpdk.a" ]; then
+ git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v17.02 http://dpdk.org/git/dpdk dpdk
+ pushd dpdk
+ git log --oneline --decorate
+ make config T=${TARGET} O=${TARGET}
+ pushd ${TARGET}
+ sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config
+ popd
+ make install T=${TARGET} EXTRA_CFLAGS="-fPIC"
+ rm -r ./doc ./${TARGET}/app ./${TARGET}/build
+ popd
+ fi
# Netmap pktio
- git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v11.2 https://github.com/luigirizzo/netmap.git
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 27 +++++++++++++++++----------
1 file changed, 17 insertions(+), 10 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 f4f7679d16917d9a7c1b2220e351fd27733ee96b (commit)
from fa9550ca8f4f0a77baf6d156b441fa2d703bbdf8 (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 f4f7679d16917d9a7c1b2220e351fd27733ee96b
Author: Bill Fischofer <bill.fischofer(a)linaro.org>
Date: Mon Feb 13 16:47:53 2017 -0600
doc: userguide: add portability and usage info for odp time apis
Clarify and expand on portability and performance considerations
regarding the use of the ODP time APIs in fulfillment of JIRA
issue https://projects.linaro.org/browse/ODP-575
Signed-off-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide/users-guide.adoc
index ead8da5e..18d8cb8f 100644
--- a/doc/users-guide/users-guide.adoc
+++ b/doc/users-guide/users-guide.adoc
@@ -362,31 +362,41 @@ PktIOs are represented by handles of abstract type `odp_pktio_t`.
=== Time
The time API is used to measure time intervals and track time flow of an
-application and presents a convenient way to get access to a time source.
-The time API consists of two main parts: local time API and global time API.
+application and presents a convenient way to get access to an
+implementation-defined time source. The time API consists of two main parts:
+local time API and global time API.
==== Local time
-The local time API is designed to be used within one thread and can be faster
-than the global time API. The local time API cannot be used between threads as
-time consistency is not guaranteed, and in some cases that's enough.
-So, local time stamps are local to the calling thread and must not be shared
-with other threads. Current local time can be read with `odp_time_local()`.
+The local time API is designed to be used within one thread and obtaining
+local time may be more efficient in some implementations than global
+time. Local time stamps are local to the calling thread and should not be
+shared with other threads, as local time is not guaranteed to be consistent
+between threads. Current local time can be read with `odp_time_local()`.
==== Global time
The global time API is designed to be used for tracking time between threads.
-So, global time stamps can be shared between threads. Current global time can
-be read with `odp_time_global()`.
+So, global time stamps may safely be shared between threads. Current global
+time can be read with `odp_time_global()`.
-Both, local and global time is not wrapped during the application life cycle.
+Both local and global time is not wrapped during the application life cycle.
The time API includes functions to operate with time, such as `odp_time_diff()`,
`odp_time_sum()`, `odp_time_cmp()`, conversion functions like
`odp_time_to_ns()`, `odp_time_local_from_ns()`, `odp_time_global_from_ns()`.
To get rate of time source `odp_time_local_res()`, `odp_time_global_res()`
are used. To wait, `odp_time_wait_ns()` and `odp_time_wait_until()` are used,
-during witch a thread potentially busy loop the entire wait time.
+during which a thread potentially busy loops the entire wait time.
The `odp_time_t` opaque type represents local or global timestamps.
+==== Portability Considerations
+The ODP Time APIs are designed to permit high-precision relative time
+measurement within an ODP application. No attempt is made to correlate an
+`odp_time_t` object with "wall time" or any other external time reference.
+As defined by the ODP specification, `odp_time_t` values are required to
+be unique over a span of at least 10 years. Most implementations will choose
+to implement time values using 64-bit values, whose wrap times exceed 500
+years, making wrapping concerns not relevant to ODP applications.
+
=== Timer
Timers are how ODP applications measure and respond to the passage of time.
Timers are drawn from specialized pools called timer pools that have their
-----------------------------------------------------------------------
Summary of changes:
doc/users-guide/users-guide.adoc | 32 +++++++++++++++++++++-----------
1 file changed, 21 insertions(+), 11 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, monarch_lts has been updated
via 759b6d5da6617af244765983d0b8bfbb26f41890 (commit)
from a28e0db6cdae7eb4f047cd79698ceadf96feff7f (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 759b6d5da6617af244765983d0b8bfbb26f41890
Author: Bill Fischofer <bill.fischofer(a)linaro.org>
Date: Tue Jul 11 21:01:07 2017 -0500
changelog: document changes for v1.11.0.1 service release
Signed-off-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/CHANGELOG b/CHANGELOG
index 1d652a8d..e4178fcd 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,33 @@
+== OpenDataPlane (1.11.0.1)
+v1.11.0.1 is a minor service release of the Monarch LTS (Long Term Support)
+release of ODP. It incorporates several bug fixes and is otherwise unchanged
+from the base Monarch LTS release
+
+=== Bug Fixes (With Numbers)
+==== https://bugs.linaro.org/show_bug.cgi?id=2402[Bug 2402]
+Doxygen warning for ODP_BIG_ENDIAN_BITFIELD
+
+==== https://bugs.linaro.org/show_bug.cgi?id=2704[Bug 2704]
+Builds TAR have no .scmversion
+
+==== https://bugs.linaro.org/show_bug.cgi?id=2942[Bug 2942]
+Compilation fails using clang 4.0.0
+
+==== https://bugs.linaro.org/show_bug.cgi?id=2952[Bug 2952]
+doxygen errors and travis does not catch them
+
+==== https://bugs.linaro.org/show_bug.cgi?id=3027[Bug 3027]
+Compilation failures using GCC 7 series
+
+==== https://bugs.linaro.org/show_bug.cgi?id=3039[Bug 3039]
+Socket pktio recv fails on large number of packet
+
+=== Bug Fixes (Unnumbered)
+* git_hash: handle git worktree
+* Use PRIu32 to print uint32_t values
+* configure: remove dependency on autoconf-archive
+* Fix compilation with OpenSSL 1.1.y
+
== OpenDataPlane (1.11.0.0)
ODP v1.11.0 is the base tag and branch for the Monarch LTS (Long Term Support)
release of ODP.
-----------------------------------------------------------------------
Summary of changes:
CHANGELOG | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
hooks/post-receive
--