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 3c02836d9d9ca16b1277bdd30e523779b9fe8374 (commit) via bb003e11ae7bfacc1fb1e9b8276dd49a32a31b4e (commit) via b5dfcef4586e0a1618c202aaeb7e863c17cc4d06 (commit) from 6b5cdc77eb9759a2349b10372a964648559bc92c (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 3c02836d9d9ca16b1277bdd30e523779b9fe8374 Author: Matias Elo matias.elo@nokia.com Date: Fri Dec 15 15:23:59 2017 +0200
DEPENDENCIES: update requirements for Red Hat
Update instructions to support RHEL 7.4.
Signed-off-by: Matias Elo matias.elo@nokia.com Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Reviewed-by: Dmitry Eremin-Solenikov dmitry.ereminsolenikov@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/DEPENDENCIES b/DEPENDENCIES index 68c7b8be..0805a183 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -19,7 +19,7 @@ Prerequisites for building the OpenDataPlane (ODP) API
3. Required libraries
- Libraries currently required to link: openssl + Libraries currently required to link: openssl, libatomic
3.1 OpenSSL native compile
@@ -163,6 +163,8 @@ Prerequisites for building the OpenDataPlane (ODP) API DPDK pktio adds a depency to NUMA library. # Debian/Ubuntu $ sudo apt-get install libnuma-dev + # CentOS/RedHat/Fedora + $ sudo yum install numactl-devel
Note: only packet I/O is accelerated with DPDK. Use https://git.linaro.org/lng/odp-dpdk.git @@ -227,14 +229,16 @@ Prerequisites for building the OpenDataPlane (ODP) API make sudo make install
+ # On RedHat you also have to add path /usr/local/lib to /etc/ld.so.conf + # ... OR ... Install CUnit into user defined location. The same path is # used in step 4.4: PKG_CONFIG_PATH=/home/<my_cunit_path>/lib/pkgconfig ./configure --prefix=/home/<my_cunit_path> make make install
- # Also (in Ubuntu at least) run ldconfig to update shared lib cache or - # reboot, before trying to run e.g. 'make distcheck'. + # Also (in Ubuntu/RedHat 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
commit bb003e11ae7bfacc1fb1e9b8276dd49a32a31b4e Author: Matias Elo matias.elo@nokia.com Date: Mon Dec 18 16:22:42 2017 +0200
test: odp_pktio_ordered: run test only if pcap is available
The odp_pktio_ordered test depends on pcap pktio, so skip it if pcap is not available.
Signed-off-by: Matias Elo matias.elo@nokia.com Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Reviewed-by: Dmitry Eremin-Solenikov dmitry.ereminsolenikov@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/test/performance/Makefile.am b/test/performance/Makefile.am index 1dccd82e..9c709e79 100644 --- a/test/performance/Makefile.am +++ b/test/performance/Makefile.am @@ -12,10 +12,13 @@ COMPILE_ONLY = odp_l2fwd \ odp_scheduling
TESTSCRIPTS = odp_l2fwd_run.sh \ - odp_pktio_ordered_run.sh \ odp_sched_latency_run.sh \ odp_scheduling_run.sh
+if HAVE_PCAP +TESTSCRIPTS += odp_pktio_ordered_run.sh +endif + TEST_EXTENSIONS = .sh
if test_perf
commit b5dfcef4586e0a1618c202aaeb7e863c17cc4d06 Author: Matias Elo matias.elo@nokia.com Date: Mon Dec 18 15:24:04 2017 +0200
test: disable C++ test if no compiler is found
Enables building ODP on systems which have no C++ compiler available.
Signed-off-by: Matias Elo matias.elo@nokia.com Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Reviewed-by: Dmitry Eremin-Solenikov dmitry.ereminsolenikov@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/test/m4/miscellaneous.m4 b/test/m4/miscellaneous.m4 index dac236a6..07c32377 100644 --- a/test/m4/miscellaneous.m4 +++ b/test/m4/miscellaneous.m4 @@ -2,7 +2,21 @@ # Enable/disable test-cpp ########################################################################## AC_ARG_ENABLE([test-cpp], - [AS_HELP_STRING([--disable-test-cpp], [run basic test aginast cpp])], + [AS_HELP_STRING([--disable-test-cpp], [run basic test against cpp])], [test_cpp=$enableval], - [test_cpp=yes]) + [test_cpp=check]) + +if test "x$test_cpp" != "xno" ; then + AC_CACHE_CHECK([if C++ compiler works], [odp_cv_cxx_works], + [AC_LANG_PUSH([C++]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], [odp_cv_cxx_works=yes], + [odp_cv_cxx_works=no]) + AC_LANG_POP([C++])]) + AS_IF([test "x$test_cpp$odp_cv_cxx_works" = "xyesno"], + [AC_MSG_FAILURE([C++ compiler test failed])], + [test "x$test_cpp$odp_cv_cxx_works" = "xcheckno"], + [AC_MSG_NOTICE([disabling C++ test]) ; test_cpp=no], + [test_cpp=yes]) +fi + AM_CONDITIONAL([test_cpp], [test x$test_cpp = xyes ])
-----------------------------------------------------------------------
Summary of changes: DEPENDENCIES | 10 +++++++--- test/m4/miscellaneous.m4 | 18 ++++++++++++++++-- test/performance/Makefile.am | 5 ++++- 3 files changed, 27 insertions(+), 6 deletions(-)
hooks/post-receive