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 41fd242a0685e79cb6f1b1e1826e6734bea2f359 (commit)
via 35a90a547466db90c00d6375d8d9a3573e84e99b (commit)
from 9a1d48b1262d88e55922c4e1ed9f91ed2e3376d7 (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 41fd242a0685e79cb6f1b1e1826e6734bea2f359
Author: Yi He <yi.he(a)linaro.org>
Date: Mon Mar 12 16:38:37 2018 +0800
validation: scheduler: fix test_wait_time failure
Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=3675, the
elapsed time measurement could be enlarged unpredictably by inner
printf calls and exceed the upper limit of tolerance.
Signed-off-by: Yi He <yi.he(a)linaro.org>
Reviewed-by: Ola Liljedahl <ola.liljedahl(a)arm.com>
Reviewed-by: Brian Brooks <brian.brooks(a)arm.com>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/test/validation/api/scheduler/scheduler.c b/test/validation/api/scheduler/scheduler.c
index d5783b4d..f1b61dfd 100644
--- a/test/validation/api/scheduler/scheduler.c
+++ b/test/validation/api/scheduler/scheduler.c
@@ -175,10 +175,8 @@ static void scheduler_test_wait_time(void)
/* check time correctness */
start_time = odp_time_local();
- for (i = 1; i < 6; i++) {
+ for (i = 1; i < 6; i++)
odp_schedule(&queue, wait_time);
- printf("%d..", i);
- }
end_time = odp_time_local();
diff = odp_time_diff(end_time, start_time);
commit 35a90a547466db90c00d6375d8d9a3573e84e99b
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Wed Mar 14 00:58:58 2018 +0300
shippable: do not use huge pages
huge pages under docker are trickly also /dev/shm/ is limited
to 64Mb. Use different folder for shared memory files.
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
diff --git a/.shippable.yml b/.shippable.yml
index 9828ed52..6a6a5974 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -33,22 +33,20 @@ build:
options:
ci:
- - echo 1000 | sudo tee /proc/sys/vm/nr_hugepages
- - sudo mkdir -p /mnt/huge
- - sudo mount -t hugetlbfs nodev /mnt/huge
- - mkdir -p /dev/shm/odp
+ - mkdir -p $HOME/odp-shmdir
- ./bootstrap
- if [ "${CC#clang}" != "${CC}" ] ; then export CXX="${CC/clang/clang++}"; fi
- ./configure $CONF
- make -j $(nproc)
- - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=basic make check
+ - sudo env CI=true ODP_SHM_DIR=$HOME/odp-shmdir ODP_TEST_OUT_XML=yes ODP_SCHEDULER=basic make check
- ./scripts/shippable-post.sh basic
- - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=sp make check
+ - sudo env CI=true ODP_SHM_DIR=$HOME/odp-shmdir ODP_TEST_OUT_XML=yes ODP_SCHEDULER=sp make check
- ./scripts/shippable-post.sh sp
- - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=iquery make check
+ - sudo env CI=true ODP_SHM_DIR=$HOME/odp-shmdir ODP_TEST_OUT_XML=yes ODP_SCHEDULER=iquery make check
- ./scripts/shippable-post.sh iquery
- - sudo env CI=true ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes ODP_SCHEDULER=scalable make check
+ - sudo env CI=true ODP_SHM_DIR=$HOME/odp-shmdir ODP_TEST_OUT_XML=yes ODP_SCHEDULER=scalable make check
- ./scripts/shippable-post.sh scalable
+ - rm -rf $HOME/odp-shmdir
on_failure:
- ./scripts/shippable-post.sh
-----------------------------------------------------------------------
Summary of changes:
.shippable.yml | 14 ++++++--------
test/validation/api/scheduler/scheduler.c | 4 +---
2 files changed, 7 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, master has been updated
via 91282a4c578716f157aa8a5e0a9bf9bd25b19a17 (commit)
from e009051a0166fa25e601190354e0333aa30ad58d (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 91282a4c578716f157aa8a5e0a9bf9bd25b19a17
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Mon Mar 12 14:07:27 2018 +0200
configure: add check for 'xxd' tool
Add check for 'xxd' tool and list it in DEPENDENCIES file.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-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/DEPENDENCIES b/DEPENDENCIES
index b6765fec..2cd8ccb4 100644
--- a/DEPENDENCIES
+++ b/DEPENDENCIES
@@ -17,10 +17,12 @@ Prerequisites for building the OpenDataPlane (ODP) API
On CentOS/RedHat/Fedora systems:
$ sudo yum install automake autoconf libtool pkgconfig
-3. Required libraries
+3. Required packages
Libraries currently required to link: openssl, libatomic, libconfig
+ Required tools: xxd
+
3.1 OpenSSL native compile
For native compilation, simply load the necessary libraries using the appropriate
diff --git a/m4/odp_libconfig.m4 b/m4/odp_libconfig.m4
index 18275f07..632c271e 100644
--- a/m4/odp_libconfig.m4
+++ b/m4/odp_libconfig.m4
@@ -7,6 +7,14 @@ AC_DEFUN([ODP_LIBCONFIG],
##########################################################################
PKG_CHECK_MODULES([LIBCONFIG], [libconfig])
+##########################################################################
+# Check for xxd availability
+##########################################################################
+AC_CHECK_PROGS([XXD], [xxd])
+if test -z "$XXD";
+ then AC_MSG_ERROR([Could not find 'xxd'])
+fi
+
##########################################################################
# Create a header file odp_libconfig_config.h which containins null
# terminated hex dump of odp-linux.conf
-----------------------------------------------------------------------
Summary of changes:
DEPENDENCIES | 4 +++-
m4/odp_libconfig.m4 | 8 ++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
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 e009051a0166fa25e601190354e0333aa30ad58d (commit)
from 36f589b5a84804ce246bcd9a3eb9352801aaf41d (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 e009051a0166fa25e601190354e0333aa30ad58d
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Mon Mar 5 17:55:52 2018 +0300
build: make so numbering to be tied to ODP versions
We do not make any promises on ABI backwards compatibility, we have been
using -version-number instead of -version-info for ages, so affirm this
approach. Drop misleading comment and tie SO version numbers to ODP
relase numbers.
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 31f24aa8..08086d44 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,18 +28,17 @@ AM_SILENT_RULES([yes])
##########################################################################
# Set platform library version
#
-# Follow version rules described here:
-# https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info…
-# Version is Current:Revision:Age
-# 1. if there are only source changes, use C:R+1:A
-# 2. if interfaces were added use C+1:0:A+1
-# 3. if interfaces were removed, then use C+1:0:0
+# ODP does not promise backwards compatibility between releases, so we
+# just enforce major:minor:release as version number.
##########################################################################
-ODP_LIBSO_VERSION=118:0:0
+m4_define([odpso_version],
+ [odpapi_generation_version[]odpapi_major_version:odpapi_minor_version:odpapi_point_version])
+
+ODP_LIBSO_VERSION=odpso_version
AC_SUBST(ODP_LIBSO_VERSION)
-ODPHELPER_LIBSO_VERSION=114:0:2
+ODPHELPER_LIBSO_VERSION=odpso_version
AC_SUBST(ODPHELPER_LIBSO_VERSION)
# Checks for programs.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
hooks/post-receive
--