DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] ci: remove outdated default reference tag for ABI
@ 2022-02-08 13:47 Thomas Monjalon
  2022-02-08 15:08 ` Aaron Conole
  2022-03-01  9:56 ` [PATCH v2] ci: remove outdated default versions for ABI check Thomas Monjalon
  0 siblings, 2 replies; 8+ messages in thread
From: Thomas Monjalon @ 2022-02-08 13:47 UTC (permalink / raw)
  To: dev; +Cc: david.marchand, Aaron Conole, Michael Santana

The variable REF_GIT_TAG is set in the CI configuration
like .travis.yml or .github/workflows/build.yml.
The default value is outdated and probably unused.
It is removed completely to avoid forgetting an update in future.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 .ci/linux-build.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index c10c1a8ab5..25a7cae120 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -119,7 +119,6 @@ if [ "$ABI_CHECKS" = "true" ]; then
     export PATH=$(pwd)/libabigail/bin:$PATH
 
     REF_GIT_REPO=${REF_GIT_REPO:-https://dpdk.org/git/dpdk}
-    REF_GIT_TAG=${REF_GIT_TAG:-v19.11}
 
     if [ "$(cat reference/VERSION 2>/dev/null)" != "$REF_GIT_TAG" ]; then
         rm -rf reference
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] ci: remove outdated default reference tag for ABI
  2022-02-08 13:47 [PATCH] ci: remove outdated default reference tag for ABI Thomas Monjalon
@ 2022-02-08 15:08 ` Aaron Conole
  2022-02-08 22:03   ` Brandon Lo
  2022-02-09 13:37   ` Thomas Monjalon
  2022-03-01  9:56 ` [PATCH v2] ci: remove outdated default versions for ABI check Thomas Monjalon
  1 sibling, 2 replies; 8+ messages in thread
From: Aaron Conole @ 2022-02-08 15:08 UTC (permalink / raw)
  To: Thomas Monjalon
  Cc: dev, david.marchand, Michael Santana, Lincoln Lavoie, Owen Hilyard

Thomas Monjalon <thomas@monjalon.net> writes:

> The variable REF_GIT_TAG is set in the CI configuration
> like .travis.yml or .github/workflows/build.yml.
> The default value is outdated and probably unused.
> It is removed completely to avoid forgetting an update in future.
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> ---

I think the default was there for labs that run the build script
manually.  Maybe there are no such users, though.  I believe the lab has
its own script for doing such ABI checks (but can't remember off the top
of my head).

CC'd Lincoln and Owen just to confirm.

Assuming the UNH/other lab doesn't use this feature of the linux build
script,

Acked-by: Aaron Conole <aconole@redhat.com>


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] ci: remove outdated default reference tag for ABI
  2022-02-08 15:08 ` Aaron Conole
@ 2022-02-08 22:03   ` Brandon Lo
  2022-02-09 13:37   ` Thomas Monjalon
  1 sibling, 0 replies; 8+ messages in thread
From: Brandon Lo @ 2022-02-08 22:03 UTC (permalink / raw)
  To: Aaron Conole
  Cc: Thomas Monjalon, dev, David Marchand, Michael Santana,
	Lincoln Lavoie, Owen Hilyard

On Tue, Feb 8, 2022 at 10:09 AM Aaron Conole <aconole@redhat.com> wrote:
> I think the default was there for labs that run the build script
> manually.  Maybe there are no such users, though.  I believe the lab has
> its own script for doing such ABI checks (but can't remember off the top
> of my head).

Just confirming: the UNH lab does use our own separate script (which
calls the devtools check-abi.sh and gen-abi.sh scripts).


-- 
Brandon Lo
UNH InterOperability Laboratory
21 Madbury Rd, Suite 100, Durham, NH 03824
blo@iol.unh.edu
www.iol.unh.edu

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] ci: remove outdated default reference tag for ABI
  2022-02-08 15:08 ` Aaron Conole
  2022-02-08 22:03   ` Brandon Lo
@ 2022-02-09 13:37   ` Thomas Monjalon
  2022-02-09 14:04     ` David Marchand
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas Monjalon @ 2022-02-09 13:37 UTC (permalink / raw)
  To: dev
  Cc: david.marchand, Michael Santana, Lincoln Lavoie, Owen Hilyard,
	Aaron Conole

08/02/2022 16:08, Aaron Conole:
> Thomas Monjalon <thomas@monjalon.net> writes:
> 
> > The variable REF_GIT_TAG is set in the CI configuration
> > like .travis.yml or .github/workflows/build.yml.
> > The default value is outdated and probably unused.
> > It is removed completely to avoid forgetting an update in future.
> >
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> > ---
> 
> I think the default was there for labs that run the build script
> manually.  Maybe there are no such users, though.  I believe the lab has
> its own script for doing such ABI checks (but can't remember off the top
> of my head).
> 
> CC'd Lincoln and Owen just to confirm.
> 
> Assuming the UNH/other lab doesn't use this feature of the linux build
> script,
> 
> Acked-by: Aaron Conole <aconole@redhat.com>

I could also remove this variable:
LIBABIGAIL_VERSION=${LIBABIGAIL_VERSION:-libabigail-1.6}

It is confusing to see an old version here,
while we use the version 1.8.

If no objection, I'll send a v2.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] ci: remove outdated default reference tag for ABI
  2022-02-09 13:37   ` Thomas Monjalon
