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 2bac2dbfd7a7c55e588a6b72af22ae7b810558f7 (commit) via e93df7d7b3b278dfadba4a9b7c01afc0dd411f13 (commit) via 39f85bc6cab329b4ae41ba2ec922370c24254325 (commit) from a652887cfebadb30843a6fbfe9d5655031d46881 (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 2bac2dbfd7a7c55e588a6b72af22ae7b810558f7 Author: Petri Savolainen petri.savolainen@linaro.org Date: Tue Feb 21 14:51:34 2017 +0200
linux-gen: dependencies: update cunit install instructions
Add missing commands and update instructions for installing into default location for 'make distcheck'.
Signed-off-by: Petri Savolainen petri.savolainen@linaro.org Reviewed-and-tested-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/DEPENDENCIES b/DEPENDENCIES index 574859c..6b69bd9 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -215,8 +215,22 @@ Prerequisites for building the OpenDataPlane (ODP) API tar -jxf *.bz2 cd CUnit* ./bootstrap + + # Install CUnit into the default location (/usr/local). This is needed for + # 'make distcheck'. + ./configure + make + sudo make install + + # ... OR ... Install CUnit into user defined location. The same path is + # used in step 4.4 --with-cunit-path=/home/<my_cunit_path> + ./configure --prefix=/home/<my_cunit_path> + make make install - #In Step 4.4 use --with-cunit-path=/home/${USER}/CUnitHome + + # Also (in Ubuntu at least) run ldconfig to update shared lib cache or + # reboot, before trying to run e.g. 'make distcheck'. + sudo ldconfig
4.3 Cross compile of Cunit
@@ -227,8 +241,11 @@ Prerequisites for building the OpenDataPlane (ODP) API
4.4 Using Cunit with ODP $ Add the configuration option to the regular configuration options - ./configure --enable-cunit #if cunit is in the PATH - ./configure --with-cunit-path=DIR #only if you need a path to Cunit libs and headers + # Use the default path ... + ./configure --enable-cunit + + # ... OR the user defined path. + ./configure --with-cunit-path=/home/<my_cunit_path>
5.0 Documentation Images & Doxygen
commit e93df7d7b3b278dfadba4a9b7c01afc0dd411f13 Author: Petri Savolainen petri.savolainen@linaro.org Date: Tue Feb 21 14:51:33 2017 +0200
helper: pkgconfig: remove linux-generic from helper lib name
Helper library should be built ABI compatible when it's part of a distro. There's no need to have implementation specific helper libs. Those would be needed only if non-ABI compat helper libraries need to be distributed.
Signed-off-by: Petri Savolainen petri.savolainen@linaro.org Reviewed-and-tested-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/configure.ac b/configure.ac index 1f9e5cf..8be06de 100644 --- a/configure.ac +++ b/configure.ac @@ -328,7 +328,7 @@ AM_CXXFLAGS="-std=c++11"
AC_CONFIG_FILES([Makefile pkgconfig/libodp-linux.pc - pkgconfig/libodphelper-linux-generic.pc + pkgconfig/libodphelper.pc ])
AC_SEARCH_LIBS([timer_create],[rt posix4]) diff --git a/helper/Makefile.am b/helper/Makefile.am index b478dcd..2c5452d 100644 --- a/helper/Makefile.am +++ b/helper/Makefile.am @@ -1,7 +1,7 @@ include $(top_srcdir)/platform/@with_platform@/Makefile.inc
pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = $(top_builddir)/pkgconfig/libodphelper-linux-generic.pc +pkgconfig_DATA = $(top_builddir)/pkgconfig/libodphelper.pc
LIB = $(top_builddir)/lib AM_CFLAGS += -I$(srcdir)/include diff --git a/pkgconfig/libodphelper-linux-generic.pc.in b/pkgconfig/libodphelper.pc.in similarity index 72% rename from pkgconfig/libodphelper-linux-generic.pc.in rename to pkgconfig/libodphelper.pc.in index cab7be2..b14335e 100644 --- a/pkgconfig/libodphelper-linux-generic.pc.in +++ b/pkgconfig/libodphelper.pc.in @@ -3,9 +3,9 @@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@
-Name: libodphelper-linux-generic +Name: libodphelper Description: Helper for the ODP packet processing engine Version: @PKGCONFIG_VERSION@ -Libs: -L${libdir} -lodphelper-linux-generic +Libs: -L${libdir} -lodphelper Libs.private: Cflags: -I${includedir}
commit 39f85bc6cab329b4ae41ba2ec922370c24254325 Author: Petri Savolainen petri.savolainen@linaro.org Date: Tue Feb 21 14:51:32 2017 +0200
helper: linux: add common linux helper file
Added common helper file for backwards compatibility. This file includes all headers under helper/linux directory. It's installed only with --enable-helper-linux configuration option.
Signed-off-by: Petri Savolainen petri.savolainen@linaro.org Reviewed-and-tested-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/helper/Makefile.am b/helper/Makefile.am index 5757c7c..b478dcd 100644 --- a/helper/Makefile.am +++ b/helper/Makefile.am @@ -32,6 +32,9 @@ helperinclude_HEADERS = \ $(srcdir)/include/odp/helper/udp.h
if helper_linux +helperinclude_HEADERS += \ + $(srcdir)/include/odp/helper/linux.h + helperlinuxincludedir = $(includedir)/odp/helper/linux helperlinuxinclude_HEADERS = \ $(srcdir)/include/odp/helper/linux/pthread.h \ diff --git a/helper/include/odp/helper/linux.h b/helper/include/odp/helper/linux.h new file mode 100644 index 0000000..396203a --- /dev/null +++ b/helper/include/odp/helper/linux.h @@ -0,0 +1,27 @@ +/* Copyright (c) 2017, Linaro Limited + * All rights reserved + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +/** + * @file + * + * All ODP Linux helpers + * + */ + +#ifndef ODP_HELPER_LINUX_H_ +#define ODP_HELPER_LINUX_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#include <odp/helper/linux/process.h> +#include <odp/helper/linux/pthread.h> + +#ifdef __cplusplus +} +#endif +#endif
-----------------------------------------------------------------------
Summary of changes: DEPENDENCIES | 23 +++++++++++++++--- configure.ac | 2 +- helper/Makefile.am | 5 +++- helper/include/odp/helper/linux.h | 27 ++++++++++++++++++++++ ...lper-linux-generic.pc.in => libodphelper.pc.in} | 4 ++-- 5 files changed, 54 insertions(+), 7 deletions(-) create mode 100644 helper/include/odp/helper/linux.h rename pkgconfig/{libodphelper-linux-generic.pc.in => libodphelper.pc.in} (72%)
hooks/post-receive