@ 2022-02-09 14:04     ` David Marchand
  0 siblings, 0 replies; 8+ messages in thread
From: David Marchand @ 2022-02-09 14:04 UTC (permalink / raw)
  To: Thomas Monjalon
  Cc: dev, Michael Santana, Lincoln Lavoie, Owen Hilyard, Aaron Conole

On Wed, Feb 9, 2022 at 2:38 PM Thomas Monjalon <thomas@monjalon.net> wrote:
>
> 08/02/2022 16:08, Aaron Conole:
> > Thomas Monjalon <thomas@monjalon.net> writes:
> >
> > > The variable REF_GIT_TAG is set in the CI configuration
> > > like .travis.yml or .github/workflows/build.yml.
> > > The default value is outdated and probably unused.
> > > It is removed completely to avoid forgetting an update in future.
> > >
> > > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> > > ---
> >
> > I think the default was there for labs that run the build script
> > manually.  Maybe there are no such users, though.  I believe the lab has
> > its own script for doing such ABI checks (but can't remember off the top
> > of my head).
> >
> > CC'd Lincoln and Owen just to confirm.
> >
> > Assuming the UNH/other lab doesn't use this feature of the linux build
> > script,
> >
> > Acked-by: Aaron Conole <aconole@redhat.com>
>
> I could also remove this variable:
> LIBABIGAIL_VERSION=${LIBABIGAIL_VERSION:-libabigail-1.6}
>
> It is confusing to see an old version here,
> while we use the version 1.8.
>
> If no objection, I'll send a v2.

+1.

-- 
David Marchand


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH v2] ci: remove outdated default versions for ABI check
  2022-02-08 13:47 [PATCH] ci: remove outdated default reference tag for ABI Thomas Monjalon
  2022-02-08 15:08 ` Aaron Conole
@ 2022-03-01  9:56 ` Thomas Monjalon
  2022-03-01 10:07   ` David Marchand
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas Monjalon @ 2022-03-01  9:56 UTC (permalink / raw)
  To: dev; +Cc: david.marchand, Aaron Conole, Michael Santana

The variables REF_GIT_TAG and LIBABIGAIL_VERSION are set
in the CI configuration like .travis.yml or .github/workflows/build.yml.
The default values are outdated and probably unused.

The default values are removed completely
to avoid forgetting an update in future.

The use of the variables is quoted to make sure
a missing value will trigger an appropriate failure.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Aaron Conole <aconole@redhat.com>
---
 .ci/linux-build.sh | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh
index 67d68535e0..05aa21ec69 100755
--- a/.ci/linux-build.sh
+++ b/.ci/linux-build.sh
@@ -104,8 +104,6 @@ if [ "$AARCH64" != "true" ] && [ "$PPC64LE" != "true" ]; then
 fi
 
 if [ "$ABI_CHECKS" = "true" ]; then
-    LIBABIGAIL_VERSION=${LIBABIGAIL_VERSION:-libabigail-1.6}
-
     if [ "$(cat libabigail/VERSION 2>/dev/null)" != "$LIBABIGAIL_VERSION" ]; then
         rm -rf libabigail
         # if we change libabigail, invalidate existing abi cache
@@ -113,14 +111,13 @@ if [ "$ABI_CHECKS" = "true" ]; then
     fi
 
     if [ ! -d libabigail ]; then
-        install_libabigail $LIBABIGAIL_VERSION $(pwd)/libabigail
+        install_libabigail "$LIBABIGAIL_VERSION" $(pwd)/libabigail
         echo $LIBABIGAIL_VERSION > libabigail/VERSION
     fi
 
     export PATH=$(pwd)/libabigail/bin:$PATH
 
     REF_GIT_REPO=${REF_GIT_REPO:-https://dpdk.org/git/dpdk}
-    REF_GIT_TAG=${REF_GIT_TAG:-v19.11}
 
     if [ "$(cat reference/VERSION 2>/dev/null)" != "$REF_GIT_TAG" ]; then
         rm -rf reference
@@ -128,7 +125,7 @@ if [ "$ABI_CHECKS" = "true" ]; then
 
     if [ ! -d reference ]; then
         refsrcdir=$(readlink -f $(pwd)/../dpdk-$REF_GIT_TAG)
-        git clone --single-branch -b $REF_GIT_TAG $REF_GIT_REPO $refsrcdir
+        git clone --single-branch -b "$REF_GIT_TAG" $REF_GIT_REPO $refsrcdir
         meson $OPTS -Dexamples= $refsrcdir $refsrcdir/build
         ninja -C $refsrcdir/build
         DESTDIR=$(pwd)/reference ninja -C $refsrcdir/build install
-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] ci: remove outdated default versions for ABI check
  2022-03-01  9:56 ` [PATCH v2] ci: remove outdated default versions for ABI check Thomas Monjalon
@ 2022-03-01 10:07   ` David Marchand
  2022-03-06  9:27     ` Thomas Monjalon
  0 siblings, 1 reply; 8+ messages in thread
From: David Marchand @ 2022-03-01 10:07 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev, Aaron Conole, Michael Santana

On Tue, Mar 1, 2022 at 10:57 AM Thomas Monjalon <thomas@monjalon.net> wrote:
>
> The variables REF_GIT_TAG and LIBABIGAIL_VERSION are set
> in the CI configuration like .travis.yml or .github/workflows/build.yml.
> The default values are outdated and probably unused.
>
> The default values are removed completely
> to avoid forgetting an update in future.
>
> The use of the variables is quoted to make sure
> a missing value will trigger an appropriate failure.
>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> Acked-by: Aaron Conole <aconole@redhat.com>
Acked-by: David Marchand <david.marchand@redhat.com>


-- 
David Marchand


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2] ci: remove outdated default versions for ABI check
  2022-03-01 10:07   ` David Marchand
@ 2022-03-06  9:27     ` Thomas Monjalon
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Monjalon @ 2022-03-06  9:27 UTC (permalink / raw)
  To: dev; +Cc: Aaron Conole, Michael Santana, David Marchand

01/03/2022 11:07, David Marchand:
> On Tue, Mar 1, 2022 at 10:57 AM Thomas Monjalon <thomas@monjalon.net> wrote:
> >
> > The variables REF_GIT_TAG and LIBABIGAIL_VERSION are set
> > in the CI configuration like .travis.yml or .github/workflows/build.yml.
> > The default values are outdated and probably unused.
> >
> > The default values are removed completely
> > to avoid forgetting an update in future.
> >
> > The use of the variables is quoted to make sure
> > a missing value will trigger an appropriate failure.
> >
> > Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> > Acked-by: Aaron Conole <aconole@redhat.com>
> Acked-by: David Marchand <david.marchand@redhat.com>

Applied




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-06  9:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-08 13:47 [PATCH] ci: remove outdated default reference tag for ABI Thomas Monjalon
2022-02-08 15:08 ` Aaron Conole
2022-02-08 22:03   ` Brandon Lo
2022-02-09 13:37   ` Thomas Monjalon
2022-02-09 14:04     ` David Marchand
2022-03-01  9:56 ` [PATCH v2] ci: remove outdated default versions for ABI check Thomas Monjalon
2022-03-01 10:07   ` David Marchand
2022-03-06  9:27     ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).